pub struct LaunchPermissionConfiguration {
pub user_groups: Option<Vec<String>>,
pub user_ids: Option<Vec<String>>,
}
Expand description
Describes the configuration for a launch permission. The launch permission modification request is sent to the EC2 ModifyImageAttribute API on behalf of the user for each Region they have selected to distribute the AMI. To make an AMI public, set the launch permission authorized accounts to all
. See the examples for making an AMI public at EC2 ModifyImageAttribute.
Fields§
§user_groups: Option<Vec<String>>
The name of the group.
user_ids: Option<Vec<String>>
The AWS account ID.
Trait Implementations§
Source§impl Clone for LaunchPermissionConfiguration
impl Clone for LaunchPermissionConfiguration
Source§fn clone(&self) -> LaunchPermissionConfiguration
fn clone(&self) -> LaunchPermissionConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for LaunchPermissionConfiguration
impl Default for LaunchPermissionConfiguration
Source§fn default() -> LaunchPermissionConfiguration
fn default() -> LaunchPermissionConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LaunchPermissionConfiguration
impl<'de> Deserialize<'de> for LaunchPermissionConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LaunchPermissionConfiguration
impl PartialEq for LaunchPermissionConfiguration
Source§fn eq(&self, other: &LaunchPermissionConfiguration) -> bool
fn eq(&self, other: &LaunchPermissionConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LaunchPermissionConfiguration
Auto Trait Implementations§
impl Freeze for LaunchPermissionConfiguration
impl RefUnwindSafe for LaunchPermissionConfiguration
impl Send for LaunchPermissionConfiguration
impl Sync for LaunchPermissionConfiguration
impl Unpin for LaunchPermissionConfiguration
impl UnwindSafe for LaunchPermissionConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more