We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
A Source Network resource represents a VPC that is protected by AWS Elastic Disaster Recovery.
Create SourceNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceNetwork(name: string, args: SourceNetworkArgs, opts?: CustomResourceOptions);@overload
def SourceNetwork(resource_name: str,
args: SourceNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
origin_account_id: Optional[str] = None,
origin_region: Optional[str] = None,
vpc_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewSourceNetwork(ctx *Context, name string, args SourceNetworkArgs, opts ...ResourceOption) (*SourceNetwork, error)public SourceNetwork(string name, SourceNetworkArgs args, CustomResourceOptions? opts = null)
public SourceNetwork(String name, SourceNetworkArgs args)
public SourceNetwork(String name, SourceNetworkArgs args, CustomResourceOptions options)
type: aws-native:drs:SourceNetwork
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_drs_source_network" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SourceNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SourceNetworkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SourceNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceNetworkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SourceNetwork Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SourceNetwork resource accepts the following input properties:
- Origin
Account stringId - The account ID containing the VPC to protect.
- Origin
Region string - The region containing the VPC to protect.
- Vpc
Id string - The VPC ID to protect.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A set of tags associated with the Source Network.
- Origin
Account stringId - The account ID containing the VPC to protect.
- Origin
Region string - The region containing the VPC to protect.
- Vpc
Id string - The VPC ID to protect.
-
Tag
Args - A set of tags associated with the Source Network.
- origin_
account_ stringid - The account ID containing the VPC to protect.
- origin_
region string - The region containing the VPC to protect.
- vpc_
id string - The VPC ID to protect.
- list(object)
- A set of tags associated with the Source Network.
- origin
Account StringId - The account ID containing the VPC to protect.
- origin
Region String - The region containing the VPC to protect.
- vpc
Id String - The VPC ID to protect.
- List<Tag>
- A set of tags associated with the Source Network.
- origin
Account stringId - The account ID containing the VPC to protect.
- origin
Region string - The region containing the VPC to protect.
- vpc
Id string - The VPC ID to protect.
- Tag[]
- A set of tags associated with the Source Network.
- origin_
account_ strid - 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.
-
Sequence[Tag
Args] - A set of tags associated with the Source Network.
- origin
Account StringId - The account ID containing the VPC to protect.
- origin
Region String - The region containing the VPC to protect.
- vpc
Id String - The VPC ID to protect.
- List<Property Map>
- A set of tags associated with the Source Network.
Outputs
All input properties are implicitly available as output properties. Additionally, the SourceNetwork resource produces the following output properties:
- Arn string
- The ARN of the Source Network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Source
Network stringId - The ID of the Source Network.
- Arn string
- The ARN of the Source Network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Source
Network stringId - The ID of the Source Network.
- arn string
- The ARN of the Source Network.
- id string
- The provider-assigned unique ID for this managed resource.
- source_
network_ stringid - The ID of the Source Network.
- arn String
- The ARN of the Source Network.
- id String
- The provider-assigned unique ID for this managed resource.
- source
Network StringId - The ID of the Source Network.
- arn string
- The ARN of the Source Network.
- id string
- The provider-assigned unique ID for this managed resource.
- source
Network stringId - The ID of the Source Network.
- arn str
- The ARN of the Source Network.
- id str
- The provider-assigned unique ID for this managed resource.
- source_
network_ strid - The ID of the Source Network.
- arn String
- The ARN of the Source Network.
- id String
- The provider-assigned unique ID for this managed resource.
- source
Network StringId - The ID of the Source Network.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi