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)

62 lines (61 loc) 2.32 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider */ export declare function getOAuth2CredentialProvider(args: GetOAuth2CredentialProviderArgs, opts?: pulumi.InvokeOptions): Promise<GetOAuth2CredentialProviderResult>; export interface GetOAuth2CredentialProviderArgs { /** * The Amazon Resource Name (ARN) of the OAuth2 credential provider */ credentialProviderArn: string; } export interface GetOAuth2CredentialProviderResult { /** * The callback URL for the OAuth2 authorization flow */ readonly callbackUrl?: string; /** * The ARN of the client secret in AWS Secrets Manager */ readonly clientSecretArn?: outputs.bedrockagentcore.OAuth2CredentialProviderClientSecretArn; /** * The JSON key within the secret that contains the client secret value */ readonly clientSecretJsonKey?: string; /** * The source of the client secret */ readonly clientSecretSource?: enums.bedrockagentcore.OAuth2CredentialProviderClientSecretSource; /** * The timestamp when the credential provider was created */ readonly createdTime?: string; /** * The Amazon Resource Name (ARN) of the OAuth2 credential provider */ readonly credentialProviderArn?: string; /** * The timestamp when the credential provider was last updated */ readonly lastUpdatedTime?: string; /** * The output configuration for the OAuth2 provider */ readonly oauth2ProviderConfigOutput?: outputs.bedrockagentcore.OAuth2CredentialProviderOauth2ProviderConfigOutput; /** * Tags to assign to the OAuth2 credential provider */ readonly tags?: outputs.Tag[]; } /** * Resource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider */ export declare function getOAuth2CredentialProviderOutput(args: GetOAuth2CredentialProviderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOAuth2CredentialProviderResult>; export interface GetOAuth2CredentialProviderOutputArgs { /** * The Amazon Resource Name (ARN) of the OAuth2 credential provider */ credentialProviderArn: pulumi.Input<string>; }