VirtualServiceAttributes Struct
Interface with properties ncecessary to import a reusable VirtualService.
| Source | aws-appmesh/lib/virtual-service.ts |
|---|
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 virtualServiceAttributes: appmesh.VirtualServiceAttributes = {
mesh: mesh,
virtualServiceName: 'virtualServiceName',
};
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_service_attributes = appmesh.VirtualServiceAttributes(
mesh=mesh,
virtual_service_name="virtualServiceName"
)
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;
VirtualServiceAttributes virtualServiceAttributes = VirtualServiceAttributes.builder()
.mesh(mesh)
.virtualServiceName("virtualServiceName")
.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 virtualServiceAttributes = new VirtualServiceAttributes {
Mesh = mesh,
VirtualServiceName = "virtualServiceName"
};
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
virtualServiceAttributes := &VirtualServiceAttributes{
Mesh: mesh,
VirtualServiceName: jsii.String("virtualServiceName"),
}
Properties
The Mesh which the VirtualService belongs to.
virtualServiceNamestringvirtual_service_namestrvirtualServiceNameStringVirtualServiceNamestringVirtualServiceName*string required #The name of the VirtualService, it is recommended this follows the fully-qualified domain name format.