interface CfnSourceNetworkProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.DRS.CfnSourceNetworkProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdrs#CfnSourceNetworkProps |
Java | software.amazon.awscdk.services.drs.CfnSourceNetworkProps |
Python | aws_cdk.aws_drs.CfnSourceNetworkProps |
TypeScript | aws-cdk-lib » aws_drs » CfnSourceNetworkProps |
Properties for defining a CfnSourceNetwork.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-sourcenetwork.html
Example
// 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
| Name | Type | Description |
|---|---|---|
| origin | string | The account ID containing the VPC to protect. |
| origin | string | The region containing the VPC to protect. |
| vpc | string | The VPC ID to protect. |
| tags? | Cfn[] | A set of tags associated with the Source Network. |
originAccountId
Type:
string
The account ID containing the VPC to protect.
originRegion
Type:
string
The region containing the VPC to protect.
vpcId
Type:
string
The VPC ID to protect.
tags?
Type:
Cfn[]
(optional)
A set of tags associated with the Source Network.

.NET
Go
Java
Python
TypeScript