@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:59.165Z")
public interface CfnVirtualServiceProps
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.*; CfnVirtualServiceProps cfnVirtualServiceProps = CfnVirtualServiceProps.builder() .meshName("meshName") .spec(VirtualServiceSpecProperty.builder() .provider(VirtualServiceProviderProperty.builder() .virtualNode(VirtualNodeServiceProviderProperty.builder() .virtualNodeName("virtualNodeName") .build()) .virtualRouter(VirtualRouterServiceProviderProperty.builder() .virtualRouterName("virtualRouterName") .build()) .build()) .build()) .virtualServiceName("virtualServiceName") // the properties below are optional .meshOwner("meshOwner") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVirtualServiceProps.Builder
A builder for
CfnVirtualServiceProps |
static class |
CfnVirtualServiceProps.Jsii$Proxy
An implementation for
CfnVirtualServiceProps |
Modifier and Type | Method and Description |
---|---|
static CfnVirtualServiceProps.Builder |
builder() |
java.lang.String |
getMeshName()
The name of the service mesh to create the virtual service in.
|
default java.lang.String |
getMeshOwner()
The AWS IAM account ID of the service mesh owner.
|
java.lang.Object |
getSpec()
The virtual service specification to apply.
|
default java.util.List<CfnTag> |
getTags()
Optional metadata that you can apply to the virtual service to assist with categorization and organization.
|
java.lang.String |
getVirtualServiceName()
The name to use for the virtual service.
|
java.lang.String getMeshName()
java.lang.Object getSpec()
java.lang.String getVirtualServiceName()
default java.lang.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 .
default java.util.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.
static CfnVirtualServiceProps.Builder builder()
CfnVirtualServiceProps.Builder
of CfnVirtualServiceProps