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

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.

    Using getSourceNetwork

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSourceNetwork(args: GetSourceNetworkArgs, opts?: InvokeOptions): Promise<GetSourceNetworkResult>
    function getSourceNetworkOutput(args: GetSourceNetworkOutputArgs, opts?: InvokeOutputOptions): Output<GetSourceNetworkResult>
    def get_source_network(arn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSourceNetworkResult
    def get_source_network_output(arn: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetSourceNetworkResult]
    func LookupSourceNetwork(ctx *Context, args *LookupSourceNetworkArgs, opts ...InvokeOption) (*LookupSourceNetworkResult, error)
    func LookupSourceNetworkOutput(ctx *Context, args *LookupSourceNetworkOutputArgs, opts ...InvokeOption) LookupSourceNetworkResultOutput

    > Note: This function is named LookupSourceNetwork in the Go SDK.

    public static class GetSourceNetwork 
    {
        public static Task<GetSourceNetworkResult> InvokeAsync(GetSourceNetworkArgs args, InvokeOptions? opts = null)
        public static Output<GetSourceNetworkResult> Invoke(GetSourceNetworkInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetSourceNetworkResult> Invoke(GetSourceNetworkInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetSourceNetworkResult> getSourceNetwork(GetSourceNetworkArgs args, InvokeOptions options)
    public static Output<GetSourceNetworkResult> getSourceNetwork(GetSourceNetworkArgs args, InvokeOptions options)
    public static Output<GetSourceNetworkResult> getSourceNetwork(GetSourceNetworkArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:drs:getSourceNetwork
      arguments:
        # arguments dictionary
    data "aws-native_drs_get_source_network" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The ARN of the Source Network.
    Arn string
    The ARN of the Source Network.
    arn string
    The ARN of the Source Network.
    arn String
    The ARN of the Source Network.
    arn string
    The ARN of the Source Network.
    arn str
    The ARN of the Source Network.
    arn String
    The ARN of the Source Network.

    getSourceNetwork Result

    The following output properties are available:

    Arn string
    The ARN of the Source Network.
    SourceNetworkId string
    The ID of the Source Network.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A set of tags associated with the Source Network.
    Arn string
    The ARN of the Source Network.
    SourceNetworkId string
    The ID of the Source Network.
    Tags Tag
    A set of tags associated with the Source Network.
    arn string
    The ARN of the Source Network.
    source_network_id string
    The ID of the Source Network.
    tags list(object)
    A set of tags associated with the Source Network.
    arn String
    The ARN of the Source Network.
    sourceNetworkId String
    The ID of the Source Network.
    tags List<Tag>
    A set of tags associated with the Source Network.
    arn string
    The ARN of the Source Network.
    sourceNetworkId string
    The ID of the Source Network.
    tags Tag[]
    A set of tags associated with the Source Network.
    arn str
    The ARN of the Source Network.
    source_network_id str
    The ID of the Source Network.
    tags Sequence[root_Tag]
    A set of tags associated with the Source Network.
    arn String
    The ARN of the Source Network.
    sourceNetworkId String
    The ID of the Source Network.
    tags List<Property Map>
    A set of tags associated with the Source Network.

    Supporting Types

    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 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