Skip to content

CreateTargetGroupRequest

Source code in docs_src/capo_vpc_lattice/types/create_target_group_request.py
class CreateTargetGroupRequest(TypedDict, closed=True):
    name: "capo_vpc_lattice.types.target_group_name.TargetGroupName"
    """<p>The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.</p>"""
    type: "capo_vpc_lattice.types.target_group_type.TargetGroupType"
    """<p>The type of target group.</p>"""
    config: NotRequired["capo_vpc_lattice.types.target_group_config.TargetGroupConfig"]
    """<p>The target group configuration.</p>"""
    client_token: NotRequired["capo_vpc_lattice.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.</p>"""
    tags: NotRequired["capo_vpc_lattice.types.tag_map.TagMap"]
    """<p>The tags for the target group.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

config instance-attribute

config: NotRequired[TargetGroupConfig]

The target group configuration.

name instance-attribute

The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

tags instance-attribute

tags: NotRequired[TagMap]

The tags for the target group.

type instance-attribute

The type of target group.