Skip to content

CreateVolumeRequest

Source code in docs_src/capo_workspaces_instances/types/create_volume_request.py
class CreateVolumeRequest(TypedDict, closed=True):
    availability_zone: "capo_workspaces_instances.types.string64.String64"
    """<p>Availability zone for the volume.</p>"""
    client_token: NotRequired[
        "capo_workspaces_instances.types.client_token.ClientToken"
    ]
    """<p>Unique token to prevent duplicate volume creation.</p>"""
    encrypted: NotRequired["bool"]
    """<p>Indicates if the volume should be encrypted.</p>"""
    iops: NotRequired[
        "capo_workspaces_instances.types.non_negative_integer.NonNegativeInteger"
    ]
    """<p>Input/output operations per second for the volume.</p>"""
    kms_key_id: NotRequired["capo_workspaces_instances.types.kms_key_id.KmsKeyId"]
    """<p>KMS key for volume encryption.</p>"""
    size_in_gb: NotRequired[
        "capo_workspaces_instances.types.non_negative_integer.NonNegativeInteger"
    ]
    """<p>Volume size in gigabytes.</p>"""
    snapshot_id: NotRequired["capo_workspaces_instances.types.snapshot_id.SnapshotId"]
    """<p>Source snapshot for volume creation.</p>"""
    tag_specifications: NotRequired[
        "capo_workspaces_instances.types.tag_specifications.TagSpecifications"
    ]
    """<p>Metadata tags for the volume.</p>"""
    throughput: NotRequired[
        "capo_workspaces_instances.types.non_negative_integer.NonNegativeInteger"
    ]
    """<p>Volume throughput performance.</p>"""
    volume_type: NotRequired[
        "capo_workspaces_instances.types.volume_type_enum.VolumeTypeEnum"
    ]
    """<p>Type of EBS volume.</p>"""

availability_zone instance-attribute

availability_zone: String64

Availability zone for the volume.

client_token instance-attribute

client_token: NotRequired[ClientToken]

Unique token to prevent duplicate volume creation.

encrypted instance-attribute

encrypted: NotRequired[bool]

Indicates if the volume should be encrypted.

iops instance-attribute

iops: NotRequired[NonNegativeInteger]

Input/output operations per second for the volume.

kms_key_id instance-attribute

kms_key_id: NotRequired[KmsKeyId]

KMS key for volume encryption.

size_in_gb instance-attribute

size_in_gb: NotRequired[NonNegativeInteger]

Volume size in gigabytes.

snapshot_id instance-attribute

snapshot_id: NotRequired[SnapshotId]

Source snapshot for volume creation.

tag_specifications instance-attribute

tag_specifications: NotRequired[TagSpecifications]

Metadata tags for the volume.

throughput instance-attribute

throughput: NotRequired[NonNegativeInteger]

Volume throughput performance.

volume_type instance-attribute

volume_type: NotRequired[VolumeTypeEnum]

Type of EBS volume.