Class CfnResourceGroupPropsMixin
The AWS::Inspector::ResourceGroup resource is used to create Amazon Inspector resource groups.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Inspector.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnResourceGroupPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnResourceGroupPropsMixin Inherits Mixin Implements IMixin
Remarks
A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
CloudformationResource: AWS::Inspector::ResourceGroup
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Inspector.Mixins;
var cfnResourceGroupPropsMixin = new CfnResourceGroupPropsMixin(new CfnResourceGroupMixinProps {
ResourceGroupTags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnResourceGroupPropsMixin(ICfnResourceGroupMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The |
| Props | The |
| Strategy | The |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnResourceGroupPropsMixin(ICfnResourceGroupMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Inspector::ResourceGroup.
public CfnResourceGroupPropsMixin(ICfnResourceGroupMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnResourceGroupMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
CloudformationResource: AWS::Inspector::ResourceGroup
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::Inspector::ResourceGroup resource is used to create Amazon Inspector resource groups.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
CloudformationResource: AWS::Inspector::ResourceGroup
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Inspector.Mixins;
var cfnResourceGroupPropsMixin = new CfnResourceGroupPropsMixin(new CfnResourceGroupMixinProps {
ResourceGroupTags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
The AWS::Inspector::ResourceGroup resource is used to create Amazon Inspector resource groups.
protected virtual ICfnResourceGroupMixinProps Props { get; }
Property Value
Remarks
A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
CloudformationResource: AWS::Inspector::ResourceGroup
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Inspector.Mixins;
var cfnResourceGroupPropsMixin = new CfnResourceGroupPropsMixin(new CfnResourceGroupMixinProps {
ResourceGroupTags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
The AWS::Inspector::ResourceGroup resource is used to create Amazon Inspector resource groups.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
CloudformationResource: AWS::Inspector::ResourceGroup
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Inspector.Mixins;
var cfnResourceGroupPropsMixin = new CfnResourceGroupPropsMixin(new CfnResourceGroupMixinProps {
ResourceGroupTags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
CloudformationResource: AWS::Inspector::ResourceGroup
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
A resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target.
CloudformationResource: AWS::Inspector::ResourceGroup
Mixin: true
ExampleMetadata: fixture=_generated