1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ecs
  6. Gateway

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource schema for AWS ECS Gateway

    Create Gateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);
    @overload
    def Gateway(resource_name: str,
                args: GatewayArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Gateway(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                configuration: Optional[GatewayConfigurationArgs] = None,
                infrastructure_role_arn: Optional[str] = None,
                deletion_protection: Optional[bool] = None,
                gateway_name: Optional[str] = None,
                propagate_tags: Optional[GatewayPropagateGatewayTags] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)
    public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
    public Gateway(String name, GatewayArgs args)
    public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
    
    type: aws-native:ecs:Gateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_ecs_gateway" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Gateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Gateway resource accepts the following input properties:

    Configuration Pulumi.AwsNative.Ecs.Inputs.GatewayConfiguration
    The configuration for the gateway.
    InfrastructureRoleArn string
    The ARN of the IAM role that ECS uses to manage infrastructure for the gateway.
    DeletionProtection bool
    Whether deletion protection is enabled for the gateway.
    GatewayName string
    The name of the gateway. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.
    PropagateTags Pulumi.AwsNative.Ecs.GatewayPropagateGatewayTags
    Specifies whether to propagate the tags from the gateway to other resources.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The metadata that you apply to the gateway to help you categorize and organize them.
    Configuration GatewayConfigurationArgs
    The configuration for the gateway.
    InfrastructureRoleArn string
    The ARN of the IAM role that ECS uses to manage infrastructure for the gateway.
    DeletionProtection bool
    Whether deletion protection is enabled for the gateway.
    GatewayName string
    The name of the gateway. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.
    PropagateTags GatewayPropagateGatewayTags
    Specifies whether to propagate the tags from the gateway to other resources.
    Tags TagArgs
    The metadata that you apply to the gateway to help you categorize and organize them.
    configuration object
    The configuration for the gateway.
    infrastructure_role_arn string
    The ARN of the IAM role that ECS uses to manage infrastructure for the gateway.
    deletion_protection bool
    Whether deletion protection is enabled for the gateway.
    gateway_name string
    The name of the gateway. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.
    propagate_tags "NONE" | "GATEWAY"
    Specifies whether to propagate the tags from the gateway to other resources.
    tags list(object)
    The metadata that you apply to the gateway to help you categorize and organize them.
    configuration GatewayConfiguration
    The configuration for the gateway.
    infrastructureRoleArn String
    The ARN of the IAM role that ECS uses to manage infrastructure for the gateway.
    deletionProtection Boolean
    Whether deletion protection is enabled for the gateway.
    gatewayName String
    The name of the gateway. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.
    propagateTags GatewayPropagateGatewayTags
    Specifies whether to propagate the tags from the gateway to other resources.
    tags List<Tag>
    The metadata that you apply to the gateway to help you categorize and organize them.
    configuration GatewayConfiguration
    The configuration for the gateway.
    infrastructureRoleArn string
    The ARN of the IAM role that ECS uses to manage infrastructure for the gateway.
    deletionProtection boolean
    Whether deletion protection is enabled for the gateway.
    gatewayName string
    The name of the gateway. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.
    propagateTags GatewayPropagateGatewayTags
    Specifies whether to propagate the tags from the gateway to other resources.
    tags Tag[]
    The metadata that you apply to the gateway to help you categorize and organize them.
    configuration GatewayConfigurationArgs
    The configuration for the gateway.
    infrastructure_role_arn str
    The ARN of the IAM role that ECS uses to manage infrastructure for the gateway.
    deletion_protection bool
    Whether deletion protection is enabled for the gateway.
    gateway_name str
    The name of the gateway. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.
    propagate_tags GatewayPropagateGatewayTags
    Specifies whether to propagate the tags from the gateway to other resources.
    tags Sequence[TagArgs]
    The metadata that you apply to the gateway to help you categorize and organize them.
    configuration Property Map
    The configuration for the gateway.
    infrastructureRoleArn String
    The ARN of the IAM role that ECS uses to manage infrastructure for the gateway.
    deletionProtection Boolean
    Whether deletion protection is enabled for the gateway.
    gatewayName String
    The name of the gateway. Up to 255 letters (uppercase and lowercase), numbers, and hyphens are allowed.
    propagateTags "NONE" | "GATEWAY"
    Specifies whether to propagate the tags from the gateway to other resources.
    tags List<Property Map>
    The metadata that you apply to the gateway to help you categorize and organize them.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:

    AccessType Pulumi.AwsNative.Ecs.GatewayAccessType
    The access type of the gateway.
    Arn string
    The Amazon Resource Name (ARN) of the gateway.
    CreatedAt string
    The timestamp when the gateway was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status Pulumi.AwsNative.Ecs.GatewayStatus
    The status of the gateway.
    UpdatedAt string
    The timestamp when the gateway was last updated.
    AccessType GatewayAccessType
    The access type of the gateway.
    Arn string
    The Amazon Resource Name (ARN) of the gateway.
    CreatedAt string
    The timestamp when the gateway was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status GatewayStatus
    The status of the gateway.
    UpdatedAt string
    The timestamp when the gateway was last updated.
    access_type "PUBLIC" | "PRIVATE"
    The access type of the gateway.
    arn string
    The Amazon Resource Name (ARN) of the gateway.
    created_at string
    The timestamp when the gateway was created.
    id string
    The provider-assigned unique ID for this managed resource.
    status "ACTIVE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "DELETED"
    The status of the gateway.
    updated_at string
    The timestamp when the gateway was last updated.
    accessType GatewayAccessType
    The access type of the gateway.
    arn String
    The Amazon Resource Name (ARN) of the gateway.
    createdAt String
    The timestamp when the gateway was created.
    id String
    The provider-assigned unique ID for this managed resource.
    status GatewayStatus
    The status of the gateway.
    updatedAt String
    The timestamp when the gateway was last updated.
    accessType GatewayAccessType
    The access type of the gateway.
    arn string
    The Amazon Resource Name (ARN) of the gateway.
    createdAt string
    The timestamp when the gateway was created.
    id string
    The provider-assigned unique ID for this managed resource.
    status GatewayStatus
    The status of the gateway.
    updatedAt string
    The timestamp when the gateway was last updated.
    access_type GatewayAccessType
    The access type of the gateway.
    arn str
    The Amazon Resource Name (ARN) of the gateway.
    created_at str
    The timestamp when the gateway was created.
    id str
    The provider-assigned unique ID for this managed resource.
    status GatewayStatus
    The status of the gateway.
    updated_at str
    The timestamp when the gateway was last updated.
    accessType "PUBLIC" | "PRIVATE"
    The access type of the gateway.
    arn String
    The Amazon Resource Name (ARN) of the gateway.
    createdAt String
    The timestamp when the gateway was created.
    id String
    The provider-assigned unique ID for this managed resource.
    status "ACTIVE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "DELETED"
    The status of the gateway.
    updatedAt String
    The timestamp when the gateway was last updated.

    Supporting Types

    GatewayAccessType, GatewayAccessTypeArgs

    Public
    PUBLIC
    Private
    PRIVATE
    GatewayAccessTypePublic
    PUBLIC
    GatewayAccessTypePrivate
    PRIVATE
    "PUBLIC"
    PUBLIC
    "PRIVATE"
    PRIVATE
    Public
    PUBLIC
    Private
    PRIVATE
    Public
    PUBLIC
    Private
    PRIVATE
    PUBLIC
    PUBLIC
    PRIVATE
    PRIVATE
    "PUBLIC"
    PUBLIC
    "PRIVATE"
    PRIVATE

    GatewayAlbDesyncMitigationMode, GatewayAlbDesyncMitigationModeArgs

    Monitor
    monitor
    Defensive
    defensive
    Strictest
    strictest
    GatewayAlbDesyncMitigationModeMonitor
    monitor
    GatewayAlbDesyncMitigationModeDefensive
    defensive
    GatewayAlbDesyncMitigationModeStrictest
    strictest
    "monitor"
    monitor
    "defensive"
    defensive
    "strictest"
    strictest
    Monitor
    monitor
    Defensive
    defensive
    Strictest
    strictest
    Monitor
    monitor
    Defensive
    defensive
    Strictest
    strictest
    MONITOR
    monitor
    DEFENSIVE
    defensive
    STRICTEST
    strictest
    "monitor"
    monitor
    "defensive"
    defensive
    "strictest"
    strictest

    GatewayAlbProtocol, GatewayAlbProtocolArgs

    Http
    HTTP
    Https
    HTTPS
    GatewayAlbProtocolHttp
    HTTP
    GatewayAlbProtocolHttps
    HTTPS
    "HTTP"
    HTTP
    "HTTPS"
    HTTPS
    Http
    HTTP
    Https
    HTTPS
    Http
    HTTP
    Https
    HTTPS
    HTTP
    HTTP
    HTTPS
    HTTPS
    "HTTP"
    HTTP
    "HTTPS"
    HTTPS

    GatewayAlbTestTrafficRules, GatewayAlbTestTrafficRulesArgs

    The test traffic rules for the gateway ALB.

    GatewayConfiguration, GatewayConfigurationArgs

    The configuration for the gateway. Currently only supports hostSharedAlb.

    GatewayElbAccessLogConfiguration, GatewayElbAccessLogConfigurationArgs

    The access log configuration for the gateway ALB. Access logging is enabled by the presence of a destination.

    GatewayElbAccessLogDestination, GatewayElbAccessLogDestinationArgs

    The destination for gateway ALB access logs. Exactly one destination type must be specified.

    GatewayElbAccessLogS3Destination, GatewayElbAccessLogS3DestinationArgs

    The S3 destination for gateway ALB access logs.
    Bucket string
    The S3 bucket for access logs.
    Prefix string
    The S3 prefix for access logs.
    Bucket string
    The S3 bucket for access logs.
    Prefix string
    The S3 prefix for access logs.
    bucket string
    The S3 bucket for access logs.
    prefix string
    The S3 prefix for access logs.
    bucket String
    The S3 bucket for access logs.
    prefix String
    The S3 prefix for access logs.
    bucket string
    The S3 bucket for access logs.
    prefix string
    The S3 prefix for access logs.
    bucket str
    The S3 bucket for access logs.
    prefix str
    The S3 prefix for access logs.
    bucket String
    The S3 bucket for access logs.
    prefix String
    The S3 prefix for access logs.

    GatewayElbIpAddressType, GatewayElbIpAddressTypeArgs

    Ipv4
    ipv4
    Dualstack
    dualstack
    DualstackWithoutPublicIpv4
    dualstack-without-public-ipv4
    GatewayElbIpAddressTypeIpv4
    ipv4
    GatewayElbIpAddressTypeDualstack
    dualstack
    GatewayElbIpAddressTypeDualstackWithoutPublicIpv4
    dualstack-without-public-ipv4
    "ipv4"
    ipv4
    "dualstack"
    dualstack
    "dualstack-without-public-ipv4"
    dualstack-without-public-ipv4
    Ipv4
    ipv4
    Dualstack
    dualstack
    DualstackWithoutPublicIpv4
    dualstack-without-public-ipv4
    Ipv4
    ipv4
    Dualstack
    dualstack
    DualstackWithoutPublicIpv4
    dualstack-without-public-ipv4
    IPV4
    ipv4
    DUALSTACK
    dualstack
    DUALSTACK_WITHOUT_PUBLIC_IPV4
    dualstack-without-public-ipv4
    "ipv4"
    ipv4
    "dualstack"
    dualstack
    "dualstack-without-public-ipv4"
    dualstack-without-public-ipv4

    GatewayElbNetworkConfiguration, GatewayElbNetworkConfigurationArgs

    The network configuration for the gateway ALB.
    InboundSecurityGroup string
    The inbound security group for the ALB.
    IpAddressType Pulumi.AwsNative.Ecs.GatewayElbIpAddressType
    Subnets List<string>
    The subnets for the ALB.
    InboundSecurityGroup string
    The inbound security group for the ALB.
    IpAddressType GatewayElbIpAddressType
    Subnets []string
    The subnets for the ALB.
    inbound_security_group string
    The inbound security group for the ALB.
    ip_address_type "ipv4" | "dualstack" | "dualstack-without-public-ipv4"
    subnets list(string)
    The subnets for the ALB.
    inboundSecurityGroup String
    The inbound security group for the ALB.
    ipAddressType GatewayElbIpAddressType
    subnets List<String>
    The subnets for the ALB.
    inboundSecurityGroup string
    The inbound security group for the ALB.
    ipAddressType GatewayElbIpAddressType
    subnets string[]
    The subnets for the ALB.
    inbound_security_group str
    The inbound security group for the ALB.
    ip_address_type GatewayElbIpAddressType
    subnets Sequence[str]
    The subnets for the ALB.
    inboundSecurityGroup String
    The inbound security group for the ALB.
    ipAddressType "ipv4" | "dualstack" | "dualstack-without-public-ipv4"
    subnets List<String>
    The subnets for the ALB.

    GatewayElbScheme, GatewayElbSchemeArgs

    InternetFacing
    internet-facing
    Internal
    internal
    GatewayElbSchemeInternetFacing
    internet-facing
    GatewayElbSchemeInternal
    internal
    "internet-facing"
    internet-facing
    "internal"
    internal
    InternetFacing
    internet-facing
    Internal
    internal
    InternetFacing
    internet-facing
    Internal
    internal
    INTERNET_FACING
    internet-facing
    INTERNAL
    internal
    "internet-facing"
    internet-facing
    "internal"
    internal

    GatewayHostSharedAlbConfiguration, GatewayHostSharedAlbConfigurationArgs

    The host shared ALB configuration for the gateway.
    AccessLogs GatewayElbAccessLogConfiguration
    CurrentAlbCount int
    The current number of ALBs provisioned for the gateway.
    HttpDesync GatewayAlbDesyncMitigationMode
    MaxAlbCount int
    The maximum number of ALBs to provision for the gateway.
    NetworkConfiguration GatewayElbNetworkConfiguration
    Port int
    The port on which the ALB listens.
    Protocol GatewayAlbProtocol
    Scheme GatewayElbScheme
    TestTrafficRules GatewayAlbTestTrafficRules
    WebAclArn string
    The ARN of the WAFv2 web ACL to associate with the ALB.
    access_logs object
    current_alb_count number
    The current number of ALBs provisioned for the gateway.
    http_desync "monitor" | "defensive" | "strictest"
    max_alb_count number
    The maximum number of ALBs to provision for the gateway.
    network_configuration object
    port number
    The port on which the ALB listens.
    protocol "HTTP" | "HTTPS"
    scheme "internet-facing" | "internal"
    test_traffic_rules object
    web_acl_arn string
    The ARN of the WAFv2 web ACL to associate with the ALB.
    accessLogs GatewayElbAccessLogConfiguration
    currentAlbCount Integer
    The current number of ALBs provisioned for the gateway.
    httpDesync GatewayAlbDesyncMitigationMode
    maxAlbCount Integer
    The maximum number of ALBs to provision for the gateway.
    networkConfiguration GatewayElbNetworkConfiguration
    port Integer
    The port on which the ALB listens.
    protocol GatewayAlbProtocol
    scheme GatewayElbScheme
    testTrafficRules GatewayAlbTestTrafficRules
    webAclArn String
    The ARN of the WAFv2 web ACL to associate with the ALB.
    accessLogs GatewayElbAccessLogConfiguration
    currentAlbCount number
    The current number of ALBs provisioned for the gateway.
    httpDesync GatewayAlbDesyncMitigationMode
    maxAlbCount number
    The maximum number of ALBs to provision for the gateway.
    networkConfiguration GatewayElbNetworkConfiguration
    port number
    The port on which the ALB listens.
    protocol GatewayAlbProtocol
    scheme GatewayElbScheme
    testTrafficRules GatewayAlbTestTrafficRules
    webAclArn string
    The ARN of the WAFv2 web ACL to associate with the ALB.
    access_logs GatewayElbAccessLogConfiguration
    current_alb_count int
    The current number of ALBs provisioned for the gateway.
    http_desync GatewayAlbDesyncMitigationMode
    max_alb_count int
    The maximum number of ALBs to provision for the gateway.
    network_configuration GatewayElbNetworkConfiguration
    port int
    The port on which the ALB listens.
    protocol GatewayAlbProtocol
    scheme GatewayElbScheme
    test_traffic_rules GatewayAlbTestTrafficRules
    web_acl_arn str
    The ARN of the WAFv2 web ACL to associate with the ALB.
    accessLogs Property Map
    currentAlbCount Number
    The current number of ALBs provisioned for the gateway.
    httpDesync "monitor" | "defensive" | "strictest"
    maxAlbCount Number
    The maximum number of ALBs to provision for the gateway.
    networkConfiguration Property Map
    port Number
    The port on which the ALB listens.
    protocol "HTTP" | "HTTPS"
    scheme "internet-facing" | "internal"
    testTrafficRules Property Map
    webAclArn String
    The ARN of the WAFv2 web ACL to associate with the ALB.

    GatewayPropagateGatewayTags, GatewayPropagateGatewayTagsArgs

    None
    NONE
    Gateway
    GATEWAY
    GatewayPropagateGatewayTagsNone
    NONE
    GatewayPropagateGatewayTagsGateway
    GATEWAY
    "NONE"
    NONE
    "GATEWAY"
    GATEWAY
    None
    NONE
    Gateway
    GATEWAY
    None
    NONE
    Gateway
    GATEWAY
    NONE
    NONE
    GATEWAY
    GATEWAY
    "NONE"
    NONE
    "GATEWAY"
    GATEWAY

    GatewayStatus, GatewayStatusArgs

    Active
    ACTIVE
    UpdateInProgress
    UPDATE_IN_PROGRESS
    UpdateComplete
    UPDATE_COMPLETE
    UpdateFailed
    UPDATE_FAILED
    Deleted
    DELETED
    GatewayStatusActive
    ACTIVE
    GatewayStatusUpdateInProgress
    UPDATE_IN_PROGRESS
    GatewayStatusUpdateComplete
    UPDATE_COMPLETE
    GatewayStatusUpdateFailed
    UPDATE_FAILED
    GatewayStatusDeleted
    DELETED
    "ACTIVE"
    ACTIVE
    "UPDATE_IN_PROGRESS"
    UPDATE_IN_PROGRESS
    "UPDATE_COMPLETE"
    UPDATE_COMPLETE
    "UPDATE_FAILED"
    UPDATE_FAILED
    "DELETED"
    DELETED
    Active
    ACTIVE
    UpdateInProgress
    UPDATE_IN_PROGRESS
    UpdateComplete
    UPDATE_COMPLETE
    UpdateFailed
    UPDATE_FAILED
    Deleted
    DELETED
    Active
    ACTIVE
    UpdateInProgress
    UPDATE_IN_PROGRESS
    UpdateComplete
    UPDATE_COMPLETE
    UpdateFailed
    UPDATE_FAILED
    Deleted
    DELETED
    ACTIVE
    ACTIVE
    UPDATE_IN_PROGRESS
    UPDATE_IN_PROGRESS
    UPDATE_COMPLETE
    UPDATE_COMPLETE
    UPDATE_FAILED
    UPDATE_FAILED
    DELETED
    DELETED
    "ACTIVE"
    ACTIVE
    "UPDATE_IN_PROGRESS"
    UPDATE_IN_PROGRESS
    "UPDATE_COMPLETE"
    UPDATE_COMPLETE
    "UPDATE_FAILED"
    UPDATE_FAILED
    "DELETED"
    DELETED

    GatewayTestTrafficHeader, GatewayTestTrafficHeaderArgs

    The header configuration for test traffic routing.
    Name string
    The name of the header.
    Values List<string>
    The values for the header.
    Name string
    The name of the header.
    Values []string
    The values for the header.
    name string
    The name of the header.
    values list(string)
    The values for the header.
    name String
    The name of the header.
    values List<String>
    The values for the header.
    name string
    The name of the header.
    values string[]
    The values for the header.
    name str
    The name of the header.
    values Sequence[str]
    The values for the header.
    name String
    The name of the header.
    values List<String>
    The values for the header.

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial