Class CfnMesh.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnMesh.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMesh>
- Enclosing class:
- CfnMesh
@Stability(Stable)
public static final class CfnMesh.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMesh>
A fluent builder for
CfnMesh
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnMesh.Builder
The name to use for the service mesh.spec
(IResolvable spec) The service mesh specification to apply.spec
(CfnMesh.MeshSpecProperty spec) The service mesh specification to apply.Optional metadata that you can apply to the service mesh to assist with categorization and organization.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnMesh.Builder
.
-
meshName
The name to use for the service mesh.- Parameters:
meshName
- The name to use for the service mesh. This parameter is required.- Returns:
this
-
spec
The service mesh specification to apply.- Parameters:
spec
- The service mesh specification to apply. This parameter is required.- Returns:
this
-
spec
The service mesh specification to apply.- Parameters:
spec
- The service mesh specification to apply. This parameter is required.- Returns:
this
-
tags
Optional metadata that you can apply to the service mesh 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.
- Parameters:
tags
- Optional metadata that you can apply to the service mesh to assist with categorization and organization. This parameter is required.- Returns:
this
-
build
-