amazonka-imagebuilder-2.0: Amazon EC2 Image Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

Description

 
Synopsis

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.

Constructors

LaunchPermissionConfiguration' 

Fields

Instances

Instances details
FromJSON LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

ToJSON LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

Generic LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

Associated Types

type Rep LaunchPermissionConfiguration :: Type -> Type #

Read LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

Show LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

NFData LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

Eq LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

Hashable LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

type Rep LaunchPermissionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration

type Rep LaunchPermissionConfiguration = D1 ('MetaData "LaunchPermissionConfiguration" "Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration" "amazonka-imagebuilder-2.0-BBLLjX59RW72O8VbQ3vKvH" 'False) (C1 ('MetaCons "LaunchPermissionConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "organizationArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "organizationalUnitArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "userGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "userIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))))

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:organizationArns:LaunchPermissionConfiguration', launchPermissionConfiguration_organizationArns - The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.

$sel:organizationalUnitArns:LaunchPermissionConfiguration', launchPermissionConfiguration_organizationalUnitArns - 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.

$sel:userGroups:LaunchPermissionConfiguration', launchPermissionConfiguration_userGroups - The name of the group.

$sel:userIds:LaunchPermissionConfiguration', launchPermissionConfiguration_userIds - The Amazon Web Services account ID.

launchPermissionConfiguration_organizationArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text)) Source #

The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.

launchPermissionConfiguration_organizationalUnitArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text)) Source #

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.