Documentation
¶
Index ¶
- type DefaultKmsKey
- type DefaultKmsKeyArgs
- type DefaultKmsKeyState
- type EncryptionByDefault
- type EncryptionByDefaultArgs
- type EncryptionByDefaultState
- type GetDefaultKmsKeyResult
- type GetEncryptionByDefaultResult
- type GetSnapshotArgs
- type GetSnapshotIdsArgs
- type GetSnapshotIdsResult
- type GetSnapshotResult
- type GetVolumeArgs
- type GetVolumeResult
- type Snapshot
- func (r *Snapshot) DataEncryptionKeyId() pulumi.StringOutput
- func (r *Snapshot) Description() pulumi.StringOutput
- func (r *Snapshot) Encrypted() pulumi.BoolOutput
- func (r *Snapshot) ID() pulumi.IDOutput
- func (r *Snapshot) KmsKeyId() pulumi.StringOutput
- func (r *Snapshot) OwnerAlias() pulumi.StringOutput
- func (r *Snapshot) OwnerId() pulumi.StringOutput
- func (r *Snapshot) Tags() pulumi.MapOutput
- func (r *Snapshot) URN() pulumi.URNOutput
- func (r *Snapshot) VolumeId() pulumi.StringOutput
- func (r *Snapshot) VolumeSize() pulumi.IntOutput
- type SnapshotArgs
- type SnapshotCopy
- func (r *SnapshotCopy) DataEncryptionKeyId() pulumi.StringOutput
- func (r *SnapshotCopy) Description() pulumi.StringOutput
- func (r *SnapshotCopy) Encrypted() pulumi.BoolOutput
- func (r *SnapshotCopy) ID() pulumi.IDOutput
- func (r *SnapshotCopy) KmsKeyId() pulumi.StringOutput
- func (r *SnapshotCopy) OwnerAlias() pulumi.StringOutput
- func (r *SnapshotCopy) OwnerId() pulumi.StringOutput
- func (r *SnapshotCopy) SourceRegion() pulumi.StringOutput
- func (r *SnapshotCopy) SourceSnapshotId() pulumi.StringOutput
- func (r *SnapshotCopy) Tags() pulumi.MapOutput
- func (r *SnapshotCopy) URN() pulumi.URNOutput
- func (r *SnapshotCopy) VolumeId() pulumi.StringOutput
- func (r *SnapshotCopy) VolumeSize() pulumi.IntOutput
- type SnapshotCopyArgs
- type SnapshotCopyState
- type SnapshotState
- type Volume
- func (r *Volume) Arn() pulumi.StringOutput
- func (r *Volume) AvailabilityZone() pulumi.StringOutput
- func (r *Volume) Encrypted() pulumi.BoolOutput
- func (r *Volume) ID() pulumi.IDOutput
- func (r *Volume) Iops() pulumi.IntOutput
- func (r *Volume) KmsKeyId() pulumi.StringOutput
- func (r *Volume) Size() pulumi.IntOutput
- func (r *Volume) SnapshotId() pulumi.StringOutput
- func (r *Volume) Tags() pulumi.MapOutput
- func (r *Volume) Type() pulumi.StringOutput
- func (r *Volume) URN() pulumi.URNOutput
- type VolumeArgs
- type VolumeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultKmsKey ¶ added in v0.18.13
type DefaultKmsKey struct {
// contains filtered or unexported fields
}
Provides a resource to manage the default customer master key (CMK) that your AWS account uses to encrypt EBS volumes.
Your AWS account has an AWS-managed default CMK that is used for encrypting an EBS volume when no CMK is specified in the API call that creates the volume. By using the `ebs.DefaultKmsKey` resource, you can specify a customer-managed CMK to use in place of the AWS-managed default CMK.
> **NOTE:** Creating an `ebs.DefaultKmsKey` resource does not enable default EBS encryption. Use the `ebs.EncryptionByDefault` to enable default EBS encryption.
> **NOTE:** Destroying this resource will reset the default CMK to the account's AWS-managed default CMK for EBS.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ebs_default_kms_key.html.markdown.
func GetDefaultKmsKey ¶ added in v0.18.13
func GetDefaultKmsKey(ctx *pulumi.Context, name string, id pulumi.ID, state *DefaultKmsKeyState, opts ...pulumi.ResourceOpt) (*DefaultKmsKey, error)
GetDefaultKmsKey gets an existing DefaultKmsKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDefaultKmsKey ¶ added in v0.18.13
func NewDefaultKmsKey(ctx *pulumi.Context, name string, args *DefaultKmsKeyArgs, opts ...pulumi.ResourceOpt) (*DefaultKmsKey, error)
NewDefaultKmsKey registers a new resource with the given unique name, arguments, and options.
func (*DefaultKmsKey) ID ¶ added in v0.18.13
func (r *DefaultKmsKey) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*DefaultKmsKey) KeyArn ¶ added in v0.18.13
func (r *DefaultKmsKey) KeyArn() pulumi.StringOutput
The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use to encrypt the EBS volume.
func (*DefaultKmsKey) URN ¶ added in v0.18.13
func (r *DefaultKmsKey) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type DefaultKmsKeyArgs ¶ added in v0.18.13
type DefaultKmsKeyArgs struct {
// The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use to encrypt the EBS volume.
KeyArn interface{}
}
The set of arguments for constructing a DefaultKmsKey resource.
type DefaultKmsKeyState ¶ added in v0.18.13
type DefaultKmsKeyState struct {
// The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use to encrypt the EBS volume.
KeyArn interface{}
}
Input properties used for looking up and filtering DefaultKmsKey resources.
type EncryptionByDefault ¶ added in v0.18.13
type EncryptionByDefault struct {
// contains filtered or unexported fields
}
Provides a resource to manage whether default EBS encryption is enabled for your AWS account in the current AWS region. To manage the default KMS key for the region, see the [`ebs.DefaultKmsKey` resource](https://www.terraform.io/docs/providers/aws/r/ebs_default_kms_key.html).
> **NOTE:** Removing this resource disables default EBS encryption.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ebs_encryption_by_default.html.markdown.
func GetEncryptionByDefault ¶ added in v0.18.13
func GetEncryptionByDefault(ctx *pulumi.Context, name string, id pulumi.ID, state *EncryptionByDefaultState, opts ...pulumi.ResourceOpt) (*EncryptionByDefault, error)
GetEncryptionByDefault gets an existing EncryptionByDefault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEncryptionByDefault ¶ added in v0.18.13
func NewEncryptionByDefault(ctx *pulumi.Context, name string, args *EncryptionByDefaultArgs, opts ...pulumi.ResourceOpt) (*EncryptionByDefault, error)
NewEncryptionByDefault registers a new resource with the given unique name, arguments, and options.
func (*EncryptionByDefault) Enabled ¶ added in v0.18.13
func (r *EncryptionByDefault) Enabled() pulumi.BoolOutput
Whether or not default EBS encryption is enabled. Valid values are `true` or `false`. Defaults to `true`.
func (*EncryptionByDefault) ID ¶ added in v0.18.13
func (r *EncryptionByDefault) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*EncryptionByDefault) URN ¶ added in v0.18.13
func (r *EncryptionByDefault) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type EncryptionByDefaultArgs ¶ added in v0.18.13
type EncryptionByDefaultArgs struct {
// Whether or not default EBS encryption is enabled. Valid values are `true` or `false`. Defaults to `true`.
Enabled interface{}
}
The set of arguments for constructing a EncryptionByDefault resource.
type EncryptionByDefaultState ¶ added in v0.18.13
type EncryptionByDefaultState struct {
// Whether or not default EBS encryption is enabled. Valid values are `true` or `false`. Defaults to `true`.
Enabled interface{}
}
Input properties used for looking up and filtering EncryptionByDefault resources.
type GetDefaultKmsKeyResult ¶ added in v0.18.16
type GetDefaultKmsKeyResult struct { // Amazon Resource Name (ARN) of the default KMS key uses to encrypt an EBS volume in this region when no key is specified in an API call that creates the volume and encryption by default is enabled. KeyArn interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getDefaultKmsKey.
func LookupDefaultKmsKey ¶ added in v0.18.16
func LookupDefaultKmsKey(ctx *pulumi.Context) (*GetDefaultKmsKeyResult, error)
Use this data source to get the default EBS encryption KMS key in the current region.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ebs_default_kms_key.html.markdown.
type GetEncryptionByDefaultResult ¶ added in v0.18.16
type GetEncryptionByDefaultResult struct { // Whether or not default EBS encryption is enabled. Returns as `true` or `false`. Enabled interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getEncryptionByDefault.
func LookupEncryptionByDefault ¶ added in v0.18.16
func LookupEncryptionByDefault(ctx *pulumi.Context) (*GetEncryptionByDefaultResult, error)
Provides a way to check whether default EBS encryption is enabled for your AWS account in the current AWS region.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ebs_encryption_by_default.html.markdown.
type GetSnapshotArgs ¶
type GetSnapshotArgs struct { // One or more name/value pairs to filter off of. There are // several valid keys, for a full reference, check out // [describe-snapshots in the AWS CLI reference][1]. Filters interface{} // If more than one result is returned, use the most recent snapshot. MostRecent interface{} // Returns the snapshots owned by the specified owner id. Multiple owners can be specified. Owners interface{} // One or more AWS accounts IDs that can create volumes from the snapshot. RestorableByUserIds interface{} // Returns information on a specific snapshot_id. SnapshotIds interface{} Tags interface{} }
A collection of arguments for invoking getSnapshot.
type GetSnapshotIdsArgs ¶
type GetSnapshotIdsArgs struct { // One or more name/value pairs to filter off of. There are // several valid keys, for a full reference, check out // [describe-volumes in the AWS CLI reference][1]. Filters interface{} // Returns the snapshots owned by the specified owner id. Multiple owners can be specified. Owners interface{} // One or more AWS accounts IDs that can create volumes from the snapshot. RestorableByUserIds interface{} }
A collection of arguments for invoking getSnapshotIds.
type GetSnapshotIdsResult ¶
type GetSnapshotIdsResult struct { Filters interface{} Ids interface{} Owners interface{} RestorableByUserIds interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSnapshotIds.
func LookupSnapshotIds ¶
func LookupSnapshotIds(ctx *pulumi.Context, args *GetSnapshotIdsArgs) (*GetSnapshotIdsResult, error)
Use this data source to get a list of EBS Snapshot IDs matching the specified criteria.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ebs_snapshot_ids.html.markdown.
type GetSnapshotResult ¶
type GetSnapshotResult struct { // The data encryption key identifier for the snapshot. DataEncryptionKeyId interface{} // A description for the snapshot Description interface{} // Whether the snapshot is encrypted. Encrypted interface{} Filters interface{} // The ARN for the KMS encryption key. KmsKeyId interface{} MostRecent interface{} // Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners. OwnerAlias interface{} // The AWS account ID of the EBS snapshot owner. OwnerId interface{} Owners interface{} RestorableByUserIds interface{} // The snapshot ID (e.g. snap-59fcb34e). SnapshotId interface{} SnapshotIds interface{} // The snapshot state. State interface{} // A mapping of tags for the resource. Tags interface{} // The volume ID (e.g. vol-59fcb34e). VolumeId interface{} // The size of the drive in GiBs. VolumeSize interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getSnapshot.
func LookupSnapshot ¶
func LookupSnapshot(ctx *pulumi.Context, args *GetSnapshotArgs) (*GetSnapshotResult, error)
Use this data source to get information about an EBS Snapshot for use when provisioning EBS Volumes
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ebs_snapshot.html.markdown.
type GetVolumeArgs ¶
type GetVolumeArgs struct { // One or more name/value pairs to filter off of. There are // several valid keys, for a full reference, check out // [describe-volumes in the AWS CLI reference][1]. Filters interface{} // If more than one result is returned, use the most // recent Volume. MostRecent interface{} Tags interface{} }
A collection of arguments for invoking getVolume.
type GetVolumeResult ¶
type GetVolumeResult struct { // The volume ARN (e.g. arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e). Arn interface{} // The AZ where the EBS volume exists. AvailabilityZone interface{} // Whether the disk is encrypted. Encrypted interface{} Filters interface{} // The amount of IOPS for the disk. Iops interface{} // The ARN for the KMS encryption key. KmsKeyId interface{} MostRecent interface{} // The size of the drive in GiBs. Size interface{} // The snapshotId the EBS volume is based off. SnapshotId interface{} // A mapping of tags for the resource. Tags interface{} // The volume ID (e.g. vol-59fcb34e). VolumeId interface{} // The type of EBS volume. VolumeType interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getVolume.
func LookupVolume ¶
func LookupVolume(ctx *pulumi.Context, args *GetVolumeArgs) (*GetVolumeResult, error)
Use this data source to get information about an EBS volume for use in other resources.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/ebs_volume.html.markdown.
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
Creates a Snapshot of an EBS Volume.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ebs_snapshot.html.markdown.
func GetSnapshot ¶
func GetSnapshot(ctx *pulumi.Context, name string, id pulumi.ID, state *SnapshotState, opts ...pulumi.ResourceOpt) (*Snapshot, error)
GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshot ¶
func NewSnapshot(ctx *pulumi.Context, name string, args *SnapshotArgs, opts ...pulumi.ResourceOpt) (*Snapshot, error)
NewSnapshot registers a new resource with the given unique name, arguments, and options.
func (*Snapshot) DataEncryptionKeyId ¶
func (r *Snapshot) DataEncryptionKeyId() pulumi.StringOutput
The data encryption key identifier for the snapshot.
func (*Snapshot) Description ¶
func (r *Snapshot) Description() pulumi.StringOutput
A description of what the snapshot is.
func (*Snapshot) Encrypted ¶
func (r *Snapshot) Encrypted() pulumi.BoolOutput
Whether the snapshot is encrypted.
func (*Snapshot) KmsKeyId ¶
func (r *Snapshot) KmsKeyId() pulumi.StringOutput
The ARN for the KMS encryption key.
func (*Snapshot) OwnerAlias ¶
func (r *Snapshot) OwnerAlias() pulumi.StringOutput
Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners.
func (*Snapshot) OwnerId ¶
func (r *Snapshot) OwnerId() pulumi.StringOutput
The AWS account ID of the EBS snapshot owner.
func (*Snapshot) VolumeId ¶
func (r *Snapshot) VolumeId() pulumi.StringOutput
The Volume ID of which to make a snapshot.
func (*Snapshot) VolumeSize ¶
The size of the drive in GiBs.
type SnapshotArgs ¶
type SnapshotArgs struct { // A description of what the snapshot is. Description interface{} // A mapping of tags to assign to the snapshot Tags interface{} // The Volume ID of which to make a snapshot. VolumeId interface{} }
The set of arguments for constructing a Snapshot resource.
type SnapshotCopy ¶ added in v0.16.1
type SnapshotCopy struct {
// contains filtered or unexported fields
}
Creates a Snapshot of a snapshot.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ebs_snapshot_copy.html.markdown.
func GetSnapshotCopy ¶ added in v0.16.1
func GetSnapshotCopy(ctx *pulumi.Context, name string, id pulumi.ID, state *SnapshotCopyState, opts ...pulumi.ResourceOpt) (*SnapshotCopy, error)
GetSnapshotCopy gets an existing SnapshotCopy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotCopy ¶ added in v0.16.1
func NewSnapshotCopy(ctx *pulumi.Context, name string, args *SnapshotCopyArgs, opts ...pulumi.ResourceOpt) (*SnapshotCopy, error)
NewSnapshotCopy registers a new resource with the given unique name, arguments, and options.
func (*SnapshotCopy) DataEncryptionKeyId ¶ added in v0.16.1
func (r *SnapshotCopy) DataEncryptionKeyId() pulumi.StringOutput
The data encryption key identifier for the snapshot. * `sourceSnapshotId` The ARN of the copied snapshot. * `sourceRegion` The region of the source snapshot.
func (*SnapshotCopy) Description ¶ added in v0.16.1
func (r *SnapshotCopy) Description() pulumi.StringOutput
A description of what the snapshot is.
func (*SnapshotCopy) Encrypted ¶ added in v0.16.1
func (r *SnapshotCopy) Encrypted() pulumi.BoolOutput
Whether the snapshot is encrypted.
func (*SnapshotCopy) ID ¶ added in v0.16.1
func (r *SnapshotCopy) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SnapshotCopy) KmsKeyId ¶ added in v0.16.1
func (r *SnapshotCopy) KmsKeyId() pulumi.StringOutput
The ARN for the KMS encryption key. * `sourceSnapshotId` The ARN for the snapshot to be copied. * `sourceRegion` The region of the source snapshot.
func (*SnapshotCopy) OwnerAlias ¶ added in v0.16.1
func (r *SnapshotCopy) OwnerAlias() pulumi.StringOutput
Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners.
func (*SnapshotCopy) OwnerId ¶ added in v0.16.1
func (r *SnapshotCopy) OwnerId() pulumi.StringOutput
The AWS account ID of the snapshot owner.
func (*SnapshotCopy) SourceRegion ¶ added in v0.16.1
func (r *SnapshotCopy) SourceRegion() pulumi.StringOutput
func (*SnapshotCopy) SourceSnapshotId ¶ added in v0.16.1
func (r *SnapshotCopy) SourceSnapshotId() pulumi.StringOutput
func (*SnapshotCopy) Tags ¶ added in v0.16.1
func (r *SnapshotCopy) Tags() pulumi.MapOutput
A mapping of tags for the snapshot.
func (*SnapshotCopy) URN ¶ added in v0.16.1
func (r *SnapshotCopy) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*SnapshotCopy) VolumeId ¶ added in v0.16.1
func (r *SnapshotCopy) VolumeId() pulumi.StringOutput
func (*SnapshotCopy) VolumeSize ¶ added in v0.16.1
func (r *SnapshotCopy) VolumeSize() pulumi.IntOutput
The size of the drive in GiBs.
type SnapshotCopyArgs ¶ added in v0.16.1
type SnapshotCopyArgs struct { // A description of what the snapshot is. Description interface{} // Whether the snapshot is encrypted. Encrypted interface{} // The ARN for the KMS encryption key. // * `sourceSnapshotId` The ARN for the snapshot to be copied. // * `sourceRegion` The region of the source snapshot. KmsKeyId interface{} SourceRegion interface{} SourceSnapshotId interface{} // A mapping of tags for the snapshot. Tags interface{} }
The set of arguments for constructing a SnapshotCopy resource.
type SnapshotCopyState ¶ added in v0.16.1
type SnapshotCopyState struct { // The data encryption key identifier for the snapshot. // * `sourceSnapshotId` The ARN of the copied snapshot. // * `sourceRegion` The region of the source snapshot. DataEncryptionKeyId interface{} // A description of what the snapshot is. Description interface{} // Whether the snapshot is encrypted. Encrypted interface{} // The ARN for the KMS encryption key. // * `sourceSnapshotId` The ARN for the snapshot to be copied. // * `sourceRegion` The region of the source snapshot. KmsKeyId interface{} // Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners. OwnerAlias interface{} // The AWS account ID of the snapshot owner. OwnerId interface{} SourceRegion interface{} SourceSnapshotId interface{} // A mapping of tags for the snapshot. Tags interface{} VolumeId interface{} // The size of the drive in GiBs. VolumeSize interface{} }
Input properties used for looking up and filtering SnapshotCopy resources.
type SnapshotState ¶
type SnapshotState struct { // The data encryption key identifier for the snapshot. DataEncryptionKeyId interface{} // A description of what the snapshot is. Description interface{} // Whether the snapshot is encrypted. Encrypted interface{} // The ARN for the KMS encryption key. KmsKeyId interface{} // Value from an Amazon-maintained list (`amazon`, `aws-marketplace`, `microsoft`) of snapshot owners. OwnerAlias interface{} // The AWS account ID of the EBS snapshot owner. OwnerId interface{} // A mapping of tags to assign to the snapshot Tags interface{} // The Volume ID of which to make a snapshot. VolumeId interface{} // The size of the drive in GiBs. VolumeSize interface{} }
Input properties used for looking up and filtering Snapshot resources.
type Volume ¶
type Volume struct {
// contains filtered or unexported fields
}
Manages a single EBS volume.
> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ebs_volume.html.markdown.
func GetVolume ¶
func GetVolume(ctx *pulumi.Context, name string, id pulumi.ID, state *VolumeState, opts ...pulumi.ResourceOpt) (*Volume, error)
GetVolume gets an existing Volume resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVolume ¶
func NewVolume(ctx *pulumi.Context, name string, args *VolumeArgs, opts ...pulumi.ResourceOpt) (*Volume, error)
NewVolume registers a new resource with the given unique name, arguments, and options.
func (*Volume) Arn ¶
func (r *Volume) Arn() pulumi.StringOutput
The volume ARN (e.g. arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e).
func (*Volume) AvailabilityZone ¶
func (r *Volume) AvailabilityZone() pulumi.StringOutput
The AZ where the EBS volume will exist.
func (*Volume) Encrypted ¶
func (r *Volume) Encrypted() pulumi.BoolOutput
If true, the disk will be encrypted.
func (*Volume) KmsKeyId ¶
func (r *Volume) KmsKeyId() pulumi.StringOutput
The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true.
func (*Volume) SnapshotId ¶
func (r *Volume) SnapshotId() pulumi.StringOutput
A snapshot to base the EBS volume off of.
func (*Volume) Type ¶
func (r *Volume) Type() pulumi.StringOutput
The type of EBS volume. Can be "standard", "gp2", "io1", "sc1" or "st1" (Default: "standard").
type VolumeArgs ¶
type VolumeArgs struct { // The AZ where the EBS volume will exist. AvailabilityZone interface{} // If true, the disk will be encrypted. Encrypted interface{} // The amount of IOPS to provision for the disk. Iops interface{} // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true. KmsKeyId interface{} // The size of the drive in GiBs. Size interface{} // A snapshot to base the EBS volume off of. SnapshotId interface{} // A mapping of tags to assign to the resource. Tags interface{} // The type of EBS volume. Can be "standard", "gp2", "io1", "sc1" or "st1" (Default: "standard"). Type interface{} }
The set of arguments for constructing a Volume resource.
type VolumeState ¶
type VolumeState struct { // The volume ARN (e.g. arn:aws:ec2:us-east-1:0123456789012:volume/vol-59fcb34e). Arn interface{} // The AZ where the EBS volume will exist. AvailabilityZone interface{} // If true, the disk will be encrypted. Encrypted interface{} // The amount of IOPS to provision for the disk. Iops interface{} // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true. KmsKeyId interface{} // The size of the drive in GiBs. Size interface{} // A snapshot to base the EBS volume off of. SnapshotId interface{} // A mapping of tags to assign to the resource. Tags interface{} // The type of EBS volume. Can be "standard", "gp2", "io1", "sc1" or "st1" (Default: "standard"). Type interface{} }
Input properties used for looking up and filtering Volume resources.