Show / Hide Table of Contents

Interface ICfnVirtualRouterProps

Properties for defining a CfnVirtualRouter.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnVirtualRouterProps
Syntax (vb)
Public Interface ICfnVirtualRouterProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.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 cfnVirtualRouterProps = new CfnVirtualRouterProps {
                 MeshName = "meshName",
                 Spec = new VirtualRouterSpecProperty {
                     Listeners = new [] { new VirtualRouterListenerProperty {
                         PortMapping = new PortMappingProperty {
                             Port = 123,
                             Protocol = "protocol"
                         }
                     } }
                 },

                 // the properties below are optional
                 MeshOwner = "meshOwner",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VirtualRouterName = "virtualRouterName"
             };

Synopsis

Properties

MeshName

The name of the service mesh to create the virtual router in.

MeshOwner

The AWS IAM account ID of the service mesh owner.

Spec

The virtual router specification to apply.

Tags

Optional metadata that you can apply to the virtual router to assist with categorization and organization.

VirtualRouterName

The name to use for the virtual router.

Properties

MeshName

The name of the service mesh to create the virtual router in.

string MeshName { get; }
Property Value

string

Remarks

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

MeshOwner

The AWS IAM account ID of the service mesh owner.

string? MeshOwner { get; }
Property Value

string

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html#cfn-appmesh-virtualrouter-meshowner

Spec

The virtual router specification to apply.

object Spec { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnVirtualRouter.IVirtualRouterSpecProperty

Tags

Optional metadata that you can apply to the virtual router to assist with categorization and organization.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

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.

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

VirtualRouterName

The name to use for the virtual router.

string? VirtualRouterName { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html#cfn-appmesh-virtualrouter-virtualroutername

Back to top Generated by DocFX