CfnMeshProps

class aws_cdk.aws_appmesh.CfnMeshProps(*, mesh_name=None, spec=None, tags=None)

Bases: object

Properties for defining a CfnMesh.

Parameters:
  • mesh_name (Optional[str]) – The name to use for the service mesh.

  • spec (Union[IResolvable, MeshSpecProperty, Dict[str, Any], None]) – The service mesh specification to apply.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appmesh as appmesh

cfn_mesh_props = appmesh.CfnMeshProps(
    mesh_name="meshName",
    spec=appmesh.CfnMesh.MeshSpecProperty(
        egress_filter=appmesh.CfnMesh.EgressFilterProperty(
            type="type"
        ),
        service_discovery=appmesh.CfnMesh.MeshServiceDiscoveryProperty(
            ip_preference="ipPreference"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

mesh_name

The name to use for the service mesh.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html#cfn-appmesh-mesh-meshname

spec

The service mesh specification to apply.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html#cfn-appmesh-mesh-spec

tags

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html#cfn-appmesh-mesh-tags