Class CfnLaunchTemplate.EbsProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLaunchTemplate.EbsProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLaunchTemplate.EbsProperty
CfnLaunchTemplate.EbsProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnLaunchTemplate.EbsProperty
CfnLaunchTemplate.EbsProperty.Builder, CfnLaunchTemplate.EbsProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.EbsProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectIndicates whether the EBS volume is deleted on instance termination.final ObjectIndicates whether the EBS volume is encrypted.final NumbergetIops()The number of I/O operations per second (IOPS).final StringIdentifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.final StringThe ID of the snapshot.final NumberThe throughput to provision for agp3volume, with a maximum of 2,000 MiB/s.final NumberSpecifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume.final NumberThe size of the volume, in GiBs.final StringThe volume type.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.EbsProperty.Builder.
-
-
Method Details
-
getDeleteOnTermination
Description copied from interface:CfnLaunchTemplate.EbsPropertyIndicates whether the EBS volume is deleted on instance termination.Returns union: either
BooleanorIResolvable- Specified by:
getDeleteOnTerminationin interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getEncrypted
Description copied from interface:CfnLaunchTemplate.EbsPropertyIndicates whether the EBS volume is encrypted.Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
Returns union: either
BooleanorIResolvable- Specified by:
getEncryptedin interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getIops
Description copied from interface:CfnLaunchTemplate.EbsPropertyThe number of I/O operations per second (IOPS).For
gp3,io1, andio2volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
gp3: 3,000 - 80,000 IOPSio1: 100 - 64,000 IOPSio2: 100 - 256,000 IOPS
For
io2volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.This parameter is supported for
io1,io2, andgp3volumes only.- Specified by:
getIopsin interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getKmsKeyId
Description copied from interface:CfnLaunchTemplate.EbsPropertyIdentifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.- Specified by:
getKmsKeyIdin interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getSnapshotId
Description copied from interface:CfnLaunchTemplate.EbsPropertyThe ID of the snapshot.- Specified by:
getSnapshotIdin interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getThroughput
Description copied from interface:CfnLaunchTemplate.EbsPropertyThe throughput to provision for agp3volume, with a maximum of 2,000 MiB/s.Valid Range: Minimum value of 125. Maximum value of 2,000.
- Specified by:
getThroughputin interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getVolumeInitializationRate
Description copied from interface:CfnLaunchTemplate.EbsPropertySpecifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume.This is also known as volume initialization . Specifying a volume initialization rate ensures that the volume is initialized at a predictable and consistent rate after creation.
This parameter is supported only for volumes created from snapshots. Omit this parameter if:
- You want to create the volume using fast snapshot restore. You must specify a snapshot that is enabled for fast snapshot restore. In this case, the volume is fully initialized at creation.
If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, the volume will be initialized at the specified rate instead of fast snapshot restore.
- You want to create a volume that is initialized at the default rate.
For more information, see Initialize Amazon EBS volumes in the Amazon EC2 User Guide .
Valid range: 100 - 300 MiB/s
- Specified by:
getVolumeInitializationRatein interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getVolumeSize
Description copied from interface:CfnLaunchTemplate.EbsPropertyThe size of the volume, in GiBs.You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:
gp2: 1 - 16,384 GiBgp3: 1 - 65,536 GiBio1: 4 - 16,384 GiBio2: 4 - 65,536 GiBst1andsc1: 125 - 16,384 GiBstandard: 1 - 1024 GiB
- Specified by:
getVolumeSizein interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
getVolumeType
Description copied from interface:CfnLaunchTemplate.EbsPropertyThe volume type.For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
- Specified by:
getVolumeTypein interfaceCfnLaunchTemplate.EbsProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-