lib/ec2/right_ec2_ebs.rb
# Remove create volume permission for user groups (currently only 'all' is supported).
#
#  ec2.modify_snapshot_attribute_create_volume_permission_remove_groups('snap-36fe435f') #=> true
#
Remove create volume permission for user groups (currently only 'all' is supported).
Remove create volume permission for user groups ( currently only ' all ' is supported ) .
def modify_snapshot_attribute_create_volume_permission_remove_groups(snapshot_id, *groups)
      groups.flatten!
      groups = ['all'] if groups.right_blank?
      modify_snapshot_attribute(snapshot_id, 'createVolumePermission', :remove_groups => groups )
    end
def modify_snapshot_attribute_create_volume_permission_remove_groups ( snapshot_id , * groups ) groups . flatten! groups = [ 'all' ] if groups . right_blank? modify_snapshot_attribute ( snapshot_id , 'createVolumePermission' , :remove_groups => groups ) end
Remove create volume permission for user groups (currently only 'all' is supported).
Remove create volume permission for user groups ( currently only ' all ' is supported ) .
snapshot_id
<not_specific>
groups
<not_specific>