import * as core from "@terrascript/core"; export interface BackupPolicyBlkArgs extends core.SchemaArgs { status: string | core.StringOut; } export class BackupPolicyBlk extends core.Schema { @core.attr(String) public status!: string | core.StringOut; } export interface BackupPolicyArgs extends core.ResourceArgs { /** * (Required) A backup_policy object (documented below). */ backupPolicy: BackupPolicyBlk; /** * (Required) The ID of the EFS file system. */ fileSystemId: string | core.StringOut; } export class BackupPolicy extends core.Resource { /** * (Required) A backup_policy object (documented below). */ @core.attr(BackupPolicyBlk) public backupPolicy!: BackupPolicyBlk; /** * (Required) The ID of the EFS file system. */ @core.attr(String) public fileSystemId!: string | core.StringOut; /** * The ID that identifies the file system (e.g., fs-ccfc0d65). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: BackupPolicyArgs) { super(name, "aws_efs_backup_policy", args); } public override getNamespace(): string { return "aws_efs"; } }