Interface CfnOAuth2CredentialProvider.SecretReferenceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOAuth2CredentialProvider.SecretReferenceProperty.Jsii$Proxy
- Enclosing class:
CfnOAuth2CredentialProvider
@Stability(Stable)
public static interface CfnOAuth2CredentialProvider.SecretReferenceProperty
extends software.amazon.jsii.JsiiSerializable
A reference to a customer-provided secret stored in AWS Secrets Manager.
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.*;
SecretReferenceProperty secretReferenceProperty = SecretReferenceProperty.builder()
.jsonKey("jsonKey")
.secretId("secretId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOAuth2CredentialProvider.SecretReferencePropertystatic final classAn implementation forCfnOAuth2CredentialProvider.SecretReferenceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The JSON key within the secret that contains the credential value.The ID or ARN of the secret in AWS Secrets Manager.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJsonKey
The JSON key within the secret that contains the credential value.- See Also:
-
getSecretId
The ID or ARN of the secret in AWS Secrets Manager.- See Also:
-
builder
-