interface CfnMonitorProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkFlowMonitor.CfnMonitorProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkflowmonitor#CfnMonitorProps |
Java | software.amazon.awscdk.services.networkflowmonitor.CfnMonitorProps |
Python | aws_cdk.aws_networkflowmonitor.CfnMonitorProps |
TypeScript | aws-cdk-lib » aws_networkflowmonitor » CfnMonitorProps |
Properties for defining a CfnMonitor.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkflowmonitor as networkflowmonitor } from 'aws-cdk-lib';
const cfnMonitorProps: networkflowmonitor.CfnMonitorProps = {
localResources: [{
identifier: 'identifier',
type: 'type',
}],
monitorName: 'monitorName',
// the properties below are optional
remoteResources: [{
identifier: 'identifier',
type: 'type',
}],
scopeArn: 'scopeArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| local | IResolvable | (IResolvable | Monitor)[] | The local resources to monitor. |
| monitor | string | The name of the monitor. |
| remote | IResolvable | (IResolvable | Monitor)[] | The remote resources to monitor. |
| scope | string | The Amazon Resource Name (ARN) of the scope for the monitor. |
| tags? | Cfn[] | The tags for the monitor. |
localResources
Type:
IResolvable | (IResolvable | Monitor)[]
The local resources to monitor.
monitorName
Type:
string
The name of the monitor.
remoteResources?
Type:
IResolvable | (IResolvable | Monitor)[]
(optional)
The remote resources to monitor.
scopeArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the scope for the monitor.
tags?
Type:
Cfn[]
(optional)
The tags for the monitor.

.NET
Go
Java
Python
TypeScript