Class AgentcoreApiKeyCredentialProviderArgs.Builder

    • Method Detail

      • apiKey

        public AgentcoreApiKeyCredentialProviderArgs.Builder apiKey​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> apiKey)
        Parameters:
        apiKey - 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.
        Returns:
        builder
      • apiKey

        public AgentcoreApiKeyCredentialProviderArgs.Builder apiKey​(java.lang.String apiKey)
        Parameters:
        apiKey - 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.
        Returns:
        builder
      • apiKeySecretSource

        public AgentcoreApiKeyCredentialProviderArgs.Builder apiKeySecretSource​(@Nullable
                                                                                com.pulumi.core.Output<java.lang.String> apiKeySecretSource)
        Parameters:
        apiKeySecretSource - 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.
        Returns:
        builder
      • apiKeySecretSource

        public AgentcoreApiKeyCredentialProviderArgs.Builder apiKeySecretSource​(java.lang.String apiKeySecretSource)
        Parameters:
        apiKeySecretSource - 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.
        Returns:
        builder
      • apiKeyWo

        public AgentcoreApiKeyCredentialProviderArgs.Builder apiKeyWo​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> apiKeyWo)
        Parameters:
        apiKeyWo - **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.
        Returns:
        builder
      • apiKeyWo

        public AgentcoreApiKeyCredentialProviderArgs.Builder apiKeyWo​(java.lang.String apiKeyWo)
        Parameters:
        apiKeyWo - **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.
        Returns:
        builder
      • apiKeyWoVersion

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

        public AgentcoreApiKeyCredentialProviderArgs.Builder apiKeyWoVersion​(java.lang.Integer apiKeyWoVersion)
        Parameters:
        apiKeyWoVersion - Version used together with the write-only API key. Required when `apiKeyWo` is set. Changing this value triggers an update to `apiKeyWo`.
        Returns:
        builder
      • name

        public AgentcoreApiKeyCredentialProviderArgs.Builder name​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the API Key credential provider. Forces replacement when changed. The following arguments are optional:
        Returns:
        builder
      • name

        public AgentcoreApiKeyCredentialProviderArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the API Key credential provider. Forces replacement when changed. The following arguments are optional:
        Returns:
        builder
      • region

        public AgentcoreApiKeyCredentialProviderArgs.Builder region​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - 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.
        Returns:
        builder
      • region

        public AgentcoreApiKeyCredentialProviderArgs.Builder region​(java.lang.String region)
        Parameters:
        region - 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.
        Returns:
        builder
      • tags

        public AgentcoreApiKeyCredentialProviderArgs.Builder tags​(@Nullable
                                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - 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.
        Returns:
        builder
      • tags

        public AgentcoreApiKeyCredentialProviderArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - 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.
        Returns:
        builder