Show / Hide Table of Contents

Class CfnVirtualServiceProps

Properties for defining a CfnVirtualService.

Inheritance
object
CfnVirtualServiceProps
Implements
ICfnVirtualServiceProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVirtualServiceProps : ICfnVirtualServiceProps
Syntax (vb)
Public Class CfnVirtualServiceProps Implements ICfnVirtualServiceProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.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 cfnVirtualServiceProps = new CfnVirtualServiceProps {
                 MeshName = "meshName",
                 Spec = new VirtualServiceSpecProperty {
                     Provider = new VirtualServiceProviderProperty {
                         VirtualNode = new VirtualNodeServiceProviderProperty {
                             VirtualNodeName = "virtualNodeName"
                         },
                         VirtualRouter = new VirtualRouterServiceProviderProperty {
                             VirtualRouterName = "virtualRouterName"
                         }
                     }
                 },
                 VirtualServiceName = "virtualServiceName",

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

Synopsis

Constructors

CfnVirtualServiceProps()

Properties for defining a CfnVirtualService.

Properties

MeshName

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

MeshOwner

The AWS IAM account ID of the service mesh owner.

Spec

The virtual service specification to apply.

Tags

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

VirtualServiceName

The name to use for the virtual service.

Constructors

CfnVirtualServiceProps()

Properties for defining a CfnVirtualService.

public CfnVirtualServiceProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.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 cfnVirtualServiceProps = new CfnVirtualServiceProps {
                 MeshName = "meshName",
                 Spec = new VirtualServiceSpecProperty {
                     Provider = new VirtualServiceProviderProperty {
                         VirtualNode = new VirtualNodeServiceProviderProperty {
                             VirtualNodeName = "virtualNodeName"
                         },
                         VirtualRouter = new VirtualRouterServiceProviderProperty {
                             VirtualRouterName = "virtualRouterName"
                         }
                     }
                 },
                 VirtualServiceName = "virtualServiceName",

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

Properties

MeshName

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

public string MeshName { get; set; }
Property Value

string

Remarks

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

MeshOwner

The AWS IAM account ID of the service mesh owner.

public string? MeshOwner { get; set; }
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-virtualservice.html#cfn-appmesh-virtualservice-meshowner

Spec

The virtual service specification to apply.

public object Spec { get; set; }
Property Value

object

Remarks

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

Tags

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

public ICfnTag[]? Tags { get; set; }
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-virtualservice.html#cfn-appmesh-virtualservice-tags

VirtualServiceName

The name to use for the virtual service.

public string VirtualServiceName { get; set; }
Property Value

string

Remarks

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

Implements

ICfnVirtualServiceProps
Back to top Generated by DocFX