Class ServiceVolumeConfigurationManagedEbsVolume


  • public final class ServiceVolumeConfigurationManagedEbsVolume
    extends java.lang.Object
    • Method Detail

      • encrypted

        public java.util.Optional<java.lang.Boolean> encrypted()
        Returns:
        Whether the volume should be encrypted. Default value is `true`.
      • fileSystemType

        public java.util.Optional<java.lang.String> fileSystemType()
        Returns:
        Linux filesystem type for the volume. For volumes created from a snapshot, same filesystem type must be specified that the volume was using when the snapshot was created. Valid values are `ext3`, `ext4`, `xfs`. Default value is `xfs`.
      • iops

        public java.util.Optional<java.lang.Integer> iops()
        Returns:
        Number of I/O operations per second (IOPS).
      • kmsKeyId

        public java.util.Optional<java.lang.String> kmsKeyId()
        Returns:
        ARN identifier of the Amazon Web Services KMS key to use for Amazon EBS encryption.
      • roleArn

        public java.lang.String roleArn()
        Returns:
        Amazon ECS infrastructure IAM role that is used to manage your Amazon Web Services infrastructure. Recommended using the Amazon ECS-managed `AmazonECSInfrastructureRolePolicyForVolumes` IAM policy with this role.
      • sizeInGb

        public java.util.Optional<java.lang.Integer> sizeInGb()
        Returns:
        Size of the volume in GiB. You must specify either a `sizeInGb` or a `snapshotId`. You can optionally specify a volume size greater than or equal to the snapshot size.
      • snapshotId

        public java.util.Optional<java.lang.String> snapshotId()
        Returns:
        Snapshot that Amazon ECS uses to create the volume. You must specify either a `sizeInGb` or a `snapshotId`.
      • throughput

        public java.util.Optional<java.lang.Integer> throughput()
        Returns:
        Throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s.
      • volumeInitializationRate

        public java.util.Optional<java.lang.Integer> volumeInitializationRate()
        Returns:
        Volume Initialization Rate in MiB/s. You must also specify a `snapshotId`.
      • volumeType

        public java.util.Optional<java.lang.String> volumeType()
        Returns:
        Volume type.