Class ServiceManagedEBSVolumeConfiguration.Jsii$Proxy
- All Implemented Interfaces:
ServiceManagedEBSVolumeConfiguration,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ServiceManagedEBSVolumeConfiguration
ServiceManagedEBSVolumeConfiguration-
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.ecs.ServiceManagedEBSVolumeConfiguration
ServiceManagedEBSVolumeConfiguration.Builder, ServiceManagedEBSVolumeConfiguration.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theServiceManagedEBSVolumeConfiguration.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 BooleanIndicates whether the volume should be encrypted.final FileSystemTypeThe Linux filesystem type for the volume.final NumbergetIops()The number of I/O operations per second (IOPS).final IKeyAWS Key Management Service key to use for Amazon EBS encryption.final IRolegetRole()An IAM role that allows ECS to make calls to EBS APIs on your behalf.final SizegetSize()The size of the volume in GiB.final StringThe snapshot that Amazon ECS uses to create the volume.final List<EBSTagSpecification> Specifies the tags to apply to the volume and whether to propagate those tags to the volume.final NumberThe throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s.final SizeSpecifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), at which to download the snapshot blocks from Amazon S3 to the volume.final EbsDeviceVolumeTypeThe 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 theServiceManagedEBSVolumeConfiguration.Builder.
-
-
Method Details
-
getEncrypted
Description copied from interface:ServiceManagedEBSVolumeConfigurationIndicates whether the volume should be encrypted.Default: - Default Amazon EBS encryption.
- Specified by:
getEncryptedin interfaceServiceManagedEBSVolumeConfiguration
-
getFileSystemType
Description copied from interface:ServiceManagedEBSVolumeConfigurationThe Linux filesystem type for the volume.For volumes created from a snapshot, you must specify the same filesystem type that the volume was using when the snapshot was created. The available filesystem types are ext3, ext4, and xfs.
Default: - FileSystemType.XFS
- Specified by:
getFileSystemTypein interfaceServiceManagedEBSVolumeConfiguration
-
getIops
Description copied from interface:ServiceManagedEBSVolumeConfigurationThe number of I/O operations per second (IOPS).For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, 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 - 16,000 IOPS
- io1: 100 - 64,000 IOPS
- io2: 100 - 256,000 IOPS
This parameter is required for io1 and io2 volume types. The default for gp3 volumes is 3,000 IOPS. This parameter is not supported for st1, sc1, or standard volume types.
Default: - undefined
- Specified by:
getIopsin interfaceServiceManagedEBSVolumeConfiguration
-
getKmsKeyId
Description copied from interface:ServiceManagedEBSVolumeConfigurationAWS Key Management Service key to use for Amazon EBS encryption.Default: - When `encryption` is turned on and no `kmsKey` is specified, the default AWS managed key for Amazon EBS volumes is used.
- Specified by:
getKmsKeyIdin interfaceServiceManagedEBSVolumeConfiguration
-
getRole
Description copied from interface:ServiceManagedEBSVolumeConfigurationAn IAM role that allows ECS to make calls to EBS APIs on your behalf.This role is required to create and manage the Amazon EBS volume.
Default: - automatically generated role.
- Specified by:
getRolein interfaceServiceManagedEBSVolumeConfiguration
-
getSize
Description copied from interface:ServiceManagedEBSVolumeConfigurationThe size of the volume in GiB.You must specify either
sizeorsnapshotId. You can optionally specify a volume size greater than or equal to the snapshot size.The following are the supported volume size values for each volume type.
- gp2 and gp3: 1-16,384
- io1 and io2: 4-16,384
- st1 and sc1: 125-16,384
- standard: 1-1,024
Default: - The snapshot size is used for the volume size if you specify `snapshotId`, otherwise this parameter is required.
- Specified by:
getSizein interfaceServiceManagedEBSVolumeConfiguration
-
getSnapShotId
Description copied from interface:ServiceManagedEBSVolumeConfigurationThe snapshot that Amazon ECS uses to create the volume.You must specify either
sizeorsnapshotId.Default: - No snapshot.
- Specified by:
getSnapShotIdin interfaceServiceManagedEBSVolumeConfiguration
-
getTagSpecifications
Description copied from interface:ServiceManagedEBSVolumeConfigurationSpecifies the tags to apply to the volume and whether to propagate those tags to the volume.Default: - No tags are specified.
- Specified by:
getTagSpecificationsin interfaceServiceManagedEBSVolumeConfiguration
-
getThroughput
Description copied from interface:ServiceManagedEBSVolumeConfigurationThe throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s.This parameter is only supported for the gp3 volume type.
Default: - No throughput.
- Specified by:
getThroughputin interfaceServiceManagedEBSVolumeConfiguration
-
getVolumeInitializationRate
Description copied from interface:ServiceManagedEBSVolumeConfigurationSpecifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), at which to download the snapshot blocks from Amazon S3 to the volume.Valid range is between 100 and 300 MiB/s.
Default: undefined - The volume initialization rate is not set.
- Specified by:
getVolumeInitializationRatein interfaceServiceManagedEBSVolumeConfiguration
-
getVolumeType
Description copied from interface:ServiceManagedEBSVolumeConfigurationThe volume type.Default: - ec2.EbsDeviceVolumeType.GP2
- Specified by:
getVolumeTypein interfaceServiceManagedEBSVolumeConfiguration
-
$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()
-