Interface IOAuth2CredentialProvider.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGrantable,IGrantable.Jsii$Default,IOAuth2CredentialProvider,IOAuth2CredentialProviderRef,IOAuth2CredentialProviderRef.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IOAuth2CredentialProvider.Jsii$Proxy
- Enclosing interface:
IOAuth2CredentialProvider
@Internal
public static interface IOAuth2CredentialProvider.Jsii$Default
extends IOAuth2CredentialProvider, IResource.Jsii$Default, IOAuth2CredentialProviderRef.Jsii$Default, IGrantable.Jsii$Default
Internal default implementation for
IOAuth2CredentialProvider.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrockagentcore.IOAuth2CredentialProvider
IOAuth2CredentialProvider.Jsii$Default, IOAuth2CredentialProvider.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IOAuth2CredentialProviderRef
IOAuth2CredentialProviderRef.Jsii$Default, IOAuth2CredentialProviderRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault GatewayOAuth2IdentityBindingbindForGatewayOAuthTarget(List<String> scopes) ARNs and OAuth scopes for gateway targets (GatewayCredentialProvider.fromOauthIdentityorfromOauthIdentityArn).default GatewayOAuth2IdentityBindingARNs and OAuth scopes for gateway targets (GatewayCredentialProvider.fromOauthIdentityorfromOauthIdentityArn).default StringCallback URL for the OAuth2 authorization flow.default StringThe ARN of the Secrets Manager secret for the OAuth2 client credentials.default StringTimestamp when the credential provider was created.default StringThe ARN of this credential provider.default StringOAuth2 vendor string passed to CloudFormation.default StringTimestamp when the credential provider was last updated.default Grantgrant(IGrantable grantee, String... actions) Grants IAM actions to the IAM principal.default GrantgrantAdmin(IGrantable grantee) Grant control plane permissions to manage this provider.default GrantgrantFullAccess(IGrantable grantee) Grant read, admin, and token retrieval permissions.default GrantgrantRead(IGrantable grantee) GrantGetOauth2CredentialProviderandListOauth2CredentialProviders, scoped to this provider and parent resources required by the Bedrock AgentCore authorization model.default GrantgrantUse(IGrantable grantee) Grant permission to retrieve OAuth tokens (GetResourceOauth2Token,CompleteResourceTokenAuth).Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable.Jsii$Default
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IOAuth2CredentialProviderRef.Jsii$Default
getOAuth2CredentialProviderRefMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentialProviderArn
The ARN of this credential provider.- Specified by:
getCredentialProviderArnin interfaceIOAuth2CredentialProvider
-
getCredentialProviderVendor
OAuth2 vendor string passed to CloudFormation.- Specified by:
getCredentialProviderVendorin interfaceIOAuth2CredentialProvider
-
getCallbackUrl
Callback URL for the OAuth2 authorization flow.- Specified by:
getCallbackUrlin interfaceIOAuth2CredentialProvider
-
getClientSecretArn
The ARN of the Secrets Manager secret for the OAuth2 client credentials.May be undefined for resources imported without this attribute.
- Specified by:
getClientSecretArnin interfaceIOAuth2CredentialProvider
-
getCreatedTime
Timestamp when the credential provider was created.- Specified by:
getCreatedTimein interfaceIOAuth2CredentialProvider
-
getLastUpdatedTime
Timestamp when the credential provider was last updated.- Specified by:
getLastUpdatedTimein interfaceIOAuth2CredentialProvider
-
bindForGatewayOAuthTarget
@Stability(Stable) @NotNull default GatewayOAuth2IdentityBinding bindForGatewayOAuthTarget(@NotNull List<String> scopes, @Nullable Map<String, String> customParameters) ARNs and OAuth scopes for gateway targets (GatewayCredentialProvider.fromOauthIdentityorfromOauthIdentityArn).- Specified by:
bindForGatewayOAuthTargetin interfaceIOAuth2CredentialProvider- Parameters:
scopes- This parameter is required.customParameters-
-
bindForGatewayOAuthTarget
@Stability(Stable) @NotNull default GatewayOAuth2IdentityBinding bindForGatewayOAuthTarget(@NotNull List<String> scopes) ARNs and OAuth scopes for gateway targets (GatewayCredentialProvider.fromOauthIdentityorfromOauthIdentityArn).- Specified by:
bindForGatewayOAuthTargetin interfaceIOAuth2CredentialProvider- Parameters:
scopes- This parameter is required.
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Grants IAM actions to the IAM principal.- Specified by:
grantin interfaceIOAuth2CredentialProvider- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantAdmin
Grant control plane permissions to manage this provider.- Specified by:
grantAdminin interfaceIOAuth2CredentialProvider- Parameters:
grantee- This parameter is required.
-
grantFullAccess
Grant read, admin, and token retrieval permissions.- Specified by:
grantFullAccessin interfaceIOAuth2CredentialProvider- Parameters:
grantee- This parameter is required.
-
grantRead
GrantGetOauth2CredentialProviderandListOauth2CredentialProviders, scoped to this provider and parent resources required by the Bedrock AgentCore authorization model.- Specified by:
grantReadin interfaceIOAuth2CredentialProvider- Parameters:
grantee- This parameter is required.
-
grantUse
Grant permission to retrieve OAuth tokens (GetResourceOauth2Token,CompleteResourceTokenAuth).- Specified by:
grantUsein interfaceIOAuth2CredentialProvider- Parameters:
grantee- This parameter is required.
-