@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.526Z") @Stability(value=Stable) public interface CfnVirtualRouterProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
CfnVirtualRouterProps cfnVirtualRouterProps = CfnVirtualRouterProps.builder()
.meshName("meshName")
.spec(VirtualRouterSpecProperty.builder()
.listeners(List.of(VirtualRouterListenerProperty.builder()
.portMapping(PortMappingProperty.builder()
.port(123)
.protocol("protocol")
.build())
.build()))
.build())
// the properties below are optional
.meshOwner("meshOwner")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.virtualRouterName("virtualRouterName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualRouterProps.Builder
A builder for
CfnVirtualRouterProps |
static class |
CfnVirtualRouterProps.Jsii$Proxy
An implementation for
CfnVirtualRouterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualRouterProps.Builder |
builder() |
String |
getMeshName()
The name of the service mesh to create the virtual router in.
|
default String |
getMeshOwner()
The AWS IAM account ID of the service mesh owner.
|
Object |
getSpec()
The virtual router specification to apply.
|
default List<CfnTag> |
getTags()
Optional metadata that you can apply to the virtual router to assist with categorization and organization.
|
default String |
getVirtualRouterName()
The name to use for the virtual router.
|
@Stability(value=Stable) @NotNull String getMeshName()
@Stability(value=Stable) @NotNull Object getSpec()
@Stability(value=Stable) @Nullable default String getMeshOwner()
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 .
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
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.
@Stability(value=Stable) @Nullable default String getVirtualRouterName()
@Stability(value=Stable) static CfnVirtualRouterProps.Builder builder()
CfnVirtualRouterProps.Builder of CfnVirtualRouterPropsCopyright © 2022. All rights reserved.