import * as core from "@terrascript/core"; export interface ScopeArgs extends core.SchemaArgs { complianceResourceIds: core.Array | core.ArrayOut; complianceResourceTypes: core.Array | core.ArrayOut; tags?: core.Map | core.MapOut; } export class Scope extends core.Schema { @core.attr(String, { computed: true, kind: "array" }) public complianceResourceIds!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true, kind: "array" }) public complianceResourceTypes!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; } export interface InputParameterArgs extends core.SchemaArgs { name: string | core.StringOut; value: string | core.StringOut; } export class InputParameter extends core.Schema { @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public value!: string | core.StringOut; } export interface ControlArgs extends core.SchemaArgs { inputParameter: core.Array | core.ArrayOut; name: string | core.StringOut; scope: core.Array | core.ArrayOut; } export class Control extends core.Schema { @core.attr(InputParameter, { computed: true, kind: "array" }) public inputParameter!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(Scope, { computed: true, kind: "array" }) public scope!: core.Array | core.ArrayOut; } export interface DsFrameworkArgs { /** * (Required) The backup framework name. */ name: string | core.StringOut; /** * Metadata that helps organize the frameworks you create. */ tags?: core.Map | core.MapOut; } export class DsFramework extends core.Data { /** * The ARN of the backup framework. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * One or more control blocks that make up the framework. Each control in the list has a name, input pa * rameters, and scope. Detailed below. */ @core.attr(Control, { computed: true, kind: "array" }) public control!: core.Array | core.ArrayOut; /** * The date and time that a framework is created, in Unix format and Coordinated Universal Time (UTC). */ @core.attr(String, { computed: true }) public creationTime!: string | core.StringOut; /** * The deployment status of a framework. The statuses are: `CREATE_IN_PROGRESS` | `UPDATE_IN_PROGRESS` * | `DELETE_IN_PROGRESS` | `COMPLETED`| `FAILED`. */ @core.attr(String, { computed: true }) public deploymentStatus!: string | core.StringOut; /** * The description of the framework. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The id of the framework. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The backup framework name. */ @core.attr(String) public name!: string | core.StringOut; /** * 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. The statuses are: `ACTIVE`, `PARTIALLY_ACTIVE`, `INACTIVE`, `UNAVAILABLE`. Fo * r more information refer to the [AWS documentation for Framework Status](https://docs.aws.amazon.com * /aws-backup/latest/devguide/API_DescribeFramework.html#Backup-DescribeFramework-response-FrameworkSt * atus) */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * Metadata that helps organize the frameworks you create. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsFrameworkArgs) { super(name, "aws_backup_framework", args); } public override getNamespace(): string { return "aws_backup"; } }