TapePoolArgs

data class TapePoolArgs(val poolName: Output<String>? = null, val retentionLockTimeInDays: Output<Int>? = null, val retentionLockType: Output<String>? = null, val storageClass: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<TapePoolArgs>

Manages an AWS Storage Gateway Tape Pool.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.TapePool;
import com.pulumi.aws.storagegateway.TapePoolArgs;
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 example = new TapePool("example", TapePoolArgs.builder()
.poolName("example")
.storageClass("GLACIER")
.build());
}
}

Import

aws_storagegateway_tape_pool can be imported by using the volume Amazon Resource Name (ARN), e.g.,

$ pulumi import aws:storagegateway/tapePool:TapePool example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678

Constructors

Link copied to clipboard
constructor(poolName: Output<String>? = null, retentionLockTimeInDays: Output<Int>? = null, retentionLockType: Output<String>? = null, storageClass: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

The name of the new custom tape pool.

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

Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days). Default value is 0.

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

Tape retention lock can be configured in two modes. When configured in governance mode, AWS accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root AWS account. Possible values are COMPLIANCE, GOVERNANCE, and NONE. Default value is NONE.

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

The storage class that is associated with the new custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class that corresponds to the pool. Possible values are DEEP_ARCHIVE or GLACIER.

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

Key-value map of resource tags. .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(): TapePoolArgs