interface CfnInstanceConnectEndpointMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnInstanceConnectEndpointMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnInstanceConnectEndpointMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnInstanceConnectEndpointMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnInstanceConnectEndpointMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnInstanceConnectEndpointMixinProps |
Properties for CfnInstanceConnectEndpointPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const cfnInstanceConnectEndpointMixinProps: ec2.CfnInstanceConnectEndpointMixinProps = {
clientToken: 'clientToken',
preserveClientIp: false,
securityGroupIds: ['securityGroupIds'],
subnetId: 'subnetId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| client | string | Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. |
| preserve | boolean | IResolvable | Indicates whether the client IP address is preserved as the source. The following are the possible values. |
| security | string[] | One or more security groups to associate with the endpoint. |
| subnet | string | The ID of the subnet in which to create the EC2 Instance Connect Endpoint. |
| tags? | Cfn[] | The tags to apply to the EC2 Instance Connect Endpoint during creation. |
clientToken?
Type:
string
(optional)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
preserveClientIp?
Type:
boolean | IResolvable
(optional)
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
securityGroupIds?
Type:
string[]
(optional)
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.
subnetId?
Type:
string
(optional)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
tags?
Type:
Cfn[]
(optional)
The tags to apply to the EC2 Instance Connect Endpoint during creation.

.NET
Go
Java
Python
TypeScript