import * as core from "@terrascript/core"; export interface DsDbClusterSnapshotArgs { /** * (Optional) Returns the list of snapshots created by the specific db_cluster */ dbClusterIdentifier?: string | core.StringOut; /** * (Optional) Returns information on a specific snapshot_id. */ dbClusterSnapshotIdentifier?: string | core.StringOut; /** * (Optional) Set this value to true to include manual DB Cluster Snapshots that are public and can be */ includePublic?: boolean | core.BooleanOut; /** * (Optional) Set this value to true to include shared manual DB Cluster Snapshots from other */ includeShared?: boolean | core.BooleanOut; /** * (Optional) If more than one result is returned, use the most recent Snapshot. */ mostRecent?: boolean | core.BooleanOut; /** * (Optional) The type of snapshots to be returned. If you don't specify a SnapshotType */ snapshotType?: string | core.StringOut; /** * A map of tags for the resource. */ tags?: core.Map | core.MapOut; } export class DsDbClusterSnapshot extends core.Data { /** * Specifies the allocated storage size in gigabytes (GB). */ @core.attr(Number, { computed: true }) public allocatedStorage!: number | core.NumberOut; /** * List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in. */ @core.attr(String, { computed: true, kind: "array" }) public availabilityZones!: core.Array | core.ArrayOut; /** * (Optional) Returns the list of snapshots created by the specific db_cluster */ @core.attr(String) public dbClusterIdentifier?: string | core.StringOut; /** * The Amazon Resource Name (ARN) for the DB Cluster Snapshot. */ @core.attr(String, { computed: true }) public dbClusterSnapshotArn!: string | core.StringOut; /** * (Optional) Returns information on a specific snapshot_id. */ @core.attr(String) public dbClusterSnapshotIdentifier?: string | core.StringOut; /** * Specifies the name of the database engine. */ @core.attr(String, { computed: true }) public engine!: string | core.StringOut; /** * Version of the database engine for this DB cluster snapshot. */ @core.attr(String, { computed: true }) public engineVersion!: string | core.StringOut; /** * The snapshot ID. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Set this value to true to include manual DB Cluster Snapshots that are public and can be */ @core.attr(Boolean) public includePublic?: boolean | core.BooleanOut; /** * (Optional) Set this value to true to include shared manual DB Cluster Snapshots from other */ @core.attr(Boolean) public includeShared?: boolean | core.BooleanOut; /** * If storage_encrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot. */ @core.attr(String, { computed: true }) public kmsKeyId!: string | core.StringOut; /** * License model information for the restored DB cluster. */ @core.attr(String, { computed: true }) public licenseModel!: string | core.StringOut; /** * (Optional) If more than one result is returned, use the most recent Snapshot. */ @core.attr(Boolean) public mostRecent?: boolean | core.BooleanOut; /** * Port that the DB cluster was listening on at the time of the snapshot. */ @core.attr(Number, { computed: true }) public port!: number | core.NumberOut; /** * Time when the snapshot was taken, in Universal Coordinated Time (UTC). */ @core.attr(String, { computed: true }) public snapshotCreateTime!: string | core.StringOut; /** * (Optional) The type of snapshots to be returned. If you don't specify a SnapshotType */ @core.attr(String) public snapshotType?: string | core.StringOut; @core.attr(String, { computed: true }) public sourceDbClusterSnapshotArn!: string | core.StringOut; /** * The status of this DB Cluster Snapshot. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * Specifies whether the DB cluster snapshot is encrypted. */ @core.attr(Boolean, { computed: true }) public storageEncrypted!: boolean | core.BooleanOut; /** * A map of tags for the resource. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The VPC ID associated with the DB cluster snapshot. */ @core.attr(String, { computed: true }) public vpcId!: string | core.StringOut; constructor(name: string, args?: DsDbClusterSnapshotArgs) { super(name, "aws_db_cluster_snapshot", args); } public override getNamespace(): string { return "aws_rds"; } }