ProtectionGroupArgs

data class ProtectionGroupArgs(val aggregation: Output<ProtectionGroupAggregation>? = null, val members: Output<List<String>>? = null, val pattern: Output<ProtectionGroupPattern>? = null, val protectionGroupId: Output<String>? = null, val resourceType: Output<ProtectionGroupResourceType>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<ProtectionGroupArgs>

A grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives.

Example Usage

Example

No Java example available.

Example

No Java example available.

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
constructor(aggregation: Output<ProtectionGroupAggregation>? = null, members: Output<List<String>>? = null, pattern: Output<ProtectionGroupPattern>? = null, protectionGroupId: Output<String>? = null, resourceType: Output<ProtectionGroupResourceType>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard

Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.

Link copied to clipboard
val members: Output<List<String>>? = null

The Amazon Resource Names (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.

Link copied to clipboard
val pattern: Output<ProtectionGroupPattern>? = null

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.

Link copied to clipboard
val protectionGroupId: Output<String>? = null

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.

Link copied to clipboard

The resource type to include in the protection group. All protected resources of this type are included in the protection group. Newly protected resources of this type are automatically added to the group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

One or more tag key-value pairs for the Protection object.

Functions

Link copied to clipboard
open override fun toJava(): ProtectionGroupArgs