Skip to content
v2.273.0

TargetResourceProperty Struct ​

A target resource in a scope, identified by a Region and target identifier.

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 targetResourceProperty: networkflowmonitor.CfnScope.TargetResourceProperty = {
  region: 'region',
  targetIdentifier: {
    targetId: {
      accountId: 'accountId',
    },
    targetType: 'targetType',
  },
};

Properties ​

regionstringregionstrregionStringRegionstringRegion*stringrequired#
The AWS Region for the target resource.
targetIdentifierIResolvable | CfnScope.TargetIdentifierPropertytarget_identifiertyping.Union[IResolvable, TargetIdentifierProperty]targetIdentifierIResolvableTargetIdentifierIResolvableTargetIdentifierinterface{}required#
A target identifier is a pair of identifying information for a scope target.