aws-native logo
AWS Native v0.54.0, Mar 21 23

aws-native.backup.getBackupPlan

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