Skip to content

CloudFront  >  Operations  >  create_connection_group

create_connection_group

Operation

create_connection_group async

create_connection_group(input: CreateConnectionGroupInput, plugins: list[Plugin] | None = None) -> CreateConnectionGroupOutput

Creates a connection group.

Parameters:

Name Type Description Default
input CreateConnectionGroupInput

An instance of CreateConnectionGroupInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreateConnectionGroupOutput

An instance of CreateConnectionGroupOutput.

Input

CreateConnectionGroupInput dataclass

Bases: _SerdeShape

Dataclass for CreateConnectionGroupInput structure.

Attributes

anycast_ip_list_id class-attribute instance-attribute
anycast_ip_list_id: str | None = ...

The ID of the Anycast static IP list.

enabled class-attribute instance-attribute
enabled: bool | None = ...

Enable the connection group.

ipv6_enabled class-attribute instance-attribute
ipv6_enabled: bool | None = ...

Enable IPv6 for the connection group. The default is true. For more information, see Enable IPv6 in the Amazon CloudFront Developer Guide.

name class-attribute instance-attribute
name: str | None = ...

The name of the connection group. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the connection group.

tags class-attribute instance-attribute
tags: Tags | None = ...

A complex type that contains zero or more Tag elements.

Output

CreateConnectionGroupOutput dataclass

Bases: _SerdeShape

Dataclass for CreateConnectionGroupOutput structure.

Attributes

connection_group class-attribute instance-attribute
connection_group: ConnectionGroup | None = ...

The connection group that you created.

e_tag class-attribute instance-attribute
e_tag: str | None = ...

The current version of the connection group.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.