Package-level declarations

Types

Link copied to clipboard
class DefaultKmsKey : KotlinCustomResource

Provides a resource to manage the default customer master key (CMK) that your AWS account uses to encrypt EBS volumes. Your AWS account has an AWS-managed default CMK that is used for encrypting an EBS volume when no CMK is specified in the API call that creates the volume. By using the aws.ebs.DefaultKmsKey resource, you can specify a customer-managed CMK to use in place of the AWS-managed default CMK.

Link copied to clipboard
data class DefaultKmsKeyArgs(val keyArn: Output<String>? = null) : ConvertibleToJava<DefaultKmsKeyArgs>

Provides a resource to manage the default customer master key (CMK) that your AWS account uses to encrypt EBS volumes. Your AWS account has an AWS-managed default CMK that is used for encrypting an EBS volume when no CMK is specified in the API call that creates the volume. By using the aws.ebs.DefaultKmsKey resource, you can specify a customer-managed CMK to use in place of the AWS-managed default CMK.

Link copied to clipboard
Link copied to clipboard
object DefaultKmsKeyMapper : ResourceMapper<DefaultKmsKey>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class EncryptionByDefault : KotlinCustomResource

Provides a resource to manage whether default EBS encryption is enabled for your AWS account in the current AWS region. To manage the default KMS key for the region, see the aws.ebs.DefaultKmsKey resource.

Link copied to clipboard
data class EncryptionByDefaultArgs(val enabled: Output<Boolean>? = null) : ConvertibleToJava<EncryptionByDefaultArgs>

Provides a resource to manage whether default EBS encryption is enabled for your AWS account in the current AWS region. To manage the default KMS key for the region, see the aws.ebs.DefaultKmsKey resource.

Link copied to clipboard
Link copied to clipboard
class Snapshot : KotlinCustomResource

Creates a Snapshot of an EBS Volume.

Link copied to clipboard
data class SnapshotArgs(val description: Output<String>? = null, val outpostArn: Output<String>? = null, val permanentRestore: Output<Boolean>? = null, val storageTier: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val temporaryRestoreDays: Output<Int>? = null, val volumeId: Output<String>? = null) : ConvertibleToJava<SnapshotArgs>

Creates a Snapshot of an EBS Volume.

Link copied to clipboard
Link copied to clipboard
class SnapshotCopy : KotlinCustomResource

Creates a Snapshot of a snapshot.

Link copied to clipboard
data class SnapshotCopyArgs(val description: Output<String>? = null, val encrypted: Output<Boolean>? = null, val kmsKeyId: Output<String>? = null, val permanentRestore: Output<Boolean>? = null, val sourceRegion: Output<String>? = null, val sourceSnapshotId: Output<String>? = null, val storageTier: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val temporaryRestoreDays: Output<Int>? = null) : ConvertibleToJava<SnapshotCopyArgs>

Creates a Snapshot of a snapshot.

Link copied to clipboard
Link copied to clipboard
object SnapshotCopyMapper : ResourceMapper<SnapshotCopy>
Link copied to clipboard
Link copied to clipboard
class SnapshotImport : KotlinCustomResource

Imports a disk image from S3 as a Snapshot.

Link copied to clipboard
data class SnapshotImportArgs(val clientData: Output<SnapshotImportClientDataArgs>? = null, val description: Output<String>? = null, val diskContainer: Output<SnapshotImportDiskContainerArgs>? = null, val encrypted: Output<Boolean>? = null, val kmsKeyId: Output<String>? = null, val permanentRestore: Output<Boolean>? = null, val roleName: Output<String>? = null, val storageTier: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val temporaryRestoreDays: Output<Int>? = null) : ConvertibleToJava<SnapshotImportArgs>

Imports a disk image from S3 as a Snapshot.

Link copied to clipboard
Link copied to clipboard
object SnapshotImportMapper : ResourceMapper<SnapshotImport>
Link copied to clipboard
object SnapshotMapper : ResourceMapper<Snapshot>
Link copied to clipboard
Link copied to clipboard
class Volume : KotlinCustomResource

Manages a single EBS volume.

Link copied to clipboard
data class VolumeArgs(val availabilityZone: Output<String>? = null, val encrypted: Output<Boolean>? = null, val finalSnapshot: Output<Boolean>? = null, val iops: Output<Int>? = null, val kmsKeyId: Output<String>? = null, val multiAttachEnabled: Output<Boolean>? = null, val outpostArn: Output<String>? = null, val size: Output<Int>? = null, val snapshotId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val throughput: Output<Int>? = null, val type: Output<String>? = null) : ConvertibleToJava<VolumeArgs>

Manages a single EBS volume.

Link copied to clipboard

Builder for VolumeArgs.

Link copied to clipboard
object VolumeMapper : ResourceMapper<Volume>
Link copied to clipboard

Builder for Volume.

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun snapshot(name: String, block: suspend SnapshotResourceBuilder.() -> Unit): Snapshot
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun volume(name: String): Volume
suspend fun volume(name: String, block: suspend VolumeResourceBuilder.() -> Unit): Volume