Class AgentcoreApiKeyCredentialProviderState


  • public final class AgentcoreApiKeyCredentialProviderState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • apiKey

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> apiKey()
        Returns:
        API key value. Exactly one of `apiKey`, `apiKeySecretConfig`, or `apiKeyWo` must be set. This value is stored in plain text in the Terraform state; use `apiKeyWo` to avoid this.
      • apiKeySecretConfig

        public java.util.Optional<com.pulumi.core.Output<AgentcoreApiKeyCredentialProviderApiKeySecretConfigArgs>> apiKeySecretConfig()
        Returns:
        Reference to a customer-managed AWS Secrets Manager secret that stores the API key. Requires `apiKeySecretSource = "EXTERNAL"`. See below.
      • apiKeySecretSource

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> apiKeySecretSource()
        Returns:
        Source of the secret backing the credential provider. Valid values are `MANAGED` (AgentCore creates and manages the secret from the supplied `apiKey`) and `EXTERNAL` (the provider references a customer-managed AWS Secrets Manager secret via `apiKeySecretConfig`). Changing between `MANAGED` and `EXTERNAL` forces replacement of the resource.
      • apiKeyWo

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> apiKeyWo()
        Returns:
        **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only API key value. Conflicts with `apiKey` and `apiKeySecretConfig`. If set, requires `apiKeyWoVersion` to be set.
      • apiKeyWoVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> apiKeyWoVersion()
        Returns:
        Version used together with the write-only API key. Required when `apiKeyWo` is set. Changing this value triggers an update to `apiKeyWo`.
      • credentialProviderArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> credentialProviderArn()
        Returns:
        ARN of the API Key credential provider.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the API Key credential provider. Forces replacement when changed. The following arguments are optional:
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.