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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecs.ServiceManagedEBSVolumeConfiguration
ServiceManagedEBSVolumeConfiguration.Builder, ServiceManagedEBSVolumeConfiguration.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theServiceManagedEBSVolumeConfiguration.Builder
.protected
Jsii$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.JsonNode
final boolean
final Boolean
Indicates whether the volume should be encrypted.final FileSystemType
The Linux filesystem type for the volume.final Number
getIops()
The number of I/O operations per second (IOPS).final IKey
AWS Key Management Service key to use for Amazon EBS encryption.final IRole
getRole()
An IAM role that allows ECS to make calls to EBS APIs on your behalf.final Size
getSize()
The size of the volume in GiB.final String
The 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 Number
The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s.final EbsDeviceVolumeType
The volume type.final int
hashCode()
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:ServiceManagedEBSVolumeConfiguration
Indicates whether the volume should be encrypted.Default: - Default Amazon EBS encryption.
- Specified by:
getEncrypted
in interfaceServiceManagedEBSVolumeConfiguration
-
getFileSystemType
Description copied from interface:ServiceManagedEBSVolumeConfiguration
The 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:
getFileSystemType
in interfaceServiceManagedEBSVolumeConfiguration
-
getIops
Description copied from interface:ServiceManagedEBSVolumeConfiguration
The 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:
getIops
in interfaceServiceManagedEBSVolumeConfiguration
-
getKmsKeyId
Description copied from interface:ServiceManagedEBSVolumeConfiguration
AWS 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:
getKmsKeyId
in interfaceServiceManagedEBSVolumeConfiguration
-
getRole
Description copied from interface:ServiceManagedEBSVolumeConfiguration
An 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:
getRole
in interfaceServiceManagedEBSVolumeConfiguration
-
getSize
Description copied from interface:ServiceManagedEBSVolumeConfiguration
The size of the volume in GiB.You must specify either
size
orsnapshotId
. 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:
getSize
in interfaceServiceManagedEBSVolumeConfiguration
-
getSnapShotId
Description copied from interface:ServiceManagedEBSVolumeConfiguration
The snapshot that Amazon ECS uses to create the volume.You must specify either
size
orsnapshotId
.Default: - No snapshot.
- Specified by:
getSnapShotId
in interfaceServiceManagedEBSVolumeConfiguration
-
getTagSpecifications
Description copied from interface:ServiceManagedEBSVolumeConfiguration
Specifies the tags to apply to the volume and whether to propagate those tags to the volume.Default: - No tags are specified.
- Specified by:
getTagSpecifications
in interfaceServiceManagedEBSVolumeConfiguration
-
getThroughput
Description copied from interface:ServiceManagedEBSVolumeConfiguration
The 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:
getThroughput
in interfaceServiceManagedEBSVolumeConfiguration
-
getVolumeType
Description copied from interface:ServiceManagedEBSVolumeConfiguration
The volume type.Default: - ec2.EbsDeviceVolumeType.GP2
- Specified by:
getVolumeType
in interfaceServiceManagedEBSVolumeConfiguration
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-