Package com.pulumi.aws.ec2.inputs
Class LaunchTemplateBlockDeviceMappingEbsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.LaunchTemplateBlockDeviceMappingEbsArgs.Builder
-
- Enclosing class:
- LaunchTemplateBlockDeviceMappingEbsArgs
public static final class LaunchTemplateBlockDeviceMappingEbsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LaunchTemplateBlockDeviceMappingEbsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LaunchTemplateBlockDeviceMappingEbsArgs defaults)
-
-
Method Detail
-
deleteOnTermination
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder deleteOnTermination(@Nullable com.pulumi.core.Output<java.lang.String> deleteOnTermination)
- Parameters:
deleteOnTermination- Whether the volume should be destroyed on instance termination. See [Preserving Amazon EBS Volumes on Instance Termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html) for more information.- Returns:
- builder
-
deleteOnTermination
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder deleteOnTermination(java.lang.String deleteOnTermination)
- Parameters:
deleteOnTermination- Whether the volume should be destroyed on instance termination. See [Preserving Amazon EBS Volumes on Instance Termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html) for more information.- Returns:
- builder
-
encrypted
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder encrypted(@Nullable com.pulumi.core.Output<java.lang.String> encrypted)
- Parameters:
encrypted- Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Cannot be used with `snapshotId`.- Returns:
- builder
-
encrypted
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder encrypted(java.lang.String encrypted)
- Parameters:
encrypted- Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume. Cannot be used with `snapshotId`.- Returns:
- builder
-
iops
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder iops(@Nullable com.pulumi.core.Output<java.lang.Integer> iops)
- Parameters:
iops- The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1/io2/gp3"`.- Returns:
- builder
-
iops
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder iops(java.lang.Integer iops)
- Parameters:
iops- The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1/io2/gp3"`.- Returns:
- builder
-
kmsKeyId
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption. `encrypted` must be set to `true` when this is set.- Returns:
- builder
-
kmsKeyId
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption. `encrypted` must be set to `true` when this is set.- Returns:
- builder
-
snapshotId
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder snapshotId(@Nullable com.pulumi.core.Output<java.lang.String> snapshotId)
- Parameters:
snapshotId- The Snapshot ID to mount.- Returns:
- builder
-
snapshotId
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder snapshotId(java.lang.String snapshotId)
- Parameters:
snapshotId- The Snapshot ID to mount.- Returns:
- builder
-
throughput
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder throughput(@Nullable com.pulumi.core.Output<java.lang.Integer> throughput)
- Parameters:
throughput- The throughput to provision for a `gp3` volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.- Returns:
- builder
-
throughput
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder throughput(java.lang.Integer throughput)
- Parameters:
throughput- The throughput to provision for a `gp3` volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.- Returns:
- builder
-
volumeInitializationRate
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder volumeInitializationRate(@Nullable com.pulumi.core.Output<java.lang.Integer> volumeInitializationRate)
- Parameters:
volumeInitializationRate- The volume initialization rate in MiB/s (specified as an integer, e.g. 100), with a minimum of 100 MiB/s and maximum of 300 MiB/s.- Returns:
- builder
-
volumeInitializationRate
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder volumeInitializationRate(java.lang.Integer volumeInitializationRate)
- Parameters:
volumeInitializationRate- The volume initialization rate in MiB/s (specified as an integer, e.g. 100), with a minimum of 100 MiB/s and maximum of 300 MiB/s.- Returns:
- builder
-
volumeSize
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder volumeSize(@Nullable com.pulumi.core.Output<java.lang.Integer> volumeSize)
- Parameters:
volumeSize- The size of the volume in gigabytes.- Returns:
- builder
-
volumeSize
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder volumeSize(java.lang.Integer volumeSize)
- Parameters:
volumeSize- The size of the volume in gigabytes.- Returns:
- builder
-
volumeType
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder volumeType(@Nullable com.pulumi.core.Output<java.lang.String> volumeType)
- Parameters:
volumeType- The volume type. Can be one of `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1`.- Returns:
- builder
-
volumeType
public LaunchTemplateBlockDeviceMappingEbsArgs.Builder volumeType(java.lang.String volumeType)
- Parameters:
volumeType- The volume type. Can be one of `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1`.- Returns:
- builder
-
build
public LaunchTemplateBlockDeviceMappingEbsArgs build()
-
-