import * as core from "@terrascript/core"; export interface ClusterConfigurationArgs extends core.SchemaArgs { description: string | core.StringOut; engineVersion: string | core.StringOut; maintenanceWindow: string | core.StringOut; name: string | core.StringOut; nodeType: string | core.StringOut; numShards: number | core.NumberOut; parameterGroupName: string | core.StringOut; port: number | core.NumberOut; snapshotRetentionLimit: number | core.NumberOut; snapshotWindow: string | core.StringOut; subnetGroupName: string | core.StringOut; topicArn: string | core.StringOut; vpcId: string | core.StringOut; } export class ClusterConfiguration extends core.Schema { @core.attr(String, { computed: true }) public description!: string | core.StringOut; @core.attr(String, { computed: true }) public engineVersion!: string | core.StringOut; @core.attr(String, { computed: true }) public maintenanceWindow!: string | core.StringOut; @core.attr(String, { computed: true }) public name!: string | core.StringOut; @core.attr(String, { computed: true }) public nodeType!: string | core.StringOut; @core.attr(Number, { computed: true }) public numShards!: number | core.NumberOut; @core.attr(String, { computed: true }) public parameterGroupName!: string | core.StringOut; @core.attr(Number, { computed: true }) public port!: number | core.NumberOut; @core.attr(Number, { computed: true }) public snapshotRetentionLimit!: number | core.NumberOut; @core.attr(String, { computed: true }) public snapshotWindow!: string | core.StringOut; @core.attr(String, { computed: true }) public subnetGroupName!: string | core.StringOut; @core.attr(String, { computed: true }) public topicArn!: string | core.StringOut; @core.attr(String, { computed: true }) public vpcId!: string | core.StringOut; } export interface DsSnapshotArgs { /** * (Required) Name of the snapshot. */ name: string | core.StringOut; /** * A map of tags assigned to the snapshot. */ tags?: core.Map | core.MapOut; } export class DsSnapshot extends core.Data { /** * The ARN of the snapshot. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The configuration of the cluster from which the snapshot was taken. */ @core.attr(ClusterConfiguration, { computed: true, kind: "array" }) public clusterConfiguration!: | core.Array | core.ArrayOut; /** * Name of the MemoryDB cluster that this snapshot was taken from. */ @core.attr(String, { computed: true }) public clusterName!: string | core.StringOut; /** * The name of the snapshot. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * ARN of the KMS key used to encrypt the snapshot at rest. */ @core.attr(String, { computed: true }) public kmsKeyArn!: string | core.StringOut; /** * (Required) Name of the snapshot. */ @core.attr(String) public name!: string | core.StringOut; /** * Indicates whether the snapshot is from an automatic backup (`automated`) or was created manually (`m * anual`). */ @core.attr(String, { computed: true }) public source!: string | core.StringOut; /** * A map of tags assigned to the snapshot. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsSnapshotArgs) { super(name, "aws_memorydb_snapshot", args); } public override getNamespace(): string { return "aws_memorydb"; } }