Interface CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProviderPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.*;
CustomOauth2ProviderConfigInputProperty customOauth2ProviderConfigInputProperty = CustomOauth2ProviderConfigInputProperty.builder()
.clientAuthenticationMethod("clientAuthenticationMethod")
.clientId("clientId")
.clientSecret("clientSecret")
.clientSecretConfig(SecretReferenceProperty.builder()
.jsonKey("jsonKey")
.secretId("secretId")
.build())
.clientSecretSource("clientSecretSource")
.oauthDiscovery(Oauth2DiscoveryProperty.builder()
.authorizationServerMetadata(Oauth2AuthorizationServerMetadataProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.issuer("issuer")
.responseTypes(List.of("responseTypes"))
.tokenEndpoint("tokenEndpoint")
.build())
.discoveryUrl("discoveryUrl")
.build())
.onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigProperty.builder()
.grantType("grantType")
.tokenExchangeGrantTypeConfig(TokenExchangeGrantTypeConfigProperty.builder()
.actorTokenContent("actorTokenContent")
.actorTokenScopes(List.of("actorTokenScopes"))
.build())
.build())
.privateEndpoint(PrivateEndpointProperty.builder()
.managedVpcResource(ManagedVpcResourceProperty.builder()
.endpointIpAddressType("endpointIpAddressType")
.routingDomain("routingDomain")
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.tags(Map.of(
"tagsKey", "tags"))
.vpcIdentifier("vpcIdentifier")
.build())
.selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
.resourceConfigurationIdentifier("resourceConfigurationIdentifier")
.build())
.build())
.privateEndpointOverrides(List.of(PrivateEndpointOverrideProperty.builder()
.domain("domain")
.privateEndpoint(PrivateEndpointProperty.builder()
.managedVpcResource(ManagedVpcResourceProperty.builder()
.endpointIpAddressType("endpointIpAddressType")
.routingDomain("routingDomain")
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.tags(Map.of(
"tagsKey", "tags"))
.vpcIdentifier("vpcIdentifier")
.build())
.selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
.resourceConfigurationIdentifier("resourceConfigurationIdentifier")
.build())
.build())
.build()))
.privateKeyJwtConfig(PrivateKeyJwtConfigProperty.builder()
.additionalHeaderClaims(Map.of(
"additionalHeaderClaimsKey", "additionalHeaderClaims"))
.additionalPayloadClaims(Map.of(
"additionalPayloadClaimsKey", "additionalPayloadClaims"))
.privateKeySource(PrivateKeySourceProperty.builder()
.kmsKeySource(KmsKeySourceTypeProperty.builder()
.kmsKeyArn("kmsKeyArn")
.build())
.build())
.signingAlgorithm("signingAlgorithm")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe client authentication method to use when authenticating with the token endpoint.default StringThe client ID for the custom OAuth2 provider.default StringThe client secret for the custom OAuth2 provider.default ObjectA reference to a customer-provided secret stored in AWS Secrets Manager.default StringThe source of the client secret.default ObjectDiscovery information for an OAuth2 provider.default ObjectConfiguration for on-behalf-of token exchange.default ObjectThe private endpoint configuration for connecting to private resources in your VPC.default ObjectA list of private endpoint overrides.default ObjectConfiguration for private_key_jwt client authentication (RFC 7523).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientAuthenticationMethod
The client authentication method to use when authenticating with the token endpoint.- See Also:
-
getClientId
The client ID for the custom OAuth2 provider.- See Also:
-
getClientSecret
The client secret for the custom OAuth2 provider.- See Also:
-
getClientSecretConfig
A reference to a customer-provided secret stored in AWS Secrets Manager.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.SecretReferenceProperty- See Also:
-
getClientSecretSource
The source of the client secret.- See Also:
-
getOauthDiscovery
Discovery information for an OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.Oauth2DiscoveryProperty- See Also:
-
getOnBehalfOfTokenExchangeConfig
Configuration for on-behalf-of token exchange.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.OnBehalfOfTokenExchangeConfigProperty- See Also:
-
getPrivateEndpoint
The private endpoint configuration for connecting to private resources in your VPC.Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.PrivateEndpointProperty- See Also:
-
getPrivateEndpointOverrides
A list of private endpoint overrides.Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnOAuth2CredentialProviderPropsMixin.PrivateEndpointOverrideProperty>- See Also:
-
getPrivateKeyJwtConfig
Configuration for private_key_jwt client authentication (RFC 7523).Returns union: either
IResolvableorCfnOAuth2CredentialProviderPropsMixin.PrivateKeyJwtConfigProperty- See Also:
-
builder
@Stability(Stable) static CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty.Builder builder()
-