1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. drs
  6. SourceNetwork

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
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:

    OriginAccountId string
    The account ID containing the VPC to protect.
    OriginRegion string
    The region containing the VPC to protect.
    VpcId string
    The VPC ID to protect.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A set of tags associated with the Source Network.
    OriginAccountId string
    The account ID containing the VPC to protect.
    OriginRegion string
    The region containing the VPC to protect.
    VpcId string
    The VPC ID to protect.
    Tags TagArgs
    A set of tags associated with the Source Network.
    origin_account_id string
    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.
    tags list(object)
    A set of tags associated with the Source Network.
    originAccountId String
    The account ID containing the VPC to protect.
    originRegion String
    The region containing the VPC to protect.
    vpcId String
    The VPC ID to protect.
    tags List<Tag>
    A set of tags associated with the Source Network.
    originAccountId string
    The account ID containing the VPC to protect.
    originRegion string
    The region containing the VPC to protect.
    vpcId string
    The VPC ID to protect.
    tags Tag[]
    A set of tags associated with the Source Network.
    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 Sequence[TagArgs]
    A set of tags associated with the Source Network.
    originAccountId String
    The account ID containing the VPC to protect.
    originRegion String
    The region containing the VPC to protect.
    vpcId String
    The VPC ID to protect.
    tags 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.
    SourceNetworkId string
    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.
    SourceNetworkId string
    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_id string
    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.
    sourceNetworkId String
    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.
    sourceNetworkId string
    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_id str
    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.
    sourceNetworkId String
    The ID of the Source Network.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial