Skip to content

create_domain_name_access_association

Operation

create_domain_name_access_association

Creates a domain name access association resource between an access association source and a private custom domain name.

Parameters:

Name Type Description Default
request CreateDomainNameAccessAssociationInput | CreateDomainNameAccessAssociationInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[CreateDomainNameAccessAssociationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateDomainNameAccessAssociationOutput

An instance of CreateDomainNameAccessAssociationOutput.

create_domain_name_access_association async

Creates a domain name access association resource between an access association source and a private custom domain name.

Parameters:

Name Type Description Default
request CreateDomainNameAccessAssociationInput | CreateDomainNameAccessAssociationInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[CreateDomainNameAccessAssociationInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateDomainNameAccessAssociationOutput

An instance of CreateDomainNameAccessAssociationOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

CreateDomainNameAccessAssociationInputDict

Bases: TypedDict

Dictionary form of CreateDomainNameAccessAssociationInput.

Attributes

access_association_source instance-attribute
access_association_source: Required[str]

The identifier of the domain name access association source. For a VPCE, the value is the VPC endpoint ID.

access_association_source_type instance-attribute
access_association_source_type: Required[str]

The type of the domain name access association source.

domain_name_arn instance-attribute
domain_name_arn: Required[str]

The ARN of the domain name.

tags instance-attribute
tags: Mapping[str, str] | None

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

CreateDomainNameAccessAssociationInput dataclass

Bases: _SerdeShape

Dataclass for CreateDomainNameAccessAssociationInput structure.

Attributes

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

The identifier of the domain name access association source. For a VPCE, the value is the VPC endpoint ID.

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

The type of the domain name access association source.

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

The ARN of the domain name.

tags class-attribute instance-attribute
tags: dict[str, str] | None = ...

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

Output

CreateDomainNameAccessAssociationOutput dataclass

Bases: _SerdeShape

Represents a domain name access association between an access association source and a private custom domain name. With a domain name access association, an access association source can invoke a private custom domain name while isolated from the public internet.

Attributes

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

The ARN of the domain name access association source. For a VPCE, the ARN must be a VPC endpoint.

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

The type of the domain name access association source.

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

The ARN of the domain name access association resource.

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

The ARN of the domain name.

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.

tags class-attribute instance-attribute
tags: dict[str, str] | None = ...

The collection of tags. Each tag element is associated with a given resource.