1. Packages
  2. AWS
  3. API Docs
  4. arcregionswitch
  5. getPlan
AWS v7.19.0 published on Friday, Feb 6, 2026 by Pulumi
aws logo
AWS v7.19.0 published on Friday, Feb 6, 2026 by Pulumi

    Data source for managing an Amazon ARC Region Switch plan.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.arcregionswitch.getPlan({
        arn: "arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.arcregionswitch.get_plan(arn="arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/arcregionswitch"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := arcregionswitch.LookupPlan(ctx, &arcregionswitch.LookupPlanArgs{
    			Arn: "arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.ArcRegionSwitch.GetPlan.Invoke(new()
        {
            Arn = "arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.arcregionswitch.ArcregionswitchFunctions;
    import com.pulumi.aws.arcregionswitch.inputs.GetPlanArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = ArcregionswitchFunctions.getPlan(GetPlanArgs.builder()
                .arn("arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:arcregionswitch:getPlan
          arguments:
            arn: arn:aws:arcregionswitch:us-west-2:123456789012:plan/example-plan
    

    Using getPlan

    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 getPlan(args: GetPlanArgs, opts?: InvokeOptions): Promise<GetPlanResult>
    function getPlanOutput(args: GetPlanOutputArgs, opts?: InvokeOptions): Output<GetPlanResult>
    def get_plan(arn: Optional[str] = None,
                 region: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetPlanResult
    def get_plan_output(arn: Optional[pulumi.Input[str]] = None,
                 region: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetPlanResult]
    func LookupPlan(ctx *Context, args *LookupPlanArgs, opts ...InvokeOption) (*LookupPlanResult, error)
    func LookupPlanOutput(ctx *Context, args *LookupPlanOutputArgs, opts ...InvokeOption) LookupPlanResultOutput

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

    public static class GetPlan 
    {
        public static Task<GetPlanResult> InvokeAsync(GetPlanArgs args, InvokeOptions? opts = null)
        public static Output<GetPlanResult> Invoke(GetPlanInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPlanResult> getPlan(GetPlanArgs args, InvokeOptions options)
    public static Output<GetPlanResult> getPlan(GetPlanArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:arcregionswitch/getPlan:getPlan
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    ARN of the ARC Region Switch Plan.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Deprecated: This attribute will be removed in a future version of the provider.

    Arn string
    ARN of the ARC Region Switch Plan.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Deprecated: This attribute will be removed in a future version of the provider.

    arn String
    ARN of the ARC Region Switch Plan.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Deprecated: This attribute will be removed in a future version of the provider.

    arn string
    ARN of the ARC Region Switch Plan.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Deprecated: This attribute will be removed in a future version of the provider.

    arn str
    ARN of the ARC Region Switch Plan.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Deprecated: This attribute will be removed in a future version of the provider.

    arn String
    ARN of the ARC Region Switch Plan.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    Deprecated: This attribute will be removed in a future version of the provider.

    getPlan Result

    The following output properties are available:

    Arn string
    Description string
    Description of the plan.
    ExecutionRole string
    Execution role ARN for the plan.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the plan.
    Owner string
    Owner of the plan.
    PrimaryRegion string
    Primary region for the plan.
    RecoveryApproach string
    Recovery approach for the plan.
    RecoveryTimeObjectiveMinutes int
    Recovery time objective in minutes.
    Region string

    Deprecated: This attribute will be removed in a future version of the provider.

    Regions List<string>
    List of regions included in the plan.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    UpdatedAt string
    Timestamp when the plan was last updated (RFC3339 format).
    Version string
    Version of the plan.
    Arn string
    Description string
    Description of the plan.
    ExecutionRole string
    Execution role ARN for the plan.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the plan.
    Owner string
    Owner of the plan.
    PrimaryRegion string
    Primary region for the plan.
    RecoveryApproach string
    Recovery approach for the plan.
    RecoveryTimeObjectiveMinutes int
    Recovery time objective in minutes.
    Region string

    Deprecated: This attribute will be removed in a future version of the provider.

    Regions []string
    List of regions included in the plan.
    Tags map[string]string
    Map of tags assigned to the resource.
    UpdatedAt string
    Timestamp when the plan was last updated (RFC3339 format).
    Version string
    Version of the plan.
    arn String
    description String
    Description of the plan.
    executionRole String
    Execution role ARN for the plan.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the plan.
    owner String
    Owner of the plan.
    primaryRegion String
    Primary region for the plan.
    recoveryApproach String
    Recovery approach for the plan.
    recoveryTimeObjectiveMinutes Integer
    Recovery time objective in minutes.
    region String

    Deprecated: This attribute will be removed in a future version of the provider.

    regions List<String>
    List of regions included in the plan.
    tags Map<String,String>
    Map of tags assigned to the resource.
    updatedAt String
    Timestamp when the plan was last updated (RFC3339 format).
    version String
    Version of the plan.
    arn string
    description string
    Description of the plan.
    executionRole string
    Execution role ARN for the plan.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the plan.
    owner string
    Owner of the plan.
    primaryRegion string
    Primary region for the plan.
    recoveryApproach string
    Recovery approach for the plan.
    recoveryTimeObjectiveMinutes number
    Recovery time objective in minutes.
    region string

    Deprecated: This attribute will be removed in a future version of the provider.

    regions string[]
    List of regions included in the plan.
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    updatedAt string
    Timestamp when the plan was last updated (RFC3339 format).
    version string
    Version of the plan.
    arn str
    description str
    Description of the plan.
    execution_role str
    Execution role ARN for the plan.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the plan.
    owner str
    Owner of the plan.
    primary_region str
    Primary region for the plan.
    recovery_approach str
    Recovery approach for the plan.
    recovery_time_objective_minutes int
    Recovery time objective in minutes.
    region str

    Deprecated: This attribute will be removed in a future version of the provider.

    regions Sequence[str]
    List of regions included in the plan.
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    updated_at str
    Timestamp when the plan was last updated (RFC3339 format).
    version str
    Version of the plan.
    arn String
    description String
    Description of the plan.
    executionRole String
    Execution role ARN for the plan.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the plan.
    owner String
    Owner of the plan.
    primaryRegion String
    Primary region for the plan.
    recoveryApproach String
    Recovery approach for the plan.
    recoveryTimeObjectiveMinutes Number
    Recovery time objective in minutes.
    region String

    Deprecated: This attribute will be removed in a future version of the provider.

    regions List<String>
    List of regions included in the plan.
    tags Map<String>
    Map of tags assigned to the resource.
    updatedAt String
    Timestamp when the plan was last updated (RFC3339 format).
    version String
    Version of the plan.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.19.0 published on Friday, Feb 6, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate