Interface CfnGatewayTarget.CredentialProviderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTarget.CredentialProviderProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTarget
@Stability(Stable)
public static interface CfnGatewayTarget.CredentialProviderProperty
extends software.amazon.jsii.JsiiSerializable
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.*; CredentialProviderProperty credentialProviderProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGatewayTarget.CredentialProviderProperty
static final class
An implementation forCfnGatewayTarget.CredentialProviderProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiKeyCredentialProvider
The API key credential provider.- See Also:
-
getOauthCredentialProvider
The OAuth credential provider for the gateway target.- See Also:
-
builder
-