このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Create an EBS volume that can be attached to an instance in the same availability zone.

Inputs

フィールド

種類

説明

region [required]

enum

default: us-east-1

availabilityZone [required]

string

The ID of the Availability Zone in which to create the volume. For example, us-east-1a.

encrypted

boolean

The encryption status of the volume.

size

number

volumeType

enum

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

フィールド

種類

説明

attachmentSet

[object]

Information about the volume attachments.

AttachTime

date-time

The time stamp when the attachment initiated.

Device

string

The device name. If the volume is attached to a Fargate task, this parameter returns null.

InstanceId

string

The ID of the instance. If the volume is attached to a Fargate task, this parameter returns null.

State

string

The attachment state of the volume.

VolumeId

string

The ID of the volume.

DeleteOnTermination

boolean

Indicates whether the EBS volume is deleted on instance termination.

AssociatedResource

string

The ARN of the Amazon ECS or Fargate task to which the volume is attached.

InstanceOwningService

string

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.

availabilityZone

string

The Availability Zone for the volume.

createTime

date-time

The time stamp when volume creation was initiated.

encrypted

boolean

Indicates whether the volume is encrypted.

size

number

The size of the volume, in GiBs.

state

string

The volume state.

tagSet

[object]

Any tags assigned to the volume.

Key

string

The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

Value

string

The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

volumeId

string

The ID of the volume.

volumeType

string

The volume type.

amzRequestId [required]

string