ProtectionGroup class
A grouping of protected resources that you and AWS Shield Advanced can monitor as a collective. This resource grouping improves the accuracy of detection and reduces false positives.
Constructors
-
ProtectionGroup({required ProtectionGroupAggregation aggregation, required List<
String> members, required ProtectionGroupPattern pattern, required String protectionGroupId, ProtectedResourceType? resourceType}) -
ProtectionGroup.fromJson(Map<
String, dynamic> json) -
factory
Properties
- aggregation → ProtectionGroupAggregation
-
Defines how AWS Shield combines resource data for the group in order to
detect, mitigate, and report events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
members
→ List<
String> -
The Amazon Resource Names (ARNs) of the resources to include in the
protection group. You must set this when you set
Pattern
toARBITRARY
and you must not set it for any otherPattern
setting.final - pattern → ProtectionGroupPattern
-
The criteria to use to choose the protected resources for inclusion in the
group. You can include all resources that have protections, provide a list
of resource Amazon Resource Names (ARNs), or include all resources of a
specified resource type.
final
- protectionGroupId → String
-
The name of the protection group. You use this to identify the protection
group in lists and to manage the protection group, for example to update,
delete, or describe it.
final
- resourceType → ProtectedResourceType?
-
The resource type to include in the protection group. All protected
resources of this type are included in the protection group. You must set
this when you set
Pattern
toBY_RESOURCE_TYPE
and you must not set it for any otherPattern
setting.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited