Class CfnProtectionGroupMixinProps
Properties for CfnProtectionGroupPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Shield
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnProtectionGroupMixinProps : ICfnProtectionGroupMixinProps
Syntax (vb)
Public Class CfnProtectionGroupMixinProps Implements ICfnProtectionGroupMixinProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Shield;
var cfnProtectionGroupMixinProps = new CfnProtectionGroupMixinProps {
Aggregation = "aggregation",
Members = new [] { "members" },
Pattern = "pattern",
ProtectionGroupId = "protectionGroupId",
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnProtectionGroupMixinProps() | Properties for CfnProtectionGroupPropsMixin. |
Properties
| Aggregation | Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events. |
| Members | The ARNs (Amazon Resource Names) of the resources to include in the protection group. |
| 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. |
| Tags | Key:value pairs associated with an AWS resource. |
Constructors
CfnProtectionGroupMixinProps()
Properties for CfnProtectionGroupPropsMixin.
public CfnProtectionGroupMixinProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Shield;
var cfnProtectionGroupMixinProps = new CfnProtectionGroupMixinProps {
Aggregation = "aggregation",
Members = new [] { "members" },
Pattern = "pattern",
ProtectionGroupId = "protectionGroupId",
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
Aggregation
Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
public string? Aggregation { get; set; }
Property Value
Remarks
Members
The ARNs (Amazon Resource Names) of the resources to include in the protection group.
public string[]? Members { get; set; }
Property Value
string[]
Remarks
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.
public string? Pattern { get; set; }
Property Value
Remarks
You can include all resources that have protections, provide a list of resource ARNs (Amazon Resource Names), or include all resources of a specified resource type.
ProtectionGroupId
The name of the protection group.
public string? ProtectionGroupId { get; set; }
Property Value
Remarks
You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.
ResourceType
The resource type to include in the protection group.
public string? ResourceType { get; set; }
Property Value
Remarks
All protected resources of this type are included 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 pairs associated with an AWS resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each AWS resource.