published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
Creates a copy of an existing Amazon EBS volume.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const source = new aws.ebs.Volume("source", {
availabilityZone: "us-west-2a",
size: 8,
});
const example = new aws.ebs.VolumeCopy("example", {
sourceVolumeId: source.id,
volumeType: "gp3",
size: 20,
iops: 3000,
throughput: 125,
tags: {
Name: "example-copy",
},
});
import pulumi
import pulumi_aws as aws
source = aws.ebs.Volume("source",
availability_zone="us-west-2a",
size=8)
example = aws.ebs.VolumeCopy("example",
source_volume_id=source.id,
volume_type="gp3",
size=20,
iops=3000,
throughput=125,
tags={
"Name": "example-copy",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ebs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
source, err := ebs.NewVolume(ctx, "source", &ebs.VolumeArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
Size: pulumi.Int(8),
})
if err != nil {
return err
}
_, err = ebs.NewVolumeCopy(ctx, "example", &ebs.VolumeCopyArgs{
SourceVolumeId: source.ID(),
VolumeType: pulumi.String("gp3"),
Size: pulumi.Int(20),
Iops: pulumi.Int(3000),
Throughput: pulumi.Int(125),
Tags: pulumi.StringMap{
"Name": pulumi.String("example-copy"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var source = new Aws.Ebs.Volume("source", new()
{
AvailabilityZone = "us-west-2a",
Size = 8,
});
var example = new Aws.Ebs.VolumeCopy("example", new()
{
SourceVolumeId = source.Id,
VolumeType = "gp3",
Size = 20,
Iops = 3000,
Throughput = 125,
Tags =
{
{ "Name", "example-copy" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ebs.Volume;
import com.pulumi.aws.ebs.VolumeArgs;
import com.pulumi.aws.ebs.VolumeCopy;
import com.pulumi.aws.ebs.VolumeCopyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var source = new Volume("source", VolumeArgs.builder()
.availabilityZone("us-west-2a")
.size(8)
.build());
var example = new VolumeCopy("example", VolumeCopyArgs.builder()
.sourceVolumeId(source.id())
.volumeType("gp3")
.size(20)
.iops(3000)
.throughput(125)
.tags(Map.of("Name", "example-copy"))
.build());
}
}
resources:
source:
type: aws:ebs:Volume
properties:
availabilityZone: us-west-2a
size: 8
example:
type: aws:ebs:VolumeCopy
properties:
sourceVolumeId: ${source.id}
volumeType: gp3
size: 20
iops: 3000
throughput: 125
tags:
Name: example-copy
Example coming soon!
Create VolumeCopy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VolumeCopy(name: string, args: VolumeCopyArgs, opts?: CustomResourceOptions);@overload
def VolumeCopy(resource_name: str,
args: VolumeCopyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VolumeCopy(resource_name: str,
opts: Optional[ResourceOptions] = None,
source_volume_id: Optional[str] = None,
iops: Optional[int] = None,
region: Optional[str] = None,
size: Optional[int] = None,
tags: Optional[Mapping[str, str]] = None,
throughput: Optional[int] = None,
timeouts: Optional[VolumeCopyTimeoutsArgs] = None,
volume_type: Optional[str] = None)func NewVolumeCopy(ctx *Context, name string, args VolumeCopyArgs, opts ...ResourceOption) (*VolumeCopy, error)public VolumeCopy(string name, VolumeCopyArgs args, CustomResourceOptions? opts = null)
public VolumeCopy(String name, VolumeCopyArgs args)
public VolumeCopy(String name, VolumeCopyArgs args, CustomResourceOptions options)
type: aws:ebs:VolumeCopy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_ebs_volumecopy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VolumeCopyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VolumeCopyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VolumeCopyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VolumeCopyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VolumeCopyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var volumeCopyResource = new Aws.Ebs.VolumeCopy("volumeCopyResource", new()
{
SourceVolumeId = "string",
Iops = 0,
Region = "string",
Size = 0,
Tags =
{
{ "string", "string" },
},
Throughput = 0,
Timeouts = new Aws.Ebs.Inputs.VolumeCopyTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
VolumeType = "string",
});
example, err := ebs.NewVolumeCopy(ctx, "volumeCopyResource", &ebs.VolumeCopyArgs{
SourceVolumeId: pulumi.String("string"),
Iops: pulumi.Int(0),
Region: pulumi.String("string"),
Size: pulumi.Int(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Throughput: pulumi.Int(0),
Timeouts: &ebs.VolumeCopyTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VolumeType: pulumi.String("string"),
})
resource "aws_ebs_volumecopy" "volumeCopyResource" {
source_volume_id = "string"
iops = 0
region = "string"
size = 0
tags = {
"string" = "string"
}
throughput = 0
timeouts = {
create = "string"
delete = "string"
update = "string"
}
volume_type = "string"
}
var volumeCopyResource = new VolumeCopy("volumeCopyResource", VolumeCopyArgs.builder()
.sourceVolumeId("string")
.iops(0)
.region("string")
.size(0)
.tags(Map.of("string", "string"))
.throughput(0)
.timeouts(VolumeCopyTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.volumeType("string")
.build());
volume_copy_resource = aws.ebs.VolumeCopy("volumeCopyResource",
source_volume_id="string",
iops=0,
region="string",
size=0,
tags={
"string": "string",
},
throughput=0,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
volume_type="string")
const volumeCopyResource = new aws.ebs.VolumeCopy("volumeCopyResource", {
sourceVolumeId: "string",
iops: 0,
region: "string",
size: 0,
tags: {
string: "string",
},
throughput: 0,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
volumeType: "string",
});
type: aws:ebs:VolumeCopy
properties:
iops: 0
region: string
size: 0
sourceVolumeId: string
tags:
string: string
throughput: 0
timeouts:
create: string
delete: string
update: string
volumeType: string
VolumeCopy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VolumeCopy resource accepts the following input properties:
- Source
Volume stringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- Iops int
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - Region string
- 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 int
- Size of the copied volume, in GiB.
- Dictionary<string, string>
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Throughput int
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - Timeouts
Volume
Copy Timeouts - Volume
Type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- Source
Volume stringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- Iops int
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - Region string
- 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 int
- Size of the copied volume, in GiB.
- map[string]string
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Throughput int
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - Timeouts
Volume
Copy Timeouts Args - Volume
Type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- source_
volume_ stringid - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- iops number
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region string
- 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 number
- Size of the copied volume, in GiB.
- map(string)
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throughput number
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts object
- volume_
type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- source
Volume StringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- iops Integer
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region String
- 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 Integer
- Size of the copied volume, in GiB.
- Map<String,String>
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throughput Integer
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts
Volume
Copy Timeouts - volume
Type String Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- source
Volume stringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- iops number
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region string
- 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 number
- Size of the copied volume, in GiB.
- {[key: string]: string}
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throughput number
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts
Volume
Copy Timeouts - volume
Type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- source_
volume_ strid - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- iops int
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region str
- 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 int
- Size of the copied volume, in GiB.
- Mapping[str, str]
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throughput int
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts
Volume
Copy Timeouts Args - volume_
type str Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- source
Volume StringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- iops Number
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region String
- 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 Number
- Size of the copied volume, in GiB.
- Map<String>
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - throughput Number
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts Property Map
- volume
Type String Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
Outputs
All input properties are implicitly available as output properties. Additionally, the VolumeCopy resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- Availability
Zone string - Availability Zone for the copied volume.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- Availability
Zone string - Availability Zone for the copied volume.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability_
zone string - Availability Zone for the copied volume.
- id string
- The provider-assigned unique ID for this managed resource.
- map(string)
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability
Zone String - Availability Zone for the copied volume.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability
Zone string - Availability Zone for the copied volume.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability_
zone str - Availability Zone for the copied volume.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability
Zone String - Availability Zone for the copied volume.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing VolumeCopy Resource
Get an existing VolumeCopy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VolumeCopyState, opts?: CustomResourceOptions): VolumeCopy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
availability_zone: Optional[str] = None,
iops: Optional[int] = None,
region: Optional[str] = None,
size: Optional[int] = None,
source_volume_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
throughput: Optional[int] = None,
timeouts: Optional[VolumeCopyTimeoutsArgs] = None,
volume_type: Optional[str] = None) -> VolumeCopyfunc GetVolumeCopy(ctx *Context, name string, id IDInput, state *VolumeCopyState, opts ...ResourceOption) (*VolumeCopy, error)public static VolumeCopy Get(string name, Input<string> id, VolumeCopyState? state, CustomResourceOptions? opts = null)public static VolumeCopy get(String name, Output<String> id, VolumeCopyState state, CustomResourceOptions options)resources: _: type: aws:ebs:VolumeCopy get: id: ${id}import {
to = aws_ebs_volumecopy.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- Availability
Zone string - Availability Zone for the copied volume.
- Iops int
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - Region string
- 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 int
- Size of the copied volume, in GiB.
- Source
Volume stringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- Dictionary<string, string>
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Throughput int
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - Timeouts
Volume
Copy Timeouts - Volume
Type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- Arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- Availability
Zone string - Availability Zone for the copied volume.
- Iops int
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - Region string
- 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 int
- Size of the copied volume, in GiB.
- Source
Volume stringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- map[string]string
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Throughput int
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - Timeouts
Volume
Copy Timeouts Args - Volume
Type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability_
zone string - Availability Zone for the copied volume.
- iops number
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region string
- 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 number
- Size of the copied volume, in GiB.
- source_
volume_ stringid - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- map(string)
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throughput number
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts object
- volume_
type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- arn String
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability
Zone String - Availability Zone for the copied volume.
- iops Integer
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region String
- 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 Integer
- Size of the copied volume, in GiB.
- source
Volume StringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- Map<String,String>
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throughput Integer
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts
Volume
Copy Timeouts - volume
Type String Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- arn string
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability
Zone string - Availability Zone for the copied volume.
- iops number
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region string
- 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 number
- Size of the copied volume, in GiB.
- source
Volume stringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- {[key: string]: string}
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throughput number
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts
Volume
Copy Timeouts - volume
Type string Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- arn str
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability_
zone str - Availability Zone for the copied volume.
- iops int
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region str
- 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 int
- Size of the copied volume, in GiB.
- source_
volume_ strid - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- Mapping[str, str]
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throughput int
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts
Volume
Copy Timeouts Args - volume_
type str Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
- arn String
- Amazon Resource Name (ARN) of the copied EBS volume.
- availability
Zone String - Availability Zone for the copied volume.
- iops Number
- Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as
gp3. - region String
- 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 Number
- Size of the copied volume, in GiB.
- source
Volume StringId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
- Map<String>
- A map of tags to assign to the copied volume. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - throughput Number
- Throughput for the copied volume, in MiB/s. Valid only when
volumeTypeisgp3. - timeouts Property Map
- volume
Type String Type of the copied EBS volume. Valid values include
gp2,gp3,io1,io2,sc1,st1, andstandard.NOTE: When changing the
size,iopsortypeof a volume, there are considerations to be aware of.
Supporting Types
VolumeCopyTimeouts, VolumeCopyTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Identity Schema
Required
id(String) Volume ID.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import an EBS Volume Copy using the volume ID. For example:
$ pulumi import aws:ebs/volumeCopy:VolumeCopy example vol-049df61146c4d7901
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Apr 30, 2026 by Pulumi
