Interface CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProvider
@Stability(Stable)
public static interface CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty
extends software.amazon.jsii.JsiiSerializable
Output configuration for an OAuth2 provider.
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.*;
Oauth2ProviderConfigOutputProperty oauth2ProviderConfigOutputProperty = Oauth2ProviderConfigOutputProperty.builder()
.clientAuthenticationMethod("clientAuthenticationMethod")
.clientId("clientId")
.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())
.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.Oauth2ProviderConfigOutputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe client authentication method used when authenticating with the token endpoint.default Stringdefault 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 ObjectThe list of private endpoint overrides for the OAuth2 provider.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 used when authenticating with the token endpoint.- See Also:
-
getClientId
- See Also:
-
getOauthDiscovery
Discovery information for an OAuth2 provider.Returns union: either
IResolvableorCfnOAuth2CredentialProvider.Oauth2DiscoveryProperty- 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
The list of private endpoint overrides for the OAuth2 provider.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.Oauth2ProviderConfigOutputProperty.Builder builder()
-