Skip to content
v2.273.0

CfnScopeProps Struct ​

Properties for defining a CfnScope.

Example ​

ts
// 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 ​

tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The tags for the scope.
targetsIResolvable | IResolvable | CfnScope.TargetResourceProperty[]targetstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TargetResourceProperty]]]targetsIResolvableTargetsIResolvableTargetsinterface{}required#
The targets for the scope.

Used as props by ​