Class AgentcoreGatewayState.Builder

  • Enclosing class:
    AgentcoreGatewayState

    public static final class AgentcoreGatewayState.Builder
    extends java.lang.Object
    • Method Detail

      • authorizerConfiguration

        public AgentcoreGatewayState.Builder authorizerConfiguration​(@Nullable
                                                                     com.pulumi.core.Output<AgentcoreGatewayAuthorizerConfigurationArgs> authorizerConfiguration)
        Parameters:
        authorizerConfiguration - Configuration for request authorization. Required when `authorizerType` is set to `CUSTOM_JWT`. See `authorizerConfiguration` below.
        Returns:
        builder
      • authorizerType

        public AgentcoreGatewayState.Builder authorizerType​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> authorizerType)
        Parameters:
        authorizerType - Type of authorizer to use. Valid values: `CUSTOM_JWT`, `AWS_IAM`, `NONE`, `AUTHENTICATE_ONLY`. When set to `CUSTOM_JWT`, `authorizerConfiguration` block is required.
        Returns:
        builder
      • authorizerType

        public AgentcoreGatewayState.Builder authorizerType​(java.lang.String authorizerType)
        Parameters:
        authorizerType - Type of authorizer to use. Valid values: `CUSTOM_JWT`, `AWS_IAM`, `NONE`, `AUTHENTICATE_ONLY`. When set to `CUSTOM_JWT`, `authorizerConfiguration` block is required.
        Returns:
        builder
      • description

        public AgentcoreGatewayState.Builder description​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the gateway.
        Returns:
        builder
      • description

        public AgentcoreGatewayState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the gateway.
        Returns:
        builder
      • exceptionLevel

        public AgentcoreGatewayState.Builder exceptionLevel​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> exceptionLevel)
        Parameters:
        exceptionLevel - Exception level for the gateway. Valid values: `DEBUG`.
        Returns:
        builder
      • exceptionLevel

        public AgentcoreGatewayState.Builder exceptionLevel​(java.lang.String exceptionLevel)
        Parameters:
        exceptionLevel - Exception level for the gateway. Valid values: `DEBUG`.
        Returns:
        builder
      • gatewayArn

        public AgentcoreGatewayState.Builder gatewayArn​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> gatewayArn)
        Parameters:
        gatewayArn - ARN of the Gateway.
        Returns:
        builder
      • gatewayArn

        public AgentcoreGatewayState.Builder gatewayArn​(java.lang.String gatewayArn)
        Parameters:
        gatewayArn - ARN of the Gateway.
        Returns:
        builder
      • gatewayId

        public AgentcoreGatewayState.Builder gatewayId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> gatewayId)
        Parameters:
        gatewayId - Unique identifier of the Gateway.
        Returns:
        builder
      • gatewayId

        public AgentcoreGatewayState.Builder gatewayId​(java.lang.String gatewayId)
        Parameters:
        gatewayId - Unique identifier of the Gateway.
        Returns:
        builder
      • gatewayUrl

        public AgentcoreGatewayState.Builder gatewayUrl​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> gatewayUrl)
        Parameters:
        gatewayUrl - URL endpoint for the gateway.
        Returns:
        builder
      • gatewayUrl

        public AgentcoreGatewayState.Builder gatewayUrl​(java.lang.String gatewayUrl)
        Parameters:
        gatewayUrl - URL endpoint for the gateway.
        Returns:
        builder
      • interceptorConfigurations

        public AgentcoreGatewayState.Builder interceptorConfigurations​(@Nullable
                                                                       com.pulumi.core.Output<java.util.List<AgentcoreGatewayInterceptorConfigurationArgs>> interceptorConfigurations)
        Parameters:
        interceptorConfigurations - List of interceptor configurations for the gateway. Minimum of 1, maximum of 2. See `interceptorConfiguration` below.
        Returns:
        builder
      • kmsKeyArn

        public AgentcoreGatewayState.Builder kmsKeyArn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the gateway data.
        Returns:
        builder
      • kmsKeyArn

        public AgentcoreGatewayState.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the gateway data.
        Returns:
        builder
      • name

        public AgentcoreGatewayState.Builder name​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the gateway.
        Returns:
        builder
      • policyEngineConfiguration

        public AgentcoreGatewayState.Builder policyEngineConfiguration​(@Nullable
                                                                       com.pulumi.core.Output<AgentcoreGatewayPolicyEngineConfigurationArgs> policyEngineConfiguration)
        Parameters:
        policyEngineConfiguration - Configuration for a policy engine associated with the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. See `policyEngineConfiguration` below.
        Returns:
        builder
      • policyEngineConfiguration

        public AgentcoreGatewayState.Builder policyEngineConfiguration​(AgentcoreGatewayPolicyEngineConfigurationArgs policyEngineConfiguration)
        Parameters:
        policyEngineConfiguration - Configuration for a policy engine associated with the gateway. A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies. See `policyEngineConfiguration` below.
        Returns:
        builder
      • protocolType

        public AgentcoreGatewayState.Builder protocolType​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> protocolType)
        Parameters:
        protocolType - Protocol type for the gateway. Valid values: `MCP`. Omit this argument to create a gateway that routes traffic directly to HTTP targets such as AgentCore Runtime agents (see `aws.bedrock.AgentcoreGatewayTarget` `target_configuration.http`).
        Returns:
        builder
      • protocolType

        public AgentcoreGatewayState.Builder protocolType​(java.lang.String protocolType)
        Parameters:
        protocolType - Protocol type for the gateway. Valid values: `MCP`. Omit this argument to create a gateway that routes traffic directly to HTTP targets such as AgentCore Runtime agents (see `aws.bedrock.AgentcoreGatewayTarget` `target_configuration.http`).
        Returns:
        builder
      • region

        public AgentcoreGatewayState.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 AgentcoreGatewayState.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
      • roleArn

        public AgentcoreGatewayState.Builder roleArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - ARN of the IAM role that the gateway assumes to access AWS services. The following arguments are optional:
        Returns:
        builder
      • roleArn

        public AgentcoreGatewayState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - ARN of the IAM role that the gateway assumes to access AWS services. The following arguments are optional:
        Returns:
        builder
      • tags

        public AgentcoreGatewayState.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 AgentcoreGatewayState.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 AgentcoreGatewayState.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 AgentcoreGatewayState.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