Documentation ¶
Index ¶
- 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 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 { Ids 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.
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{} // 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{} // The snapshot ID (e.g. snap-59fcb34e). SnapshotId 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
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{} // The amount of IOPS for the disk. Iops interface{} // The ARN for the KMS encryption key. KmsKeyId interface{} // The size of the drive in GiBs. Size interface{} // The snapshot_id 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.
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
Creates a Snapshot of an EBS Volume.
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.
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. * `source_snapshot_id` The ARN of the copied snapshot. * `source_region` 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. * `source_snapshot_id` The ARN for the snapshot to be copied. * `source_region` 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. // * `source_snapshot_id` The ARN for the snapshot to be copied. // * `source_region` 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. // * `source_snapshot_id` The ARN of the copied snapshot. // * `source_region` 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. // * `source_snapshot_id` The ARN for the snapshot to be copied. // * `source_region` 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.
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 `kms_key_id`, `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 `kms_key_id`, `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 `kms_key_id`, `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.