Class CfnMonitorPropsMixin
An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.NetworkMonitor
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnMonitorPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnMonitorPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::NetworkMonitor::Monitor
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.NetworkMonitor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMonitorPropsMixin = new CfnMonitorPropsMixin(new CfnMonitorMixinProps {
AggregationPeriod = 123,
MonitorName = "monitorName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnMonitorPropsMixin(ICfnMonitorMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address. |
| Props | An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address. |
| Strategy | An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnMonitorPropsMixin(ICfnMonitorMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::NetworkMonitor::Monitor.
public CfnMonitorPropsMixin(ICfnMonitorMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnMonitorMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::NetworkMonitor::Monitor
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::NetworkMonitor::Monitor
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.NetworkMonitor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMonitorPropsMixin = new CfnMonitorPropsMixin(new CfnMonitorMixinProps {
AggregationPeriod = 123,
MonitorName = "monitorName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address.
protected virtual ICfnMonitorMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::NetworkMonitor::Monitor
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.NetworkMonitor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMonitorPropsMixin = new CfnMonitorPropsMixin(new CfnMonitorMixinProps {
AggregationPeriod = 123,
MonitorName = "monitorName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
An Amazon CloudWatch Network Monitor resource that monitors network traffic between a source VPC subnet and a destination IP address.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::NetworkMonitor::Monitor
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.NetworkMonitor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnMonitorPropsMixin = new CfnMonitorPropsMixin(new CfnMonitorMixinProps {
AggregationPeriod = 123,
MonitorName = "monitorName",
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
CloudformationResource: AWS::NetworkMonitor::Monitor
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
CloudformationResource: AWS::NetworkMonitor::Monitor
Mixin: true
ExampleMetadata: fixture=_generated