Skip to content
v2.275.0

CfnMeshProps Struct ​

Properties for defining a CfnMesh.

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';
const cfnMeshProps: appmesh.CfnMeshProps = {
  meshName: 'meshName',
  spec: {
    egressFilter: {
      type: 'type',
    },
    serviceDiscovery: {
      ipPreference: 'ipPreference',
    },
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

meshNameoptionalstringmesh_nameoptionalstrmeshNameoptionalStringMeshNameoptionalstringMeshNameoptional*string#
The name to use for the service mesh.
specoptionalIResolvable | CfnMesh.MeshSpecPropertyspecoptionaltyping.Union[IResolvable, MeshSpecProperty]specoptionalIResolvableSpecoptionalIResolvableSpecoptionalinterface{}#
The service mesh specification to apply.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
Optional metadata that you can apply to the service mesh 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.