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.
11547 11548 11549 11550 11551 11552 11553 11554 11555 |
# File 'lib/aws-sdk-ec2/types.rb', line 11547 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`.
11547 11548 11549 11550 11551 11552 11553 11554 11555 |
# File 'lib/aws-sdk-ec2/types.rb', line 11547 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
11547 11548 11549 11550 11551 11552 11553 11554 11555 |
# File 'lib/aws-sdk-ec2/types.rb', line 11547 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.
11547 11548 11549 11550 11551 11552 11553 11554 11555 |
# File 'lib/aws-sdk-ec2/types.rb', line 11547 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.
11547 11548 11549 11550 11551 11552 11553 11554 11555 |
# File 'lib/aws-sdk-ec2/types.rb', line 11547 class CreateSnapshotRequest < Struct.new( :description, :outpost_arn, :volume_id, :tag_specifications, :dry_run) SENSITIVE = [] include Aws::Structure end |