Skip to content
v2.273.0

CfnSourceNetworkProps Struct ​

Properties for defining a CfnSourceNetwork.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_drs as drs } from 'aws-cdk-lib';
const cfnSourceNetworkProps: drs.CfnSourceNetworkProps = {
  originAccountId: 'originAccountId',
  originRegion: 'originRegion',
  vpcId: 'vpcId',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

originAccountIdstringorigin_account_idstroriginAccountIdStringOriginAccountIdstringOriginAccountId*stringrequired#
The account ID containing the VPC to protect.
originRegionstringorigin_regionstroriginRegionStringOriginRegionstringOriginRegion*stringrequired#
The region containing the VPC to protect.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
A set of tags associated with the Source Network.
vpcIdstringvpc_idstrvpcIdStringVpcIdstringVpcId*stringrequired#
The VPC ID to protect.

Used as props by ​