#[non_exhaustive]pub struct LaunchPermissionConfiguration { /* private fields */ }
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.
Implementations§
source§impl LaunchPermissionConfiguration
impl LaunchPermissionConfiguration
sourcepub fn user_groups(&self) -> Option<&[String]>
pub fn user_groups(&self) -> Option<&[String]>
The name of the group.
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.
source§impl LaunchPermissionConfiguration
impl LaunchPermissionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchPermissionConfiguration
.
Trait Implementations§
source§impl Clone for LaunchPermissionConfiguration
impl Clone for LaunchPermissionConfiguration
source§fn clone(&self) -> LaunchPermissionConfiguration
fn clone(&self) -> LaunchPermissionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<LaunchPermissionConfiguration> for LaunchPermissionConfiguration
impl PartialEq<LaunchPermissionConfiguration> for LaunchPermissionConfiguration
source§fn eq(&self, other: &LaunchPermissionConfiguration) -> bool
fn eq(&self, other: &LaunchPermissionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.