Class CfnRulePropsMixin
Resource Type definition for AWS::NetworkSecurityManager::Rule.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.NetworkSecurityManager
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnRulePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnRulePropsMixin Inherits Mixin Implements IMixin
Remarks
Creates and manages a Network Security Manager rule.
CloudformationResource: AWS::NetworkSecurityManager::Rule
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.NetworkSecurityManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnRulePropsMixin = new CfnRulePropsMixin(new CfnRuleMixinProps {
Configuration = "configuration",
FirewallType = "firewallType",
RuleDescription = "ruleDescription",
RuleName = "ruleName",
RuleType = "ruleType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnRulePropsMixin(ICfnRuleMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Resource Type definition for AWS::NetworkSecurityManager::Rule. |
| Props | Resource Type definition for AWS::NetworkSecurityManager::Rule. |
| Strategy | Resource Type definition for AWS::NetworkSecurityManager::Rule. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnRulePropsMixin(ICfnRuleMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::NetworkSecurityManager::Rule.
public CfnRulePropsMixin(ICfnRuleMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnRuleMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Creates and manages a Network Security Manager rule.
CloudformationResource: AWS::NetworkSecurityManager::Rule
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Resource Type definition for AWS::NetworkSecurityManager::Rule.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Creates and manages a Network Security Manager rule.
CloudformationResource: AWS::NetworkSecurityManager::Rule
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.NetworkSecurityManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnRulePropsMixin = new CfnRulePropsMixin(new CfnRuleMixinProps {
Configuration = "configuration",
FirewallType = "firewallType",
RuleDescription = "ruleDescription",
RuleName = "ruleName",
RuleType = "ruleType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Resource Type definition for AWS::NetworkSecurityManager::Rule.
protected virtual ICfnRuleMixinProps Props { get; }
Property Value
Remarks
Creates and manages a Network Security Manager rule.
CloudformationResource: AWS::NetworkSecurityManager::Rule
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.NetworkSecurityManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnRulePropsMixin = new CfnRulePropsMixin(new CfnRuleMixinProps {
Configuration = "configuration",
FirewallType = "firewallType",
RuleDescription = "ruleDescription",
RuleName = "ruleName",
RuleType = "ruleType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Resource Type definition for AWS::NetworkSecurityManager::Rule.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
Creates and manages a Network Security Manager rule.
CloudformationResource: AWS::NetworkSecurityManager::Rule
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.NetworkSecurityManager;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnRulePropsMixin = new CfnRulePropsMixin(new CfnRuleMixinProps {
Configuration = "configuration",
FirewallType = "firewallType",
RuleDescription = "ruleDescription",
RuleName = "ruleName",
RuleType = "ruleType",
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
Creates and manages a Network Security Manager rule.
CloudformationResource: AWS::NetworkSecurityManager::Rule
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
Creates and manages a Network Security Manager rule.
CloudformationResource: AWS::NetworkSecurityManager::Rule
Mixin: true
ExampleMetadata: fixture=_generated