Class AgentcoreApiKeyCredentialProviderState.Builder

    • Method Detail

      • apiKey

        public AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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
      • credentialProviderArn

        public AgentcoreApiKeyCredentialProviderState.Builder credentialProviderArn​(@Nullable
                                                                                    com.pulumi.core.Output<java.lang.String> credentialProviderArn)
        Parameters:
        credentialProviderArn - ARN of the API Key credential provider.
        Returns:
        builder
      • credentialProviderArn

        public AgentcoreApiKeyCredentialProviderState.Builder credentialProviderArn​(java.lang.String credentialProviderArn)
        Parameters:
        credentialProviderArn - ARN of the API Key credential provider.
        Returns:
        builder
      • name

        public AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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 AgentcoreApiKeyCredentialProviderState.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
      • tagsAll

        public AgentcoreApiKeyCredentialProviderState.Builder tagsAll​(@Nullable
                                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public AgentcoreApiKeyCredentialProviderState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder