interface CfnScopeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkFlowMonitor.CfnScopeProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkflowmonitor#CfnScopeProps |
Java | software.amazon.awscdk.services.networkflowmonitor.CfnScopeProps |
Python | aws_cdk.aws_networkflowmonitor.CfnScopeProps |
TypeScript | aws-cdk-lib » aws_networkflowmonitor » CfnScopeProps |
Properties for defining a CfnScope.
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 cfnScopeProps: networkflowmonitor.CfnScopeProps = {
targets: [{
region: 'region',
targetIdentifier: {
targetId: {
accountId: 'accountId',
},
targetType: 'targetType',
},
}],
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| targets | IResolvable | (IResolvable | Target)[] | The targets for the scope. |
| tags? | Cfn[] | The tags for the scope. |
targets
Type:
IResolvable | (IResolvable | Target)[]
The targets for the scope.
tags?
Type:
Cfn[]
(optional)
The tags for the scope.

.NET
Go
Java
Python
TypeScript