Class CfnProtectionGroupPropsMixin
Creates a grouping of protected resources so they can be handled as a collective.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Shield
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnProtectionGroupPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnProtectionGroupPropsMixin Inherits Mixin Implements IMixin
Remarks
This resource grouping improves the accuracy of detection and reduces false positives.
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
CloudformationResource: AWS::Shield::ProtectionGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnProtectionGroupPropsMixin = new CfnProtectionGroupPropsMixin(new CfnProtectionGroupMixinProps {
Aggregation = "aggregation",
Members = new [] { "members" },
Pattern = "pattern",
ProtectionGroupId = "protectionGroupId",
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnProtectionGroupPropsMixin(ICfnProtectionGroupMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a grouping of protected resources so they can be handled as a collective. |
| Props | Creates a grouping of protected resources so they can be handled as a collective. |
| Strategy | Creates a grouping of protected resources so they can be handled as a collective. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnProtectionGroupPropsMixin(ICfnProtectionGroupMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Shield::ProtectionGroup.
public CfnProtectionGroupPropsMixin(ICfnProtectionGroupMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnProtectionGroupMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
This resource grouping improves the accuracy of detection and reduces false positives.
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
CloudformationResource: AWS::Shield::ProtectionGroup
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a grouping of protected resources so they can be handled as a collective.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
This resource grouping improves the accuracy of detection and reduces false positives.
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
CloudformationResource: AWS::Shield::ProtectionGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnProtectionGroupPropsMixin = new CfnProtectionGroupPropsMixin(new CfnProtectionGroupMixinProps {
Aggregation = "aggregation",
Members = new [] { "members" },
Pattern = "pattern",
ProtectionGroupId = "protectionGroupId",
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates a grouping of protected resources so they can be handled as a collective.
protected virtual ICfnProtectionGroupMixinProps Props { get; }
Property Value
Remarks
This resource grouping improves the accuracy of detection and reduces false positives.
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
CloudformationResource: AWS::Shield::ProtectionGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnProtectionGroupPropsMixin = new CfnProtectionGroupPropsMixin(new CfnProtectionGroupMixinProps {
Aggregation = "aggregation",
Members = new [] { "members" },
Pattern = "pattern",
ProtectionGroupId = "protectionGroupId",
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates a grouping of protected resources so they can be handled as a collective.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
This resource grouping improves the accuracy of detection and reduces false positives.
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
CloudformationResource: AWS::Shield::ProtectionGroup
Mixin: true
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;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnProtectionGroupPropsMixin = new CfnProtectionGroupPropsMixin(new CfnProtectionGroupMixinProps {
Aggregation = "aggregation",
Members = new [] { "members" },
Pattern = "pattern",
ProtectionGroupId = "protectionGroupId",
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
This resource grouping improves the accuracy of detection and reduces false positives.
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
CloudformationResource: AWS::Shield::ProtectionGroup
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
This resource grouping improves the accuracy of detection and reduces false positives.
To configure this resource through CloudFormation , you must be subscribed to AWS Shield Advanced . You can subscribe through the Shield Advanced console and through the APIs. For more information, see Subscribe to AWS Shield Advanced .
CloudformationResource: AWS::Shield::ProtectionGroup
Mixin: true
ExampleMetadata: fixture=_generated