Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data LaunchPermissionConfiguration = LaunchPermissionConfiguration' {}
- newLaunchPermissionConfiguration :: LaunchPermissionConfiguration
- launchPermissionConfiguration_userIds :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
- launchPermissionConfiguration_userGroups :: Lens' LaunchPermissionConfiguration (Maybe [Text])
Documentation
data LaunchPermissionConfiguration Source #
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.
See: newLaunchPermissionConfiguration
smart constructor.
Instances
newLaunchPermissionConfiguration :: LaunchPermissionConfiguration Source #
Create a value of LaunchPermissionConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:userIds:LaunchPermissionConfiguration'
, launchPermissionConfiguration_userIds
- The Amazon Web Services account ID.
$sel:userGroups:LaunchPermissionConfiguration'
, launchPermissionConfiguration_userGroups
- The name of the group.
launchPermissionConfiguration_userIds :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text)) Source #
The Amazon Web Services account ID.
launchPermissionConfiguration_userGroups :: Lens' LaunchPermissionConfiguration (Maybe [Text]) Source #
The name of the group.