AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi
aws.backup.getFramework
Explore with Pulumi AI
Use this data source to get information on an existing backup framework.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.backup.getFramework({
    name: "my_example_backup_framework_name",
});
import pulumi
import pulumi_aws as aws
example = aws.backup.get_framework(name="my_example_backup_framework_name")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/backup"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := backup.LookupFramework(ctx, &backup.LookupFrameworkArgs{
			Name: "my_example_backup_framework_name",
		}, 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.Backup.GetFramework.Invoke(new()
    {
        Name = "my_example_backup_framework_name",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.BackupFunctions;
import com.pulumi.aws.backup.inputs.GetFrameworkArgs;
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 = BackupFunctions.getFramework(GetFrameworkArgs.builder()
            .name("my_example_backup_framework_name")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:backup:getFramework
      arguments:
        name: my_example_backup_framework_name
Using getFramework
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 getFramework(args: GetFrameworkArgs, opts?: InvokeOptions): Promise<GetFrameworkResult>
function getFrameworkOutput(args: GetFrameworkOutputArgs, opts?: InvokeOptions): Output<GetFrameworkResult>def get_framework(name: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  opts: Optional[InvokeOptions] = None) -> GetFrameworkResult
def get_framework_output(name: Optional[pulumi.Input[str]] = None,
                  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetFrameworkResult]func LookupFramework(ctx *Context, args *LookupFrameworkArgs, opts ...InvokeOption) (*LookupFrameworkResult, error)
func LookupFrameworkOutput(ctx *Context, args *LookupFrameworkOutputArgs, opts ...InvokeOption) LookupFrameworkResultOutput> Note: This function is named LookupFramework in the Go SDK.
public static class GetFramework 
{
    public static Task<GetFrameworkResult> InvokeAsync(GetFrameworkArgs args, InvokeOptions? opts = null)
    public static Output<GetFrameworkResult> Invoke(GetFrameworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFrameworkResult> getFramework(GetFrameworkArgs args, InvokeOptions options)
public static Output<GetFrameworkResult> getFramework(GetFrameworkArgs args, InvokeOptions options)
fn::invoke:
  function: aws:backup/getFramework:getFramework
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
 - Backup framework name.
 - Dictionary<string, string>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- Name string
 - Backup framework name.
 - map[string]string
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- name String
 - Backup framework name.
 - Map<String,String>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- name string
 - Backup framework name.
 - {[key: string]: string}
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- name str
 - Backup framework name.
 - Mapping[str, str]
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- name String
 - Backup framework name.
 - Map<String>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
getFramework Result
The following output properties are available:
- Arn string
 - ARN of the backup framework.
 - Controls
List<Get
Framework Control>  - One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
 - Creation
Time string - Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
 - Deployment
Status string - Deployment status of a framework. The statuses are: 
CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED|FAILED. - Description string
 - Description of the framework.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - Name of a parameter, for example, BackupPlanFrequency.
 - Status string
 - Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: 
ACTIVE,PARTIALLY_ACTIVE,INACTIVE,UNAVAILABLE. For more information refer to the AWS documentation for Framework Status - Dictionary<string, string>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- Arn string
 - ARN of the backup framework.
 - Controls
[]Get
Framework Control  - One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
 - Creation
Time string - Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
 - Deployment
Status string - Deployment status of a framework. The statuses are: 
CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED|FAILED. - Description string
 - Description of the framework.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - Name of a parameter, for example, BackupPlanFrequency.
 - Status string
 - Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: 
ACTIVE,PARTIALLY_ACTIVE,INACTIVE,UNAVAILABLE. For more information refer to the AWS documentation for Framework Status - map[string]string
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- arn String
 - ARN of the backup framework.
 - controls
List<Get
Framework Control>  - One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
 - creation
Time String - Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
 - deployment
Status String - Deployment status of a framework. The statuses are: 
CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED|FAILED. - description String
 - Description of the framework.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - Name of a parameter, for example, BackupPlanFrequency.
 - status String
 - Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: 
ACTIVE,PARTIALLY_ACTIVE,INACTIVE,UNAVAILABLE. For more information refer to the AWS documentation for Framework Status - Map<String,String>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- arn string
 - ARN of the backup framework.
 - controls
Get
Framework Control[]  - One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
 - creation
Time string - Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
 - deployment
Status string - Deployment status of a framework. The statuses are: 
CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED|FAILED. - description string
 - Description of the framework.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - name string
 - Name of a parameter, for example, BackupPlanFrequency.
 - status string
 - Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: 
ACTIVE,PARTIALLY_ACTIVE,INACTIVE,UNAVAILABLE. For more information refer to the AWS documentation for Framework Status - {[key: string]: string}
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- arn str
 - ARN of the backup framework.
 - controls
Sequence[Get
Framework Control]  - One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
 - creation_
time str - Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
 - deployment_
status str - Deployment status of a framework. The statuses are: 
CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED|FAILED. - description str
 - Description of the framework.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - name str
 - Name of a parameter, for example, BackupPlanFrequency.
 - status str
 - Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: 
ACTIVE,PARTIALLY_ACTIVE,INACTIVE,UNAVAILABLE. For more information refer to the AWS documentation for Framework Status - Mapping[str, str]
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- arn String
 - ARN of the backup framework.
 - controls List<Property Map>
 - One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.
 - creation
Time String - Date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).
 - deployment
Status String - Deployment status of a framework. The statuses are: 
CREATE_IN_PROGRESS|UPDATE_IN_PROGRESS|DELETE_IN_PROGRESS|COMPLETED|FAILED. - description String
 - Description of the framework.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - Name of a parameter, for example, BackupPlanFrequency.
 - status String
 - Framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: 
ACTIVE,PARTIALLY_ACTIVE,INACTIVE,UNAVAILABLE. For more information refer to the AWS documentation for Framework Status - Map<String>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
Supporting Types
GetFrameworkControl  
- Input
Parameters List<GetFramework Control Input Parameter>  - One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
 - Name string
 - Backup framework name.
 - Scopes
List<Get
Framework Control Scope>  - Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
 
- Input
Parameters []GetFramework Control Input Parameter  - One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
 - Name string
 - Backup framework name.
 - Scopes
[]Get
Framework Control Scope  - Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
 
- input
Parameters List<GetFramework Control Input Parameter>  - One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
 - name String
 - Backup framework name.
 - scopes
List<Get
Framework Control Scope>  - Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
 
- input
Parameters GetFramework Control Input Parameter[]  - One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
 - name string
 - Backup framework name.
 - scopes
Get
Framework Control Scope[]  - Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
 
- input_
parameters Sequence[GetFramework Control Input Parameter]  - One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
 - name str
 - Backup framework name.
 - scopes
Sequence[Get
Framework Control Scope]  - Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
 
- input
Parameters List<Property Map> - One or more input parameter blocks. An example of a control with two parameters is: "backup plan frequency is at least daily and the retention period is at least 1 year". The first parameter is daily. The second parameter is 1 year. Detailed below.
 - name String
 - Backup framework name.
 - scopes List<Property Map>
 - Scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. Detailed below.
 
GetFrameworkControlInputParameter    
GetFrameworkControlScope   
- Compliance
Resource List<string>Ids  - The ID of the only AWS resource that you want your control scope to contain.
 - Compliance
Resource List<string>Types  - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
 - Dictionary<string, string>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- Compliance
Resource []stringIds  - The ID of the only AWS resource that you want your control scope to contain.
 - Compliance
Resource []stringTypes  - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
 - map[string]string
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- compliance
Resource List<String>Ids  - The ID of the only AWS resource that you want your control scope to contain.
 - compliance
Resource List<String>Types  - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
 - Map<String,String>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- compliance
Resource string[]Ids  - The ID of the only AWS resource that you want your control scope to contain.
 - compliance
Resource string[]Types  - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
 - {[key: string]: string}
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- compliance_
resource_ Sequence[str]ids  - The ID of the only AWS resource that you want your control scope to contain.
 - compliance_
resource_ Sequence[str]types  - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
 - Mapping[str, str]
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
- compliance
Resource List<String>Ids  - The ID of the only AWS resource that you want your control scope to contain.
 - compliance
Resource List<String>Types  - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
 - Map<String>
 - Tag key-value pair applied to those AWS resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided.
 
Package Details
- Repository
 - AWS Classic pulumi/pulumi-aws
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
awsTerraform Provider.