Package com.pulumi.aws.bedrock
Class AgentcoreApiKeyCredentialProviderArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.bedrock.AgentcoreApiKeyCredentialProviderArgs
-
public final class AgentcoreApiKeyCredentialProviderArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgentcoreApiKeyCredentialProviderArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static AgentcoreApiKeyCredentialProviderArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>apiKey()java.util.Optional<com.pulumi.core.Output<AgentcoreApiKeyCredentialProviderApiKeySecretConfigArgs>>apiKeySecretConfig()java.util.Optional<com.pulumi.core.Output<java.lang.String>>apiKeySecretSource()java.util.Optional<com.pulumi.core.Output<java.lang.String>>apiKeyWo()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>apiKeyWoVersion()static AgentcoreApiKeyCredentialProviderArgs.Builderbuilder()static AgentcoreApiKeyCredentialProviderArgs.Builderbuilder(AgentcoreApiKeyCredentialProviderArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tags()
-
-
-
Field Detail
-
Empty
public static final AgentcoreApiKeyCredentialProviderArgs Empty
-
-
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`.
-
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.
-
builder
public static AgentcoreApiKeyCredentialProviderArgs.Builder builder()
-
builder
public static AgentcoreApiKeyCredentialProviderArgs.Builder builder(AgentcoreApiKeyCredentialProviderArgs defaults)
-
-