interface CfnVirtualServiceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualServiceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualServiceMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualServiceMixinProps |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualServiceMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualServiceMixinProps |
Properties for CfnVirtualServicePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const cfnVirtualServiceMixinProps: appmesh_mixins.CfnVirtualServiceMixinProps = {
meshName: 'meshName',
meshOwner: 'meshOwner',
spec: {
provider: {
virtualNode: {
virtualNodeName: 'virtualNodeName',
},
virtualRouter: {
virtualRouterName: 'virtualRouterName',
},
},
},
tags: [{
key: 'key',
value: 'value',
}],
virtualServiceName: 'virtualServiceName',
};
Properties
| Name | Type | Description |
|---|---|---|
| mesh | string | The name of the service mesh to create the virtual service in. |
| mesh | string | The AWS IAM account ID of the service mesh owner. |
| spec? | IResolvable | Virtual | The virtual service specification to apply. |
| tags? | Cfn[] | Optional metadata that you can apply to the virtual service to assist with categorization and organization. |
| virtual | string | The name to use for the virtual service. |
meshName?
Type:
string
(optional)
The name of the service mesh to create the virtual service in.
meshOwner?
Type:
string
(optional)
The AWS IAM account ID of the service mesh owner.
If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes .
spec?
Type:
IResolvable | Virtual
(optional)
The virtual service specification to apply.
tags?
Type:
Cfn[]
(optional)
Optional metadata that you can apply to the virtual service to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
virtualServiceName?
Type:
string
(optional)
The name to use for the virtual service.

.NET
Go
Java
Python
TypeScript