Skip to content
v2.278.0

VirtualGatewayAttributes Struct ​

Unterface with properties necessary to import a reusable VirtualGateway.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';

declare const mesh: appmesh.Mesh;
const virtualGatewayAttributes: appmesh.VirtualGatewayAttributes = {
  mesh: mesh,
  virtualGatewayName: 'virtualGatewayName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh

# mesh: appmesh.Mesh

virtual_gateway_attributes = appmesh.VirtualGatewayAttributes(
    mesh=mesh,
    virtual_gateway_name="virtualGatewayName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;

Mesh mesh;

VirtualGatewayAttributes virtualGatewayAttributes = VirtualGatewayAttributes.builder()
        .mesh(mesh)
        .virtualGatewayName("virtualGatewayName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;

Mesh mesh;

var virtualGatewayAttributes = new VirtualGatewayAttributes {
    Mesh = mesh,
    VirtualGatewayName = "virtualGatewayName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var mesh Mesh

virtualGatewayAttributes := &VirtualGatewayAttributes{
	Mesh: mesh,
	VirtualGatewayName: jsii.String("virtualGatewayName"),
}

Properties ​

meshIMeshmeshIMeshmeshIMeshMeshIMeshMeshIMesh required #
The Mesh that the VirtualGateway belongs to.
virtualGatewayNamestringvirtual_gateway_namestrvirtualGatewayNameStringVirtualGatewayNamestringVirtualGatewayName*string required #
The name of the VirtualGateway.