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