Class CfnService.ServiceManagedEBSVolumeConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnService.ServiceManagedEBSVolumeConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnService.ServiceManagedEBSVolumeConfigurationProperty
CfnService.ServiceManagedEBSVolumeConfigurationProperty-
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.CfnService.ServiceManagedEBSVolumeConfigurationProperty
CfnService.ServiceManagedEBSVolumeConfigurationProperty.Builder, CfnService.ServiceManagedEBSVolumeConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnService.ServiceManagedEBSVolumeConfigurationProperty.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 volume should be encrypted.final StringThe filesystem type for the volume.final NumbergetIops()The number of I/O operations per second (IOPS).final StringThe Amazon Resource Name (ARN) identifier of the AWS Key Management Service key to use for Amazon EBS encryption.final StringThe ARN of the IAM role to associate with this volume.final NumberThe size of the volume in GiB.final StringThe snapshot that Amazon ECS uses to create volumes for attachment to tasks maintained by the service.final ObjectThe tags to apply to the volume.final NumberThe throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s.final NumberThe rate, in MiB/s, at which data is fetched from a snapshot of an existing EBS volume to create new volumes for attachment to the tasks maintained by the service.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 theCfnService.ServiceManagedEBSVolumeConfigurationProperty.Builder.
-
-
Method Details
-
getRoleArn
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe ARN of the IAM role to associate with this volume.This is the Amazon ECS infrastructure IAM role that is used to manage your AWS infrastructure. We recommend using the Amazon ECS-managed
AmazonECSInfrastructureRolePolicyForVolumesIAM policy with this role. For more information, see Amazon ECS infrastructure IAM role in the Amazon ECS Developer Guide .- Specified by:
getRoleArnin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getEncrypted
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyIndicates whether the volume should be encrypted.If you turn on Region-level Amazon EBS encryption by default but set this value as
false, the setting is overridden and the volume is encrypted with the KMS key specified for Amazon EBS encryption by default. This parameter maps 1:1 with theEncryptedparameter of the CreateVolume API in the Amazon EC2 API Reference .Returns union: either
BooleanorIResolvable- Specified by:
getEncryptedin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getFilesystemType
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe 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. If there is a filesystem type mismatch, the tasks will fail to start.
The available Linux filesystem types are
ext3,ext4, andxfs. If no value is specified, thexfsfilesystem type is used by default.The available Windows filesystem types are
NTFS.- Specified by:
getFilesystemTypein interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getIops
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe 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 - 16,000 IOPSio1: 100 - 64,000 IOPSio2: 100 - 256,000 IOPS
This parameter is required for
io1andio2volume types. The default forgp3volumes is3,000 IOPS. This parameter is not supported forst1,sc1, orstandardvolume types.This parameter maps 1:1 with the
Iopsparameter of the CreateVolume API in the Amazon EC2 API Reference .- Specified by:
getIopsin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getKmsKeyId
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe Amazon Resource Name (ARN) identifier of the AWS Key Management Service key to use for Amazon EBS encryption.When a key is specified using this parameter, it overrides Amazon EBS default encryption or any KMS key that you specified for cluster-level managed storage encryption. This parameter maps 1:1 with the
KmsKeyIdparameter of the CreateVolume API in the Amazon EC2 API Reference . For more information about encrypting Amazon EBS volumes attached to tasks, see Encrypt data stored in Amazon EBS volumes attached to Amazon ECS tasks .AWS authenticates the AWS Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails.
- Specified by:
getKmsKeyIdin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getSizeInGiB
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe size of the volume in GiB.You must specify either a volume size or a snapshot ID. If you specify a snapshot ID, the snapshot size is used for the volume size by default. You can optionally specify a volume size greater than or equal to the snapshot size. This parameter maps 1:1 with the
Sizeparameter of the CreateVolume API in the Amazon EC2 API Reference .The following are the supported volume size values for each volume type.
gp2andgp3: 1-16,384io1andio2: 4-16,384st1andsc1: 125-16,384standard: 1-1,024
- Specified by:
getSizeInGiBin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getSnapshotId
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe snapshot that Amazon ECS uses to create volumes for attachment to tasks maintained by the service.You must specify either
snapshotIdorsizeInGiBin your volume configuration. This parameter maps 1:1 with theSnapshotIdparameter of the CreateVolume API in the Amazon EC2 API Reference .- Specified by:
getSnapshotIdin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getTagSpecifications
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe tags to apply to the volume.Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with the
TagSpecifications.Nparameter of the CreateVolume API in the Amazon EC2 API Reference .Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnService.EBSTagSpecificationProperty>- Specified by:
getTagSpecificationsin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getThroughput
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s.This parameter maps 1:1 with the
Throughputparameter of the CreateVolume API in the Amazon EC2 API Reference .This parameter is only supported for the
gp3volume type.- Specified by:
getThroughputin interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getVolumeInitializationRate
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe rate, in MiB/s, at which data is fetched from a snapshot of an existing EBS volume to create new volumes for attachment to the tasks maintained by the service.This property can be specified only if you specify a
snapshotId. For more information, see Initialize Amazon EBS volumes in the Amazon EBS User Guide .- Specified by:
getVolumeInitializationRatein interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
-
getVolumeType
Description copied from interface:CfnService.ServiceManagedEBSVolumeConfigurationPropertyThe volume type.This parameter maps 1:1 with the
VolumeTypeparameter of the CreateVolume API in the Amazon EC2 API Reference . For more information, see Amazon EBS volume types in the Amazon EC2 User Guide .The following are the supported volume types.
- General Purpose SSD:
gp2|gp3 - Provisioned IOPS SSD:
io1|io2 - Throughput Optimized HDD:
st1 - Cold HDD:
sc1 - Magnetic:
standard
The magnetic volume type is not supported on Fargate.
- Specified by:
getVolumeTypein interfaceCfnService.ServiceManagedEBSVolumeConfigurationProperty- See Also:
- General Purpose SSD:
-
$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()
-