Class ApiKeyCredentialProviderProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrockagentcore.ApiKeyCredentialProviderProps.Jsii$Proxy
All Implemented Interfaces:
ApiKeyCredentialProviderProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ApiKeyCredentialProviderProps

@Stability(Stable) @Internal public static final class ApiKeyCredentialProviderProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiKeyCredentialProviderProps
An implementation for ApiKeyCredentialProviderProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ApiKeyCredentialProviderProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ApiKeyCredentialProviderProps.Builder.
  • Method Details

    • getApiKey

      public final SecretValue getApiKey()
      Description copied from interface: ApiKeyCredentialProviderProps
      The API key value.

      NOTE: The API key will be included in the CloudFormation template as part of synthesis. The service stores the key in Secrets Manager after creation, but the value is visible in the template and deployment history. Use SecretValue.unsafePlainText() to explicitly acknowledge plaintext, or pass a reference from another construct to avoid embedding the literal value.

      If omitted, you can supply the key through another mechanism supported by the service.

      Default: - no key in template (provider may still be created depending on service behavior)

      Specified by:
      getApiKey in interface ApiKeyCredentialProviderProps
    • getApiKeyCredentialProviderName

      public final String getApiKeyCredentialProviderName()
      Description copied from interface: ApiKeyCredentialProviderProps
      Name of the credential provider.

      Default: a name generated by CDK

      Specified by:
      getApiKeyCredentialProviderName in interface ApiKeyCredentialProviderProps
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: ApiKeyCredentialProviderProps
      Tags for this credential provider.

      Default: - no tags

      Specified by:
      getTags in interface ApiKeyCredentialProviderProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object