Modifier and Type | Method and Description |
---|---|
CfnGroup |
build() |
static CfnGroup.Builder |
create(Construct scope,
java.lang.String id) |
CfnGroup.Builder |
name(java.lang.String name)
A name for the group.
|
CfnGroup.Builder |
resourceArns(java.util.List<java.lang.String> resourceArns)
The ARNs of the canaries that you want to associate with this group.
|
CfnGroup.Builder |
tags(java.util.List<? extends CfnTag> tags)
The list of key-value pairs that are associated with the group.
|
public static CfnGroup.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnGroup.Builder
.public CfnGroup.Builder name(java.lang.String name)
The names for all groups in your account, across all Regions, must be unique.
name
- A name for the group. It can include any Unicode characters. This parameter is required.this
public CfnGroup.Builder resourceArns(java.util.List<java.lang.String> resourceArns)
resourceArns
- The ARNs of the canaries that you want to associate with this group. This parameter is required.this
public CfnGroup.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The list of key-value pairs that are associated with the group. This parameter is required.this
public CfnGroup build()