Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Create an EBS volume that can be attached to an instance in the same availability zone.
Inputs
availabilityZone [required]
The ID of the Availability Zone in which to create the volume. For example, us-east-1a.
The encryption status of the volume.
The volume type. The following values are supported: General Purpose SSD: gp2 | gp3
, Provisioned IOPS SSD: io1 | io2
, Throughput Optimized HDD: st1
, Cold HDD: sc1
, and Magnetic: standard
.
Allowed enum values: standard,io1,io2,gp2,sc1,st1,gp3
default: `gp2`
Outputs
Expand All
This parameter is not returned by CreateVolume. Information about the volume attachments.
The time stamp when the attachment initiated.
The device name. If the volume is attached to a Fargate task, this parameter returns null.
The ID of the instance. If the volume is attached to a Fargate task, this parameter returns null.
The attachment state of the volume.
Indicates whether the EBS volume is deleted on instance termination.
The ARN of the Amazon ECS or Fargate task to which the volume is attached.
The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached. This parameter is returned only for volumes that are attached to Fargate tasks.
The Availability Zone for the volume.
The time stamp when volume creation was initiated.
Indicates whether the volume is encrypted.
The size of the volume, in GiBs.
Any tags assigned to the volume.
The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.
The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.