Interface CfnInstanceConnectEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceConnectEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:25.212Z")
@Stability(Stable)
public interface CfnInstanceConnectEndpointProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnInstanceConnectEndpoint.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnInstanceConnectEndpointProps cfnInstanceConnectEndpointProps = CfnInstanceConnectEndpointProps.builder()
.subnetId("subnetId")
// the properties below are optional
.clientToken("clientToken")
.preserveClientIp(false)
.securityGroupIds(List.of("securityGroupIds"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstanceConnectEndpointPropsstatic final classAn implementation forCfnInstanceConnectEndpointProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringUnique, case-sensitive identifier that you provide to ensure the idempotency of the request.default ObjectIndicates whether your client's IP address is preserved as the source.One or more security groups to associate with the endpoint.The ID of the subnet in which to create the EC2 Instance Connect Endpoint.getTags()The tags to apply to the EC2 Instance Connect Endpoint during creation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubnetId
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.- See Also:
-
getClientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- See Also:
-
getPreserveClientIp
Indicates whether your client's IP address is preserved as the source. The value istrueorfalse.- If
true, your client's IP address is used when you connect to a resource. - If
false, the elastic network interface IP address is used when you connect to a resource.
Default:
true- See Also:
- If
-
getSecurityGroupIds
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.
- See Also:
-
getTags
The tags to apply to the EC2 Instance Connect Endpoint during creation.- See Also:
-
builder
-