#[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
sourceimpl 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.
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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more