Interface CfnVirtualServiceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualServiceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.022Z")
@Stability(Stable)
public interface CfnVirtualServiceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVirtualService
.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVirtualServiceProps
static final class
An implementation forCfnVirtualServiceProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the service mesh to create the virtual service in.default String
The AWS IAM account ID of the service mesh owner.getSpec()
The virtual service specification to apply.getTags()
Optional metadata that you can apply to the virtual service to assist with categorization and organization.The name to use for the virtual service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMeshName
The name of the service mesh to create the virtual service in. -
getSpec
The virtual service specification to apply. -
getVirtualServiceName
The name to use for the virtual service. -
getMeshOwner
The AWS IAM account ID of the service mesh owner.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 .
-
getTags
Optional metadata that you can apply to the virtual service to assist with categorization and organization.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.
-
builder
- Returns:
- a
CfnVirtualServiceProps.Builder
ofCfnVirtualServiceProps
-