Class CfnGroup.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.CfnGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroup>
- Enclosing class:
CfnGroup
@Stability(Stable)
public static final class CfnGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroup>
A fluent builder for
CfnGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnGroup.BuilderA name for the group.resourceArns(List<String> resourceArns) The ARNs of the canaries that you want to associate with this group.The list of key-value pairs that are associated with the group.
-
Method Details
-
create
@Stability(Stable) public static CfnGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGroup.Builder.
-
name
A name for the group. It can include any Unicode characters.The names for all groups in your account, across all Regions, must be unique.
- Parameters:
name- A name for the group. It can include any Unicode characters. This parameter is required.- Returns:
this- See Also:
-
resourceArns
The ARNs of the canaries that you want to associate with this group.- Parameters:
resourceArns- The ARNs of the canaries that you want to associate with this group. This parameter is required.- Returns:
this- See Also:
-
tags
The list of key-value pairs that are associated with the group.- Parameters:
tags- The list of key-value pairs that are associated with the group. This parameter is required.- Returns:
this- See Also:
-
build
-