AWS Classic v5.41.0, May 15 23
AWS Classic v5.41.0, May 15 23
aws.ebs.Volume
Explore with Pulumi AI
Manages a single EBS volume.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ebs.Volume("example", new()
{
AvailabilityZone = "us-west-2a",
Size = 40,
Tags =
{
{ "Name", "HelloWorld" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ebs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ebs.NewVolume(ctx, "example", &ebs.VolumeArgs{
AvailabilityZone: pulumi.String("us-west-2a"),
Size: pulumi.Int(40),
Tags: pulumi.StringMap{
"Name": pulumi.String("HelloWorld"),
},
})
if err != nil {
return err
}
return nil
})
}
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 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 example = new Volume("example", VolumeArgs.builder()
.availabilityZone("us-west-2a")
.size(40)
.tags(Map.of("Name", "HelloWorld"))
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.ebs.Volume("example",
availability_zone="us-west-2a",
size=40,
tags={
"Name": "HelloWorld",
})
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ebs.Volume("example", {
availabilityZone: "us-west-2a",
size: 40,
tags: {
Name: "HelloWorld",
},
});
resources:
example:
type: aws:ebs:Volume
properties:
availabilityZone: us-west-2a
size: 40
tags:
Name: HelloWorld
Create Volume Resource
new Volume(name: string, args: VolumeArgs, opts?: CustomResourceOptions);
@overload
def Volume(resource_name: str,
opts: Optional[ResourceOptions] = None,
availability_zone: Optional[str] = None,
encrypted: Optional[bool] = None,
final_snapshot: Optional[bool] = None,
iops: Optional[int] = None,
kms_key_id: Optional[str] = None,
multi_attach_enabled: Optional[bool] = None,
outpost_arn: Optional[str] = None,
size: Optional[int] = None,
snapshot_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
throughput: Optional[int] = None,
type: Optional[str] = None)
@overload
def Volume(resource_name: str,
args: VolumeArgs,
opts: Optional[ResourceOptions] = None)
func NewVolume(ctx *Context, name string, args VolumeArgs, opts ...ResourceOption) (*Volume, error)
public Volume(string name, VolumeArgs args, CustomResourceOptions? opts = null)
public Volume(String name, VolumeArgs args)
public Volume(String name, VolumeArgs args, CustomResourceOptions options)
type: aws:ebs:Volume
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VolumeArgs
- 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 VolumeArgs
- 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 VolumeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VolumeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VolumeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Volume Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Volume resource accepts the following input properties:
- Availability
Zone string The AZ where the EBS volume will exist.
- Encrypted bool
If true, the disk will be encrypted.
- Final
Snapshot bool If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- Iops int
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- Kms
Key stringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- Multi
Attach boolEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- Outpost
Arn string The Amazon Resource Name (ARN) of the Outpost.
- Size int
The size of the drive in GiBs.
- Snapshot
Id string A snapshot to base the EBS volume off of.
- Dictionary<string, string>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Throughput int
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- Type string
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- Availability
Zone string The AZ where the EBS volume will exist.
- Encrypted bool
If true, the disk will be encrypted.
- Final
Snapshot bool If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- Iops int
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- Kms
Key stringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- Multi
Attach boolEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- Outpost
Arn string The Amazon Resource Name (ARN) of the Outpost.
- Size int
The size of the drive in GiBs.
- Snapshot
Id string A snapshot to base the EBS volume off of.
- map[string]string
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Throughput int
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- Type string
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- availability
Zone String The AZ where the EBS volume will exist.
- encrypted Boolean
If true, the disk will be encrypted.
- final
Snapshot Boolean If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops Integer
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms
Key StringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi
Attach BooleanEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost
Arn String The Amazon Resource Name (ARN) of the Outpost.
- size Integer
The size of the drive in GiBs.
- snapshot
Id String A snapshot to base the EBS volume off of.
- Map<String,String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- throughput Integer
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type String
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- availability
Zone string The AZ where the EBS volume will exist.
- encrypted boolean
If true, the disk will be encrypted.
- final
Snapshot boolean If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops number
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms
Key stringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi
Attach booleanEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost
Arn string The Amazon Resource Name (ARN) of the Outpost.
- size number
The size of the drive in GiBs.
- snapshot
Id string A snapshot to base the EBS volume off of.
- {[key: string]: string}
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- throughput number
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type string
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- availability_
zone str The AZ where the EBS volume will exist.
- encrypted bool
If true, the disk will be encrypted.
- final_
snapshot bool If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops int
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms_
key_ strid The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi_
attach_ boolenabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost_
arn str The Amazon Resource Name (ARN) of the Outpost.
- size int
The size of the drive in GiBs.
- snapshot_
id str A snapshot to base the EBS volume off of.
- Mapping[str, str]
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- throughput int
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type str
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- availability
Zone String The AZ where the EBS volume will exist.
- encrypted Boolean
If true, the disk will be encrypted.
- final
Snapshot Boolean If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops Number
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms
Key StringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi
Attach BooleanEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost
Arn String The Amazon Resource Name (ARN) of the Outpost.
- size Number
The size of the drive in GiBs.
- snapshot
Id String A snapshot to base the EBS volume off of.
- Map<String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- throughput Number
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type String
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
Outputs
All input properties are implicitly available as output properties. Additionally, the Volume resource produces the following output properties:
- Arn string
The volume ARN (e.g., arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
- 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
default_tags
configuration block.
Look up Existing Volume Resource
Get an existing Volume 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?: VolumeState, opts?: CustomResourceOptions): Volume
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
availability_zone: Optional[str] = None,
encrypted: Optional[bool] = None,
final_snapshot: Optional[bool] = None,
iops: Optional[int] = None,
kms_key_id: Optional[str] = None,
multi_attach_enabled: Optional[bool] = None,
outpost_arn: Optional[str] = None,
size: Optional[int] = None,
snapshot_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
throughput: Optional[int] = None,
type: Optional[str] = None) -> Volume
func GetVolume(ctx *Context, name string, id IDInput, state *VolumeState, opts ...ResourceOption) (*Volume, error)
public static Volume Get(string name, Input<string> id, VolumeState? state, CustomResourceOptions? opts = null)
public static Volume get(String name, Output<String> id, VolumeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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
The volume ARN (e.g., arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
- Availability
Zone string The AZ where the EBS volume will exist.
- Encrypted bool
If true, the disk will be encrypted.
- Final
Snapshot bool If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- Iops int
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- Kms
Key stringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- Multi
Attach boolEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- Outpost
Arn string The Amazon Resource Name (ARN) of the Outpost.
- Size int
The size of the drive in GiBs.
- Snapshot
Id string A snapshot to base the EBS volume off of.
- Dictionary<string, string>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration 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
default_tags
configuration block.- Throughput int
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- Type string
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- Arn string
The volume ARN (e.g., arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
- Availability
Zone string The AZ where the EBS volume will exist.
- Encrypted bool
If true, the disk will be encrypted.
- Final
Snapshot bool If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- Iops int
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- Kms
Key stringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- Multi
Attach boolEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- Outpost
Arn string The Amazon Resource Name (ARN) of the Outpost.
- Size int
The size of the drive in GiBs.
- Snapshot
Id string A snapshot to base the EBS volume off of.
- map[string]string
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration 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
default_tags
configuration block.- Throughput int
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- Type string
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- arn String
The volume ARN (e.g., arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
- availability
Zone String The AZ where the EBS volume will exist.
- encrypted Boolean
If true, the disk will be encrypted.
- final
Snapshot Boolean If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops Integer
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms
Key StringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi
Attach BooleanEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost
Arn String The Amazon Resource Name (ARN) of the Outpost.
- size Integer
The size of the drive in GiBs.
- snapshot
Id String A snapshot to base the EBS volume off of.
- Map<String,String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration 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
default_tags
configuration block.- throughput Integer
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type String
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- arn string
The volume ARN (e.g., arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
- availability
Zone string The AZ where the EBS volume will exist.
- encrypted boolean
If true, the disk will be encrypted.
- final
Snapshot boolean If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops number
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms
Key stringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi
Attach booleanEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost
Arn string The Amazon Resource Name (ARN) of the Outpost.
- size number
The size of the drive in GiBs.
- snapshot
Id string A snapshot to base the EBS volume off of.
- {[key: string]: string}
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration 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
default_tags
configuration block.- throughput number
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type string
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- arn str
The volume ARN (e.g., arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
- availability_
zone str The AZ where the EBS volume will exist.
- encrypted bool
If true, the disk will be encrypted.
- final_
snapshot bool If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops int
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms_
key_ strid The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi_
attach_ boolenabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost_
arn str The Amazon Resource Name (ARN) of the Outpost.
- size int
The size of the drive in GiBs.
- snapshot_
id str A snapshot to base the EBS volume off of.
- Mapping[str, str]
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration 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
default_tags
configuration block.- throughput int
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type str
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
- arn String
The volume ARN (e.g., arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
- availability
Zone String The AZ where the EBS volume will exist.
- encrypted Boolean
If true, the disk will be encrypted.
- final
Snapshot Boolean If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
- iops Number
The amount of IOPS to provision for the disk. Only valid for
type
ofio1
,io2
orgp3
.- kms
Key StringId The ARN for the KMS encryption key. When specifying
kms_key_id
,encrypted
needs to be set to true. Note: The provider must be running with credentials which have theGenerateDataKeyWithoutPlaintext
permission on the specified KMS key as required by the EBS KMS CMK volume provisioning process to prevent a volume from being created and almost immediately deleted.- multi
Attach BooleanEnabled Specifies whether to enable Amazon EBS Multi-Attach. Multi-Attach is supported on
io1
andio2
volumes.- outpost
Arn String The Amazon Resource Name (ARN) of the Outpost.
- size Number
The size of the drive in GiBs.
- snapshot
Id String A snapshot to base the EBS volume off of.
- Map<String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration 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
default_tags
configuration block.- throughput Number
The throughput that the volume supports, in MiB/s. Only valid for
type
ofgp3
.- type String
The type of EBS volume. Can be
standard
,gp2
,gp3
,io1
,io2
,sc1
orst1
(Default:gp2
).
Import
EBS Volumes can be imported using the id
, e.g.,
$ pulumi import aws:ebs/volume:Volume id vol-049df61146c4d7901
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.