Skip to content
v2.275.0

CfnInstanceConnectEndpointPropsMixin Mixin ​

Creates an EC2 Instance Connect Endpoint.

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide .

With the replacement update behavior, CloudFormation usually creates the new resource first, changes references to point to the new resource, and then deletes the old resource. However, you can create only one EC2 Instance Connect Endpoint per VPC, so the replacement process fails. If you need to modify an EC2 Instance Connect Endpoint, you must replace the resource manually.

Initializer ​

ts
new CfnInstanceConnectEndpointPropsMixin(props: CfnInstanceConnectEndpointMixinProps, options?: CfnPropertyMixinOptions)
python
CfnInstanceConnectEndpointPropsMixin(props: CfnInstanceConnectEndpointMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnInstanceConnectEndpointPropsMixin(CfnInstanceConnectEndpointMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnInstanceConnectEndpointPropsMixin(CfnInstanceConnectEndpointMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnInstanceConnectEndpointPropsMixin(Props CfnInstanceConnectEndpointMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.