libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

Description

 
Synopsis

Documentation

data AmiDistributionConfiguration Source #

Define and configure the output AMIs of the pipeline.

See: newAmiDistributionConfiguration smart constructor.

Constructors

AmiDistributionConfiguration' 

Fields

Instances

Instances details
Eq AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

Read AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

Show AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

Generic AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

Associated Types

type Rep AmiDistributionConfiguration :: Type -> Type #

NFData AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

Hashable AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

ToJSON AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

FromJSON AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

type Rep AmiDistributionConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.AmiDistributionConfiguration

type Rep AmiDistributionConfiguration = D1 ('MetaData "AmiDistributionConfiguration" "Amazonka.ImageBuilder.Types.AmiDistributionConfiguration" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "AmiDistributionConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "launchPermission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchPermissionConfiguration)) :*: (S1 ('MetaSel ('Just "targetAccountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "amiTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAmiDistributionConfiguration :: AmiDistributionConfiguration Source #

Create a value of AmiDistributionConfiguration 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:launchPermission:AmiDistributionConfiguration', amiDistributionConfiguration_launchPermission - Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.

$sel:targetAccountIds:AmiDistributionConfiguration', amiDistributionConfiguration_targetAccountIds - The ID of an account to which you want to distribute an image.

$sel:amiTags:AmiDistributionConfiguration', amiDistributionConfiguration_amiTags - The tags to apply to AMIs distributed to this Region.

$sel:name:AmiDistributionConfiguration', amiDistributionConfiguration_name - The name of the output AMI.

$sel:kmsKeyId:AmiDistributionConfiguration', amiDistributionConfiguration_kmsKeyId - The KMS key identifier used to encrypt the distributed image.

$sel:description:AmiDistributionConfiguration', amiDistributionConfiguration_description - The description of the distribution configuration. Minimum and maximum length are in characters.

amiDistributionConfiguration_launchPermission :: Lens' AmiDistributionConfiguration (Maybe LaunchPermissionConfiguration) Source #

Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.

amiDistributionConfiguration_targetAccountIds :: Lens' AmiDistributionConfiguration (Maybe (NonEmpty Text)) Source #

The ID of an account to which you want to distribute an image.

amiDistributionConfiguration_amiTags :: Lens' AmiDistributionConfiguration (Maybe (HashMap Text Text)) Source #

The tags to apply to AMIs distributed to this Region.

amiDistributionConfiguration_kmsKeyId :: Lens' AmiDistributionConfiguration (Maybe Text) Source #

The KMS key identifier used to encrypt the distributed image.

amiDistributionConfiguration_description :: Lens' AmiDistributionConfiguration (Maybe Text) Source #

The description of the distribution configuration. Minimum and maximum length are in characters.