Class AgentcoreGatewayArgs.Builder

  • Enclosing class:
    AgentcoreGatewayArgs

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

      • authorizerConfiguration

        public AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.Builder authorizerType​(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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.Builder description​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the gateway.
        Returns:
        builder
      • description

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

        public AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.Builder exceptionLevel​(java.lang.String exceptionLevel)
        Parameters:
        exceptionLevel - Exception level for the gateway. Valid values: `DEBUG`.
        Returns:
        builder
      • interceptorConfigurations

        public AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt the gateway data.
        Returns:
        builder
      • name

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

        public AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.Builder roleArn​(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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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 AgentcoreGatewayArgs.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