Skip to content
v2.274.0

CfnGroupProps Struct ​

Properties for defining a CfnGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_synthetics as synthetics } from 'aws-cdk-lib';
const cfnGroupProps: synthetics.CfnGroupProps = {
  name: 'name',

  // the properties below are optional
  resourceArns: ['resourceArns'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
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.

resourceArnsstring[]resource_arnstyping.List[str]resourceArnsList<String>ResourceArnsstring[]ResourceArns*[]*string#
The ARNs of the canaries that you want to associate with this group.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The list of key-value pairs that are associated with the group.