CfnSourceNetworkProps
- class aws_cdk.aws_drs.CfnSourceNetworkProps(*, origin_account_id, origin_region, vpc_id, tags=None)
Bases:
objectProperties for defining a
CfnSourceNetwork.- Parameters:
origin_account_id (
str) – The account ID containing the VPC to protect.origin_region (
str) – The region containing the VPC to protect.vpc_id (
str) – The VPC ID to protect.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A set of tags associated with the Source Network.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-sourcenetwork.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_drs as drs cfn_source_network_props = drs.CfnSourceNetworkProps( origin_account_id="originAccountId", origin_region="originRegion", vpc_id="vpcId", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- origin_account_id
The account ID containing the VPC to protect.
- origin_region
The region containing the VPC to protect.
- tags
A set of tags associated with the Source Network.
- vpc_id
The VPC ID to protect.