1. Packages
  2. AWS Native
  3. API Docs
  4. backup
  5. getBackupPlan

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

aws-native.backup.getBackupPlan

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Resource Type definition for AWS::Backup::BackupPlan

    Using getBackupPlan

    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 getBackupPlan(args: GetBackupPlanArgs, opts?: InvokeOptions): Promise<GetBackupPlanResult>
    function getBackupPlanOutput(args: GetBackupPlanOutputArgs, opts?: InvokeOptions): Output<GetBackupPlanResult>
    def get_backup_plan(backup_plan_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetBackupPlanResult
    def get_backup_plan_output(backup_plan_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetBackupPlanResult]
    func LookupBackupPlan(ctx *Context, args *LookupBackupPlanArgs, opts ...InvokeOption) (*LookupBackupPlanResult, error)
    func LookupBackupPlanOutput(ctx *Context, args *LookupBackupPlanOutputArgs, opts ...InvokeOption) LookupBackupPlanResultOutput

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

    public static class GetBackupPlan 
    {
        public static Task<GetBackupPlanResult> InvokeAsync(GetBackupPlanArgs args, InvokeOptions? opts = null)
        public static Output<GetBackupPlanResult> Invoke(GetBackupPlanInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBackupPlanResult> getBackupPlan(GetBackupPlanArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:backup:getBackupPlan
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getBackupPlan Result

    The following output properties are available:

    Supporting Types

    BackupPlanAdvancedBackupSettingResourceType

    BackupOptions interface{}
    ResourceType string

    BackupPlanBackupRuleResourceType

    BackupPlanCopyActionResourceType

    BackupPlanLifecycleResourceType

    BackupPlanResourceType

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi