ClusterSnapshotArgs

data class ClusterSnapshotArgs(val clusterIdentifier: Output<String>? = null, val manualSnapshotRetentionPeriod: Output<Int>? = null, val snapshotIdentifier: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ClusterSnapshotArgs>

Creates a Redshift cluster snapshot

Example Usage

resources:
example:
type: aws:redshift:ClusterSnapshot
properties:
clusterSnapshotName: example
clusterSnapshotContent:
fn::toJSON:
AllowDBUserOverride: '1'
Client_ID: ExampleClientID
App_ID: example

Import

Using pulumi import, import Redshift Cluster Snapshots using snapshot_identifier. For example:

$ pulumi import aws:redshift/clusterSnapshot:ClusterSnapshot test example

Constructors

Link copied to clipboard
constructor(clusterIdentifier: Output<String>? = null, manualSnapshotRetentionPeriod: Output<Int>? = null, snapshotIdentifier: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val clusterIdentifier: Output<String>? = null

The cluster identifier for which you want a snapshot.

Link copied to clipboard
val manualSnapshotRetentionPeriod: Output<Int>? = null

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely. Valid values are -1 and between 1 and 3653.

Link copied to clipboard
val snapshotIdentifier: Output<String>? = null

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): ClusterSnapshotArgs