UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

101 lines (100 loc) 4.22 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider */ export declare class OAuth2CredentialProvider extends pulumi.CustomResource { /** * Get an existing OAuth2CredentialProvider resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OAuth2CredentialProvider; /** * Returns true if the given object is an instance of OAuth2CredentialProvider. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OAuth2CredentialProvider; /** * The callback URL for the OAuth2 authorization flow */ readonly callbackUrl: pulumi.Output<string>; /** * The ARN of the client secret in AWS Secrets Manager */ readonly clientSecretArn: pulumi.Output<outputs.bedrockagentcore.OAuth2CredentialProviderClientSecretArn>; /** * The JSON key within the secret that contains the client secret value */ readonly clientSecretJsonKey: pulumi.Output<string>; /** * The source of the client secret */ readonly clientSecretSource: pulumi.Output<enums.bedrockagentcore.OAuth2CredentialProviderClientSecretSource>; /** * The timestamp when the credential provider was created */ readonly createdTime: pulumi.Output<string>; /** * The Amazon Resource Name (ARN) of the OAuth2 credential provider */ readonly credentialProviderArn: pulumi.Output<string>; /** * The vendor of the OAuth2 credential provider */ readonly credentialProviderVendor: pulumi.Output<enums.bedrockagentcore.OAuth2CredentialProviderCredentialProviderVendor>; /** * The timestamp when the credential provider was last updated */ readonly lastUpdatedTime: pulumi.Output<string>; /** * The name of the OAuth2 credential provider */ readonly name: pulumi.Output<string>; /** * The configuration settings for the OAuth2 provider */ readonly oauth2ProviderConfigInput: pulumi.Output<outputs.bedrockagentcore.OAuth2CredentialProviderOauth2ProviderConfigInput | undefined>; /** * The output configuration for the OAuth2 provider */ readonly oauth2ProviderConfigOutput: pulumi.Output<outputs.bedrockagentcore.OAuth2CredentialProviderOauth2ProviderConfigOutput>; /** * Tags to assign to the OAuth2 credential provider */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a OAuth2CredentialProvider resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OAuth2CredentialProviderArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OAuth2CredentialProvider resource. */ export interface OAuth2CredentialProviderArgs { /** * The vendor of the OAuth2 credential provider */ credentialProviderVendor: pulumi.Input<enums.bedrockagentcore.OAuth2CredentialProviderCredentialProviderVendor>; /** * The name of the OAuth2 credential provider */ name?: pulumi.Input<string>; /** * The configuration settings for the OAuth2 provider */ oauth2ProviderConfigInput?: pulumi.Input<inputs.bedrockagentcore.OAuth2CredentialProviderOauth2ProviderConfigInputArgs>; /** * Tags to assign to the OAuth2 credential provider */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }