Interface ApiKeyCredentialProviderAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ApiKeyCredentialProviderAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-19T08:18:44.218Z") @Stability(Stable) public interface ApiKeyCredentialProviderAttributes extends software.amazon.jsii.JsiiSerializable
Attributes for importing an existing API key credential provider.

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.*;
 ApiKeyCredentialProviderAttributes apiKeyCredentialProviderAttributes = ApiKeyCredentialProviderAttributes.builder()
         .credentialProviderArn("credentialProviderArn")
         // the properties below are optional
         .apiKeySecretArn("apiKeySecretArn")
         .createdTime("createdTime")
         .lastUpdatedTime("lastUpdatedTime")
         .build();
 
  • Method Details

    • getCredentialProviderArn

      @Stability(Stable) @NotNull String getCredentialProviderArn()
      ARN of the credential provider.
    • getApiKeySecretArn

      @Stability(Stable) @Nullable default String getApiKeySecretArn()
      ARN of the Secrets Manager secret for the API key, if known.

      Default: - not set; required for

      invalid reference
      ApiKeyCredentialProvider.bindForGatewayApiKeyTarget
      on imported providers
    • getCreatedTime

      @Stability(Stable) @Nullable default String getCreatedTime()
      Resource creation time.

      Default: - not set

    • getLastUpdatedTime

      @Stability(Stable) @Nullable default String getLastUpdatedTime()
      Resource last-updated time.

      Default: - not set

    • builder

      @Stability(Stable) static ApiKeyCredentialProviderAttributes.Builder builder()
      Returns:
      a ApiKeyCredentialProviderAttributes.Builder of ApiKeyCredentialProviderAttributes