Skip to content
v2.273.0

CfnVirtualGatewayPropsMixin Mixin ​

Creates a virtual gateway.

A virtual gateway allows resources outside your mesh to communicate to resources that are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which represents an Envoy running with an application, a virtual gateway represents Envoy deployed by itself.

For more information about virtual gateways, see Virtual gateways .

Initializer ​

ts
new CfnVirtualGatewayPropsMixin(props: CfnVirtualGatewayMixinProps, options?: CfnPropertyMixinOptions)
python
CfnVirtualGatewayPropsMixin(props: CfnVirtualGatewayMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnVirtualGatewayPropsMixin(CfnVirtualGatewayMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnVirtualGatewayPropsMixin(CfnVirtualGatewayMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnVirtualGatewayPropsMixin(Props CfnVirtualGatewayMixinProps, 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.