SnapshotSchedule

class SnapshotSchedule : KotlinCustomResource

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());
}
}

Import

Redshift Snapshot Schedule can be imported using the identifier, e.g.,

$ pulumi import aws:redshift/snapshotSchedule:SnapshotSchedule default tf-redshift-snapshot-schedule

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the Redshift Snapshot Schedule.

Link copied to clipboard
val definitions: Output<List<String>>

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
val description: Output<String>?

The description of the snapshot schedule.

Link copied to clipboard
val forceDestroy: Output<Boolean>?

Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val identifier: Output<String>

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.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

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.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>