VolumeCopyArgs constructor
Creates a new VolumeCopyArgs.
iops Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as gp3.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration. This must match the Region of the source EBS volume referenced by sourceVolumeId.
size Size of the copied volume, in GiB.
sourceVolumeId ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
tags A map of tags to assign to the copied volume. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
throughput Throughput for the copied volume, in MiB/s. Valid only when volumeType is gp3.
timeouts Optional.
volumeType Type of the copied EBS volume. Valid values include gp2, gp3, io1, io2, sc1, st1, and standard.
Implementation
const VolumeCopyArgs({
this.iops,
this.region,
this.size,
required this.sourceVolumeId,
this.tags,
this.throughput,
this.timeouts,
this.volumeType,
});