Skip to content

CreateGatewayRequest

Source code in docs_src/capo_ecs/types/create_gateway_request.py
class CreateGatewayRequest(TypedDict, closed=True):
    name: "capo_ecs.types.string.String"
    """<p>The name for the gateway. The name must be unique within your account and can be up to 255 characters.</p>"""
    infrastructure_role_arn: "capo_ecs.types.string.String"
    """<p>The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to create and manage infrastructure on your behalf.</p>"""
    client_token: NotRequired["capo_ecs.types.string.String"]
    """<p>A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.</p>"""
    deletion_protection: NotRequired["capo_ecs.types.boxed_boolean.BoxedBoolean"]
    """<p>Specifies whether to enable deletion protection for the gateway. When enabled, the gateway can't be deleted, and the gateway propagates this setting to the load balancers it manages. The default is <code>true</code>.</p>"""
    configuration: "capo_ecs.types.gateway_configuration.GatewayConfiguration"
    """<p>The type-specific configuration for the gateway. Exactly one configuration variant must be set, and it determines the gateway type. For example, <code>hostSharedAlb</code> configures a gateway that uses Application Load Balancers with host-based routing.</p>"""
    tags: NotRequired["capo_ecs.types.tags.Tags"]
    """<p>The metadata that you apply to the gateway to help you categorize and organize it. Each tag consists of a key and an optional value. Depending on <code>propagateTags</code>, these tags can be applied to the infrastructure the gateway manages.</p>"""
    propagate_tags: NotRequired[
        "capo_ecs.types.propagate_gateway_tags.PropagateGatewayTags"
    ]
    """<p>Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. The default is <code>GATEWAY</code>.</p>"""

client_token instance-attribute

client_token: NotRequired[String]

A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

configuration instance-attribute

configuration: GatewayConfiguration

The type-specific configuration for the gateway. Exactly one configuration variant must be set, and it determines the gateway type. For example, hostSharedAlb configures a gateway that uses Application Load Balancers with host-based routing.

deletion_protection instance-attribute

deletion_protection: NotRequired[BoxedBoolean]

Specifies whether to enable deletion protection for the gateway. When enabled, the gateway can't be deleted, and the gateway propagates this setting to the load balancers it manages. The default is true.

infrastructure_role_arn instance-attribute

infrastructure_role_arn: String

The Amazon Resource Name (ARN) of the IAM role that the gateway assumes to create and manage infrastructure on your behalf.

name instance-attribute

name: String

The name for the gateway. The name must be unique within your account and can be up to 255 characters.

propagate_tags instance-attribute

propagate_tags: NotRequired[PropagateGatewayTags]

Specifies whether to propagate the tags from the gateway to the infrastructure that the gateway manages. The default is GATEWAY.

tags instance-attribute

tags: NotRequired[Tags]

The metadata that you apply to the gateway to help you categorize and organize it. Each tag consists of a key and an optional value. Depending on propagateTags, these tags can be applied to the infrastructure the gateway manages.