AWS Classic

v5.16.0 published on Saturday, Sep 24, 2022 by Pulumi

Framework

Provides an AWS Backup Framework resource.

Note: For the Deployment Status of the Framework to be successful, please turn on resource tracking to enable AWS Config recording to track configuration changes of your backup resources. This can be done from the AWS Console.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Backup.Framework("example", new()
    {
        Controls = new[]
        {
            new Aws.Backup.Inputs.FrameworkControlArgs
            {
                InputParameters = new[]
                {
                    new Aws.Backup.Inputs.FrameworkControlInputParameterArgs
                    {
                        Name = "requiredRetentionDays",
                        Value = "35",
                    },
                },
                Name = "BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK",
            },
            new Aws.Backup.Inputs.FrameworkControlArgs
            {
                InputParameters = new[]
                {
                    new Aws.Backup.Inputs.FrameworkControlInputParameterArgs
                    {
                        Name = "requiredFrequencyUnit",
                        Value = "hours",
                    },
                    new Aws.Backup.Inputs.FrameworkControlInputParameterArgs
                    {
                        Name = "requiredRetentionDays",
                        Value = "35",
                    },
                    new Aws.Backup.Inputs.FrameworkControlInputParameterArgs
                    {
                        Name = "requiredFrequencyValue",
                        Value = "1",
                    },
                },
                Name = "BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK",
            },
            new Aws.Backup.Inputs.FrameworkControlArgs
            {
                Name = "BACKUP_RECOVERY_POINT_ENCRYPTED",
            },
            new Aws.Backup.Inputs.FrameworkControlArgs
            {
                Name = "BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN",
                Scope = new Aws.Backup.Inputs.FrameworkControlScopeArgs
                {
                    ComplianceResourceTypes = new[]
                    {
                        "EBS",
                    },
                },
            },
            new Aws.Backup.Inputs.FrameworkControlArgs
            {
                Name = "BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED",
            },
        },
        Description = "this is an example framework",
        Tags = 
        {
            { "Name", "Example Framework" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/backup"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := backup.NewFramework(ctx, "example", &backup.FrameworkArgs{
			Controls: backup.FrameworkControlArray{
				&backup.FrameworkControlArgs{
					InputParameters: backup.FrameworkControlInputParameterArray{
						&backup.FrameworkControlInputParameterArgs{
							Name:  pulumi.String("requiredRetentionDays"),
							Value: pulumi.String("35"),
						},
					},
					Name: pulumi.String("BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK"),
				},
				&backup.FrameworkControlArgs{
					InputParameters: backup.FrameworkControlInputParameterArray{
						&backup.FrameworkControlInputParameterArgs{
							Name:  pulumi.String("requiredFrequencyUnit"),
							Value: pulumi.String("hours"),
						},
						&backup.FrameworkControlInputParameterArgs{
							Name:  pulumi.String("requiredRetentionDays"),
							Value: pulumi.String("35"),
						},
						&backup.FrameworkControlInputParameterArgs{
							Name:  pulumi.String("requiredFrequencyValue"),
							Value: pulumi.String("1"),
						},
					},
					Name: pulumi.String("BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK"),
				},
				&backup.FrameworkControlArgs{
					Name: pulumi.String("BACKUP_RECOVERY_POINT_ENCRYPTED"),
				},
				&backup.FrameworkControlArgs{
					Name: pulumi.String("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN"),
					Scope: &backup.FrameworkControlScopeArgs{
						ComplianceResourceTypes: pulumi.StringArray{
							pulumi.String("EBS"),
						},
					},
				},
				&backup.FrameworkControlArgs{
					Name: pulumi.String("BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED"),
				},
			},
			Description: pulumi.String("this is an example framework"),
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example Framework"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.Framework;
import com.pulumi.aws.backup.FrameworkArgs;
import com.pulumi.aws.backup.inputs.FrameworkControlArgs;
import com.pulumi.aws.backup.inputs.FrameworkControlScopeArgs;
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) {
        var example = new Framework("example", FrameworkArgs.builder()        
            .controls(            
                FrameworkControlArgs.builder()
                    .inputParameters(FrameworkControlInputParameterArgs.builder()
                        .name("requiredRetentionDays")
                        .value("35")
                        .build())
                    .name("BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK")
                    .build(),
                FrameworkControlArgs.builder()
                    .inputParameters(                    
                        FrameworkControlInputParameterArgs.builder()
                            .name("requiredFrequencyUnit")
                            .value("hours")
                            .build(),
                        FrameworkControlInputParameterArgs.builder()
                            .name("requiredRetentionDays")
                            .value("35")
                            .build(),
                        FrameworkControlInputParameterArgs.builder()
                            .name("requiredFrequencyValue")
                            .value("1")
                            .build())
                    .name("BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK")
                    .build(),
                FrameworkControlArgs.builder()
                    .name("BACKUP_RECOVERY_POINT_ENCRYPTED")
                    .build(),
                FrameworkControlArgs.builder()
                    .name("BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN")
                    .scope(FrameworkControlScopeArgs.builder()
                        .complianceResourceTypes("EBS")
                        .build())
                    .build(),
                FrameworkControlArgs.builder()
                    .name("BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED")
                    .build())
            .description("this is an example framework")
            .tags(Map.of("Name", "Example Framework"))
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.backup.Framework("example",
    controls=[
        aws.backup.FrameworkControlArgs(
            input_parameters=[aws.backup.FrameworkControlInputParameterArgs(
                name="requiredRetentionDays",
                value="35",
            )],
            name="BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK",
        ),
        aws.backup.FrameworkControlArgs(
            input_parameters=[
                aws.backup.FrameworkControlInputParameterArgs(
                    name="requiredFrequencyUnit",
                    value="hours",
                ),
                aws.backup.FrameworkControlInputParameterArgs(
                    name="requiredRetentionDays",
                    value="35",
                ),
                aws.backup.FrameworkControlInputParameterArgs(
                    name="requiredFrequencyValue",
                    value="1",
                ),
            ],
            name="BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK",
        ),
        aws.backup.FrameworkControlArgs(
            name="BACKUP_RECOVERY_POINT_ENCRYPTED",
        ),
        aws.backup.FrameworkControlArgs(
            name="BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN",
            scope=aws.backup.FrameworkControlScopeArgs(
                compliance_resource_types=["EBS"],
            ),
        ),
        aws.backup.FrameworkControlArgs(
            name="BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED",
        ),
    ],
    description="this is an example framework",
    tags={
        "Name": "Example Framework",
    })
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.backup.Framework("Example", {
    controls: [
        {
            inputParameters: [{
                name: "requiredRetentionDays",
                value: "35",
            }],
            name: "BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK",
        },
        {
            inputParameters: [
                {
                    name: "requiredFrequencyUnit",
                    value: "hours",
                },
                {
                    name: "requiredRetentionDays",
                    value: "35",
                },
                {
                    name: "requiredFrequencyValue",
                    value: "1",
                },
            ],
            name: "BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK",
        },
        {
            name: "BACKUP_RECOVERY_POINT_ENCRYPTED",
        },
        {
            name: "BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN",
            scope: {
                complianceResourceTypes: ["EBS"],
            },
        },
        {
            name: "BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED",
        },
    ],
    description: "this is an example framework",
    tags: {
        Name: "Example Framework",
    },
});
resources:
  example:
    type: aws:backup:Framework
    properties:
      controls:
        - inputParameters:
            - name: requiredRetentionDays
              value: 35
          name: BACKUP_RECOVERY_POINT_MINIMUM_RETENTION_CHECK
        - inputParameters:
            - name: requiredFrequencyUnit
              value: hours
            - name: requiredRetentionDays
              value: 35
            - name: requiredFrequencyValue
              value: 1
          name: BACKUP_PLAN_MIN_FREQUENCY_AND_MIN_RETENTION_CHECK
        - name: BACKUP_RECOVERY_POINT_ENCRYPTED
        - name: BACKUP_RESOURCES_PROTECTED_BY_BACKUP_PLAN
          scope:
            complianceResourceTypes:
              - EBS
        - name: BACKUP_RECOVERY_POINT_MANUAL_DELETION_DISABLED
      description: this is an example framework
      tags:
        Name: Example Framework

Create a Framework Resource

new Framework(name: string, args: FrameworkArgs, opts?: CustomResourceOptions);
@overload
def Framework(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              controls: Optional[Sequence[FrameworkControlArgs]] = None,
              description: Optional[str] = None,
              name: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None)
@overload
def Framework(resource_name: str,
              args: FrameworkArgs,
              opts: Optional[ResourceOptions] = None)
func NewFramework(ctx *Context, name string, args FrameworkArgs, opts ...ResourceOption) (*Framework, error)
public Framework(string name, FrameworkArgs args, CustomResourceOptions? opts = null)
public Framework(String name, FrameworkArgs args)
public Framework(String name, FrameworkArgs args, CustomResourceOptions options)
type: aws:backup:Framework
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FrameworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FrameworkArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FrameworkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FrameworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FrameworkArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Framework Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Framework resource accepts the following input properties:

Controls List<FrameworkControlArgs>

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

Description string

The description of the framework with a maximum of 1,024 characters

Name string

The name of a parameter, for example, BackupPlanFrequency.

Tags Dictionary<string, string>

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

Controls []FrameworkControlArgs

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

Description string

The description of the framework with a maximum of 1,024 characters

Name string

The name of a parameter, for example, BackupPlanFrequency.

Tags map[string]string

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

controls List<FrameworkControlArgs>

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

description String

The description of the framework with a maximum of 1,024 characters

name String

The name of a parameter, for example, BackupPlanFrequency.

tags Map<String,String>

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

controls FrameworkControlArgs[]

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

description string

The description of the framework with a maximum of 1,024 characters

name string

The name of a parameter, for example, BackupPlanFrequency.

tags {[key: string]: string}

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

controls Sequence[FrameworkControlArgs]

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

description str

The description of the framework with a maximum of 1,024 characters

name str

The name of a parameter, for example, BackupPlanFrequency.

tags Mapping[str, str]

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

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.

description String

The description of the framework with a maximum of 1,024 characters

name String

The name of a parameter, for example, BackupPlanFrequency.

tags Map<String>

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

Outputs

All input properties are implicitly available as output properties. Additionally, the Framework resource produces the following output properties:

Arn string

The ARN of the backup framework.

CreationTime string

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

DeploymentStatus string

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

Id string

The provider-assigned unique ID for this managed resource.

Status string

A 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. For more information refer to the AWS documentation for Framework Status

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

The ARN of the backup framework.

CreationTime string

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

DeploymentStatus string

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

Id string

The provider-assigned unique ID for this managed resource.

Status string

A 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. For more information refer to the AWS documentation for Framework Status

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The ARN of the backup framework.

creationTime String

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deploymentStatus String

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

id String

The provider-assigned unique ID for this managed resource.

status String

A 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. For more information refer to the AWS documentation for Framework Status

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

The ARN of the backup framework.

creationTime string

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deploymentStatus string

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

id string

The provider-assigned unique ID for this managed resource.

status string

A 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. For more information refer to the AWS documentation for Framework Status

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

The ARN of the backup framework.

creation_time str

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deployment_status str

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

id str

The provider-assigned unique ID for this managed resource.

status str

A 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. For more information refer to the AWS documentation for Framework Status

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The ARN of the backup framework.

creationTime String

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deploymentStatus String

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

id String

The provider-assigned unique ID for this managed resource.

status String

A 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. For more information refer to the AWS documentation for Framework Status

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Look up an Existing Framework Resource

Get an existing Framework resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FrameworkState, opts?: CustomResourceOptions): Framework
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        controls: Optional[Sequence[FrameworkControlArgs]] = None,
        creation_time: Optional[str] = None,
        deployment_status: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Framework
func GetFramework(ctx *Context, name string, id IDInput, state *FrameworkState, opts ...ResourceOption) (*Framework, error)
public static Framework Get(string name, Input<string> id, FrameworkState? state, CustomResourceOptions? opts = null)
public static Framework get(String name, Output<String> id, FrameworkState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

The ARN of the backup framework.

Controls List<FrameworkControlArgs>

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

CreationTime string

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

DeploymentStatus string

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

Description string

The description of the framework with a maximum of 1,024 characters

Name string

The name of a parameter, for example, BackupPlanFrequency.

Status string

A 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. For more information refer to the AWS documentation for Framework Status

Tags Dictionary<string, string>

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

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

The ARN of the backup framework.

Controls []FrameworkControlArgs

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

CreationTime string

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

DeploymentStatus string

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

Description string

The description of the framework with a maximum of 1,024 characters

Name string

The name of a parameter, for example, BackupPlanFrequency.

Status string

A 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. For more information refer to the AWS documentation for Framework Status

Tags map[string]string

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

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The ARN of the backup framework.

controls List<FrameworkControlArgs>

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

creationTime String

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deploymentStatus String

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

description String

The description of the framework with a maximum of 1,024 characters

name String

The name of a parameter, for example, BackupPlanFrequency.

status String

A 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. For more information refer to the AWS documentation for Framework Status

tags Map<String,String>

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

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

The ARN of the backup framework.

controls FrameworkControlArgs[]

One or more control blocks that make up the framework. Each control in the list has a name, input parameters, and scope. Detailed below.

creationTime string

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deploymentStatus string

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

description string

The description of the framework with a maximum of 1,024 characters

name string

The name of a parameter, for example, BackupPlanFrequency.

status string

A 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. For more information refer to the AWS documentation for Framework Status

tags {[key: string]: string}

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

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

The ARN of the backup framework.

controls Sequence[FrameworkControlArgs]

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

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deployment_status str

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

description str

The description of the framework with a maximum of 1,024 characters

name str

The name of a parameter, for example, BackupPlanFrequency.

status str

A 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. For more information refer to the AWS documentation for Framework Status

tags Mapping[str, str]

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

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

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

creationTime String

The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC).

deploymentStatus String

The deployment status of a framework. The statuses are: CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED.

description String

The description of the framework with a maximum of 1,024 characters

name String

The name of a parameter, for example, BackupPlanFrequency.

status String

A 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. For more information refer to the AWS documentation for Framework Status

tags Map<String>

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

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Supporting Types

FrameworkControl

Name string

The name of a parameter, for example, BackupPlanFrequency.

InputParameters List<FrameworkControlInputParameter>

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.

Scope FrameworkControlScope

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

Name string

The name of a parameter, for example, BackupPlanFrequency.

InputParameters []FrameworkControlInputParameter

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.

Scope FrameworkControlScope

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

name String

The name of a parameter, for example, BackupPlanFrequency.

inputParameters List<FrameworkControlInputParameter>

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.

scope FrameworkControlScope

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

name string

The name of a parameter, for example, BackupPlanFrequency.

inputParameters FrameworkControlInputParameter[]

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.

scope FrameworkControlScope

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

name str

The name of a parameter, for example, BackupPlanFrequency.

input_parameters Sequence[FrameworkControlInputParameter]

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.

scope FrameworkControlScope

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

name String

The name of a parameter, for example, BackupPlanFrequency.

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

scope Property Map

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

FrameworkControlInputParameter

Name string

The name of a parameter, for example, BackupPlanFrequency.

Value string

The value of parameter, for example, hourly.

Name string

The name of a parameter, for example, BackupPlanFrequency.

Value string

The value of parameter, for example, hourly.

name String

The name of a parameter, for example, BackupPlanFrequency.

value String

The value of parameter, for example, hourly.

name string

The name of a parameter, for example, BackupPlanFrequency.

value string

The value of parameter, for example, hourly.

name str

The name of a parameter, for example, BackupPlanFrequency.

value str

The value of parameter, for example, hourly.

name String

The name of a parameter, for example, BackupPlanFrequency.

value String

The value of parameter, for example, hourly.

FrameworkControlScope

ComplianceResourceIds List<string>

The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.

ComplianceResourceTypes List<string>

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Tags Dictionary<string, string>

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

ComplianceResourceIds []string

The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.

ComplianceResourceTypes []string

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

Tags map[string]string

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

complianceResourceIds List<String>

The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.

complianceResourceTypes List<String>

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

tags Map<String,String>

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

complianceResourceIds string[]

The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.

complianceResourceTypes string[]

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

tags {[key: string]: string}

The 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_ids Sequence[str]

The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.

compliance_resource_types Sequence[str]

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

tags Mapping[str, str]

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

complianceResourceIds List<String>

The ID of the only AWS resource that you want your control scope to contain. Minimum number of 1 item. Maximum number of 100 items.

complianceResourceTypes List<String>

Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

tags Map<String>

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

Import

Backup Framework can be imported using the id which corresponds to the name of the Backup Framework, e.g.,

 $ pulumi import aws:backup/framework:Framework test <id>

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.