
com.pulumi.aws.redshift.kotlin.ClusterSnapshotArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.redshift.kotlin
import com.pulumi.aws.redshift.ClusterSnapshotArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Creates a Redshift cluster snapshot
* ## Example Usage
*
* ```yaml
* 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:
* ```sh
* $ pulumi import aws:redshift/clusterSnapshot:ClusterSnapshot test example
* ```
* @property clusterIdentifier The cluster identifier for which you want a snapshot.
* @property manualSnapshotRetentionPeriod 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`.
* @property snapshotIdentifier A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
* @property tags 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.
*/
public data class ClusterSnapshotArgs(
public val clusterIdentifier: Output? = null,
public val manualSnapshotRetentionPeriod: Output? = null,
public val snapshotIdentifier: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy