Class CfnVirtualRouterPropsMixin
Creates a virtual router within a service mesh.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AppMesh
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnVirtualRouterPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnVirtualRouterPropsMixin Inherits Mixin Implements IMixin
Remarks
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers .
CloudformationResource: AWS::AppMesh::VirtualRouter
Mixin: true
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.CfnPropertyMixins.AWS.AppMesh;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVirtualRouterPropsMixin = new CfnVirtualRouterPropsMixin(new CfnVirtualRouterMixinProps {
MeshName = "meshName",
MeshOwner = "meshOwner",
Spec = new VirtualRouterSpecProperty {
Listeners = new [] { new VirtualRouterListenerProperty {
PortMapping = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
}
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VirtualRouterName = "virtualRouterName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnVirtualRouterPropsMixin(ICfnVirtualRouterMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a virtual router within a service mesh. |
| Props | Creates a virtual router within a service mesh. |
| Strategy | Creates a virtual router within a service mesh. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnVirtualRouterPropsMixin(ICfnVirtualRouterMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::AppMesh::VirtualRouter.
public CfnVirtualRouterPropsMixin(ICfnVirtualRouterMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnVirtualRouterMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers .
CloudformationResource: AWS::AppMesh::VirtualRouter
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a virtual router within a service mesh.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers .
CloudformationResource: AWS::AppMesh::VirtualRouter
Mixin: true
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.CfnPropertyMixins.AWS.AppMesh;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVirtualRouterPropsMixin = new CfnVirtualRouterPropsMixin(new CfnVirtualRouterMixinProps {
MeshName = "meshName",
MeshOwner = "meshOwner",
Spec = new VirtualRouterSpecProperty {
Listeners = new [] { new VirtualRouterListenerProperty {
PortMapping = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
}
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VirtualRouterName = "virtualRouterName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates a virtual router within a service mesh.
protected virtual ICfnVirtualRouterMixinProps Props { get; }
Property Value
Remarks
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers .
CloudformationResource: AWS::AppMesh::VirtualRouter
Mixin: true
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.CfnPropertyMixins.AWS.AppMesh;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVirtualRouterPropsMixin = new CfnVirtualRouterPropsMixin(new CfnVirtualRouterMixinProps {
MeshName = "meshName",
MeshOwner = "meshOwner",
Spec = new VirtualRouterSpecProperty {
Listeners = new [] { new VirtualRouterListenerProperty {
PortMapping = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
}
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VirtualRouterName = "virtualRouterName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates a virtual router within a service mesh.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers .
CloudformationResource: AWS::AppMesh::VirtualRouter
Mixin: true
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.CfnPropertyMixins.AWS.AppMesh;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnVirtualRouterPropsMixin = new CfnVirtualRouterPropsMixin(new CfnVirtualRouterMixinProps {
MeshName = "meshName",
MeshOwner = "meshOwner",
Spec = new VirtualRouterSpecProperty {
Listeners = new [] { new VirtualRouterListenerProperty {
PortMapping = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
}
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VirtualRouterName = "virtualRouterName"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers .
CloudformationResource: AWS::AppMesh::VirtualRouter
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
Specify a listener for any inbound traffic that your virtual router receives. Create a virtual router for each protocol and port that you need to route. Virtual routers handle traffic for one or more virtual services within your mesh. After you create your virtual router, create and associate routes for your virtual router that direct incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers .
CloudformationResource: AWS::AppMesh::VirtualRouter
Mixin: true
ExampleMetadata: fixture=_generated