ProtectionGroupArgs constructor

const ProtectionGroupArgs({
  1. required Input<String> aggregation,
  2. Input<List<String>?>? members,
  3. required Input<String> pattern,
  4. required Input<String> protectionGroupId,
  5. Input<String?>? resourceType,
  6. Input<Map<String, String>?>? tags,
})

Creates a new ProtectionGroupArgs. aggregation Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events. members ARNs of the resources to include in the protection group. You must set this when you set pattern to ARBITRARY and you must not set it for any other pattern setting. pattern The criteria to use to choose the protected resources for inclusion in the group. protectionGroupId The name of the protection group. resourceType The resource type to include in the protection group. You must set this when you set pattern to BY_RESOURCE_TYPE and you must not set it for any other pattern setting. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Implementation

const ProtectionGroupArgs({
  required this.aggregation,
  this.members,
  required this.pattern,
  required this.protectionGroupId,
  this.resourceType,
  this.tags,
});