Interface CfnGatewayTargetPropsMixin.CredentialProviderConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTargetPropsMixin.CredentialProviderConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTargetPropsMixin
@Stability(Stable)
public static interface CfnGatewayTargetPropsMixin.CredentialProviderConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The credential provider configuration for the gateway target.
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.*;
CredentialProviderConfigurationProperty credentialProviderConfigurationProperty = CredentialProviderConfigurationProperty.builder()
.credentialProvider(CredentialProviderProperty.builder()
.apiKeyCredentialProvider(ApiKeyCredentialProviderProperty.builder()
.credentialLocation("credentialLocation")
.credentialParameterName("credentialParameterName")
.credentialPrefix("credentialPrefix")
.providerArn("providerArn")
.build())
.oauthCredentialProvider(OAuthCredentialProviderProperty.builder()
.customParameters(Map.of(
"customParametersKey", "customParameters"))
.defaultReturnUrl("defaultReturnUrl")
.grantType("grantType")
.providerArn("providerArn")
.scopes(List.of("scopes"))
.build())
.build())
.credentialProviderType("credentialProviderType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGatewayTargetPropsMixin.CredentialProviderConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentialProvider
The credential provider for the gateway target.Returns union: either
IResolvableorCfnGatewayTargetPropsMixin.CredentialProviderProperty- See Also:
-
getCredentialProviderType
The credential provider type for the gateway target.- See Also:
-
builder
@Stability(Stable) static CfnGatewayTargetPropsMixin.CredentialProviderConfigurationProperty.Builder builder()
-