Class: Aws::EC2::Types::CreateSnapshotRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateSnapshotRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
A description for the snapshot.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#outpost_arn ⇒ String
The Amazon Resource Name (ARN) of the Outpost on which to create a local snapshot.
-
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the snapshot during creation.
-
#volume_id ⇒ String
The ID of the Amazon EBS volume.
Instance Attribute Details
#description ⇒ String
A description for the snapshot.
10738 10739 10740 10741 10742 10743 10744 10745 10746 |
# File 'lib/aws-sdk-ec2/types.rb', line 10738 class CreateSnapshotRequest < Struct.new( :description, :outpost_arn, :volume_id, :tag_specifications, :dry_run) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
10738 10739 10740 10741 10742 10743 10744 10745 10746 |
# File 'lib/aws-sdk-ec2/types.rb', line 10738 class CreateSnapshotRequest < Struct.new( :description, :outpost_arn, :volume_id, :tag_specifications, :dry_run) SENSITIVE = [] include Aws::Structure end |
#outpost_arn ⇒ String
The Amazon Resource Name (ARN) of the Outpost on which to create a local snapshot.
-
To create a snapshot of a volume in a Region, omit this parameter. The snapshot is created in the same Region as the volume.
-
To create a snapshot of a volume on an Outpost and store the snapshot in the Region, omit this parameter. The snapshot is created in the Region for the Outpost.
-
To create a snapshot of a volume on an Outpost and store the snapshot on an Outpost, specify the ARN of the destination Outpost. The snapshot must be created on the same Outpost as the volume.
For more information, see [Create local snapshots from volumes on an Outpost] in the *Amazon EBS User Guide*.
[1]: docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
10738 10739 10740 10741 10742 10743 10744 10745 10746 |
# File 'lib/aws-sdk-ec2/types.rb', line 10738 class CreateSnapshotRequest < Struct.new( :description, :outpost_arn, :volume_id, :tag_specifications, :dry_run) SENSITIVE = [] include Aws::Structure end |
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the snapshot during creation.
10738 10739 10740 10741 10742 10743 10744 10745 10746 |
# File 'lib/aws-sdk-ec2/types.rb', line 10738 class CreateSnapshotRequest < Struct.new( :description, :outpost_arn, :volume_id, :tag_specifications, :dry_run) SENSITIVE = [] include Aws::Structure end |
#volume_id ⇒ String
The ID of the Amazon EBS volume.
10738 10739 10740 10741 10742 10743 10744 10745 10746 |
# File 'lib/aws-sdk-ec2/types.rb', line 10738 class CreateSnapshotRequest < Struct.new( :description, :outpost_arn, :volume_id, :tag_specifications, :dry_run) SENSITIVE = [] include Aws::Structure end |