#[non_exhaustive]pub struct LaunchPermissionConfiguration {
pub user_ids: Option<Vec<String>>,
pub user_groups: Option<Vec<String>>,
pub organization_arns: Option<Vec<String>>,
pub organizational_unit_arns: Option<Vec<String>>,
}
Expand description
Describes the configuration for a launch permission. The launch permission modification request is sent to the Amazon 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 Amazon EC2 ModifyImageAttribute.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_ids: Option<Vec<String>>
The Amazon Web Services account ID.
user_groups: Option<Vec<String>>
The name of the group.
organization_arns: Option<Vec<String>>
The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
organizational_unit_arns: Option<Vec<String>>
The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
Implementations
sourceimpl LaunchPermissionConfiguration
impl LaunchPermissionConfiguration
sourcepub fn organization_arns(&self) -> Option<&[String]>
pub fn organization_arns(&self) -> Option<&[String]>
The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
sourcepub fn organizational_unit_arns(&self) -> Option<&[String]>
pub fn organizational_unit_arns(&self) -> Option<&[String]>
The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
sourceimpl LaunchPermissionConfiguration
impl LaunchPermissionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchPermissionConfiguration
Trait Implementations
sourceimpl Clone for LaunchPermissionConfiguration
impl Clone for LaunchPermissionConfiguration
sourcefn clone(&self) -> LaunchPermissionConfiguration
fn clone(&self) -> LaunchPermissionConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LaunchPermissionConfiguration
impl Debug for LaunchPermissionConfiguration
sourceimpl PartialEq<LaunchPermissionConfiguration> for LaunchPermissionConfiguration
impl PartialEq<LaunchPermissionConfiguration> for LaunchPermissionConfiguration
sourcefn eq(&self, other: &LaunchPermissionConfiguration) -> bool
fn eq(&self, other: &LaunchPermissionConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LaunchPermissionConfiguration) -> bool
fn ne(&self, other: &LaunchPermissionConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for LaunchPermissionConfiguration
Auto Trait Implementations
impl RefUnwindSafe for LaunchPermissionConfiguration
impl Send for LaunchPermissionConfiguration
impl Sync for LaunchPermissionConfiguration
impl Unpin for LaunchPermissionConfiguration
impl UnwindSafe for LaunchPermissionConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more