CfnInstanceConnectEndpointMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnInstanceConnectEndpointMixinProps(*, client_token=None, preserve_client_ip=None, security_group_ids=None, subnet_id=None, tags=None)
Bases:
objectProperties for CfnInstanceConnectEndpointPropsMixin.
- Parameters:
client_token (
Optional[str]) – Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.preserve_client_ip (
Union[bool,IResolvable,None]) – Indicates whether the client IP address is preserved as the source. The following are the possible values. -true- Use the client IP address as the source. -false- Use the network interface IP address as the source. .. epigraph::PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4. Default:falsesecurity_group_ids (
Optional[Sequence[str]]) – One or more security groups to associate with the endpoint. If you don’t specify a security group, the default security group for your VPC will be associated with the endpoint.subnet_id (
Optional[str]) – The ID of the subnet in which to create the EC2 Instance Connect Endpoint.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags to apply to the EC2 Instance Connect Endpoint during creation.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_instance_connect_endpoint_mixin_props = ec2_mixins.CfnInstanceConnectEndpointMixinProps( client_token="clientToken", preserve_client_ip=False, security_group_ids=["securityGroupIds"], subnet_id="subnetId", tags=[CfnTag( key="key", value="value" )] )
Attributes
- client_token
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- preserve_client_ip
Indicates whether the client IP address is preserved as the source. The following are the possible values.
true- Use the client IP address as the source.false- Use the network interface IP address as the source.
PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.Default:
false
- security_group_ids
One or more security groups to associate with the endpoint.
If you don’t specify a security group, the default security group for your VPC will be associated with the endpoint.
- subnet_id
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- tags
The tags to apply to the EC2 Instance Connect Endpoint during creation.