Interface CfnInstanceConnectEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceConnectEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:32.025Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInstanceConnectEndpointProps
static final class
An implementation forCfnInstanceConnectEndpointProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default Object
Indicates whether the client 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 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.
Default:
false
- See Also:
-
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
-