describeSnapshotAttribute
abstract suspend fun describeSnapshotAttribute(input: DescribeSnapshotAttributeRequest): DescribeSnapshotAttributeResponse
Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time.
For more information about EBS snapshots, see Amazon EBS snapshots in the Amazon EBS User Guide.
Samples
// This example describes the createVolumePermission attribute on a snapshot with the snapshot ID of
// snap 066877671789bd71b
val resp = ec2Client.describeSnapshotAttribute {
snapshotId = "snap-066877671789bd71b"
attribute = SnapshotAttributeName.fromValue("createVolumePermission")
}Content copied to clipboard