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.Builder
A 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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
-
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
-
build
-