Class CfnMesh
A CloudFormation AWS::AppMesh::Mesh
.
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class CfnMesh : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnMesh
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a service mesh.
A service mesh is a logical boundary for network traffic between services that are represented by resources within the mesh. After you create your service mesh, you can create virtual services, virtual nodes, virtual routers, and routes to distribute traffic between the applications in your mesh.
For more information about service meshes, see Service meshes .
CloudformationResource: AWS::AppMesh::Mesh
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var cfnMesh = new CfnMesh(this, "MyCfnMesh", new CfnMeshProps {
MeshName = "meshName",
Spec = new MeshSpecProperty {
EgressFilter = new EgressFilterProperty {
Type = "type"
},
ServiceDiscovery = new MeshServiceDiscoveryProperty {
IpPreference = "ipPreference"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnMesh(Construct, String, ICfnMeshProps) | Create a new |
CfnMesh(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnMesh(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The full Amazon Resource Name (ARN) for the mesh. |
AttrMeshName | The name of the service mesh. |
AttrMeshOwner | The IAM account ID of the service mesh owner. |
AttrResourceOwner | The IAM account ID of the resource owner. |
AttrUid | The unique identifier for the mesh. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
MeshName | The name to use for the service mesh. |
Spec | The service mesh specification to apply. |
Tags | Optional metadata that you can apply to the service mesh to assist with categorization and organization. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnMesh(Construct, String, ICfnMeshProps)
Create a new AWS::AppMesh::Mesh
.
public CfnMesh(Construct scope, string id, ICfnMeshProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnMeshProps
- resource properties.
CfnMesh(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnMesh(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnMesh(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnMesh(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The full Amazon Resource Name (ARN) for the mesh.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrMeshName
The name of the service mesh.
public virtual string AttrMeshName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: MeshName
AttrMeshOwner
The IAM account ID of the service mesh owner.
public virtual string AttrMeshOwner { get; }
Property Value
System.String
Remarks
If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with Shared Meshes .
CloudformationAttribute: MeshOwner
AttrResourceOwner
The IAM account ID of the resource owner.
public virtual string AttrResourceOwner { get; }
Property Value
System.String
Remarks
If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with Shared Meshes .
CloudformationAttribute: ResourceOwner
AttrUid
The unique identifier for the mesh.
public virtual string AttrUid { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Uid
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
MeshName
The name to use for the service mesh.
public virtual string MeshName { get; set; }
Property Value
System.String
Remarks
Spec
The service mesh specification to apply.
public virtual object Spec { get; set; }
Property Value
System.Object
Remarks
Tags
Optional metadata that you can apply to the service mesh to assist with categorization and organization.
public virtual TagManager Tags { get; }
Property Value
Remarks
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.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>