Interface CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProvider
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
CustomOauth2ProviderConfigInputProperty customOauth2ProviderConfigInputProperty = CustomOauth2ProviderConfigInputProperty.builder()
.oauthDiscovery(Oauth2DiscoveryProperty.builder()
.authorizationServerMetadata(Oauth2AuthorizationServerMetadataProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.issuer("issuer")
.tokenEndpoint("tokenEndpoint")
// the properties below are optional
.responseTypes(List.of("responseTypes"))
.build())
.discoveryUrl("discoveryUrl")
.build())
// the properties below are optional
.clientAuthenticationMethod("clientAuthenticationMethod")
.clientId("clientId")
.clientSecret("clientSecret")
.clientSecretConfig(SecretReferenceProperty.builder()
.jsonKey("jsonKey")
.secretId("secretId")
.build())
.clientSecretSource("clientSecretSource")
.onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigProperty.builder()
.grantType("grantType")
// the properties below are optional
.tokenExchangeGrantTypeConfig(TokenExchangeGrantTypeConfigProperty.builder()
.actorTokenContent("actorTokenContent")
// the properties below are optional
.actorTokenScopes(List.of("actorTokenScopes"))
.build())
.build())
.privateEndpoint(PrivateEndpointProperty.builder()
.managedVpcResource(ManagedVpcResourceProperty.builder()
.endpointIpAddressType("endpointIpAddressType")
.subnetIds(List.of("subnetIds"))
.vpcIdentifier("vpcIdentifier")
// the properties below are optional
.routingDomain("routingDomain")
.securityGroupIds(List.of("securityGroupIds"))
.tags(Map.of(
"tagsKey", "tags"))
.build())
.selfManagedLatticeResource(SelfManagedLatticeResourceProperty.builder()
.resourceConfigurationIdentifier("resourceConfigurationIdentifier")
.build())
.build())
.privateEndpointOverrides(List.of(PrivateEndpointOverrideProperty.builder()
.domain("domain")
.privateEndpoint(PrivateEndpointProperty.builder()
.managedVpcResource(ManagedVpcResourceProperty.builder()
.endpointIpAddressType("endpointIpAddressType")
.subnetIds(List.of("subnetIds"))
.vpcIdentifier("vpcIdentifier")
// the properties below are optional
.routingDomain("routingDomain")
.securityGroupIds(List.of("securityGroupIds"))
.tags(Map.of(
"tagsKey", "tags"))
.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 forCfnOAuth2CredentialProvider.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.Discovery 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
-
getOauthDiscovery
Discovery information for an OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProvider.Oauth2DiscoveryProperty- See Also:
-
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
IResolvableorCfnOAuth2CredentialProvider.SecretReferenceProperty- See Also:
-
getClientSecretSource
The source of the client secret.- See Also:
-
getOnBehalfOfTokenExchangeConfig
Configuration for on-behalf-of token exchange.Returns union: either
IResolvableorCfnOAuth2CredentialProvider.OnBehalfOfTokenExchangeConfigProperty- See Also:
-
getPrivateEndpoint
The private endpoint configuration for connecting to private resources in your VPC.Returns union: either
IResolvableorCfnOAuth2CredentialProvider.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: '<'eitherIResolvableorCfnOAuth2CredentialProvider.PrivateEndpointOverrideProperty>- See Also:
-
getPrivateKeyJwtConfig
Configuration for private_key_jwt client authentication (RFC 7523).Returns union: either
IResolvableorCfnOAuth2CredentialProvider.PrivateKeyJwtConfigProperty- See Also:
-
builder
@Stability(Stable) static CfnOAuth2CredentialProvider.CustomOauth2ProviderConfigInputProperty.Builder builder()
-