Snapshot Schedule Args
data class SnapshotScheduleArgs(val definitions: Output<List<String>>? = null, val description: Output<String>? = null, val forceDestroy: Output<Boolean>? = null, val identifier: Output<String>? = null, val identifierPrefix: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SnapshotScheduleArgs>
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshift.SnapshotSchedule;
import com.pulumi.aws.redshift.SnapshotScheduleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new SnapshotSchedule("default", SnapshotScheduleArgs.builder()
.definitions("rate(12 hours)")
.identifier("tf-redshift-snapshot-schedule")
.build());
}
}
Content copied to clipboard
Import
Redshift Snapshot Schedule can be imported using the identifier
, e.g.,
$ pulumi import aws:redshift/snapshotSchedule:SnapshotSchedule default tf-redshift-snapshot-schedule
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example cron(30 12 *)
or rate(12 hours)
.
Link copied to clipboard
The description of the snapshot schedule.
Link copied to clipboard
Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.
Link copied to clipboard
The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.
Link copied to clipboard
Creates a unique identifier beginning with the specified prefix. Conflicts with identifier
.