CfnMonitorPropsMixin
- class aws_cdk.cfn_property_mixins.aws_networkflowmonitor.CfnMonitorPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a monitor for specific network flows between local and remote resources to monitor network performance for workloads.
- See:
- CloudformationResource:
AWS::NetworkFlowMonitor::Monitor
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_networkflowmonitor as networkflowmonitor import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_monitor_props_mixin = networkflowmonitor.CfnMonitorPropsMixin(networkflowmonitor.CfnMonitorMixinProps( local_resources=[networkflowmonitor.CfnMonitorPropsMixin.MonitorLocalResourceProperty( identifier="identifier", type="type" )], monitor_name="monitorName", remote_resources=[networkflowmonitor.CfnMonitorPropsMixin.MonitorRemoteResourceProperty( identifier="identifier", type="type" )], scope_arn="scopeArn", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::NetworkFlowMonitor::Monitor.- Parameters:
props (
Union[CfnMonitorMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['localResources', 'monitorName', 'remoteResources', 'scopeArn', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
MonitorLocalResourceProperty
- class CfnMonitorPropsMixin.MonitorLocalResourceProperty(*, identifier=None, type=None)
Bases:
objectA local resource is the host where the agent is installed.
- Parameters:
identifier (
Optional[str]) – The identifier of the local resource.type (
Optional[str]) – The type of the local resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_networkflowmonitor as networkflowmonitor monitor_local_resource_property = networkflowmonitor.CfnMonitorPropsMixin.MonitorLocalResourceProperty( identifier="identifier", type="type" )
Attributes
- identifier
The identifier of the local resource.
MonitorRemoteResourceProperty
- class CfnMonitorPropsMixin.MonitorRemoteResourceProperty(*, identifier=None, type=None)
Bases:
objectA remote resource is the other endpoint in a network flow.
- Parameters:
identifier (
Optional[str]) – The identifier of the remote resource.type (
Optional[str]) – The type of the remote resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_networkflowmonitor as networkflowmonitor monitor_remote_resource_property = networkflowmonitor.CfnMonitorPropsMixin.MonitorRemoteResourceProperty( identifier="identifier", type="type" )
Attributes
- identifier
The identifier of the remote resource.