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.InfrastructureConfiguration

Description

 
Synopsis

Documentation

data InfrastructureConfiguration Source #

Details of the infrastructure configuration.

See: newInfrastructureConfiguration smart constructor.

Constructors

InfrastructureConfiguration' 

Fields

Instances

Instances details
FromJSON InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

Generic InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

Associated Types

type Rep InfrastructureConfiguration :: Type -> Type #

Read InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

Show InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

NFData InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

Eq InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

Hashable InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

type Rep InfrastructureConfiguration Source # 
Instance details

Defined in Amazonka.ImageBuilder.Types.InfrastructureConfiguration

type Rep InfrastructureConfiguration = D1 ('MetaData "InfrastructureConfiguration" "Amazonka.ImageBuilder.Types.InfrastructureConfiguration" "amazonka-imagebuilder-2.0-BBLLjX59RW72O8VbQ3vKvH" 'False) (C1 ('MetaCons "InfrastructureConfiguration'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dateCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dateUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "instanceMetadataOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMetadataOptions)) :*: S1 ('MetaSel ('Just "instanceProfileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "keyPair") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "logging") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Logging)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "terminateInstanceOnFailure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

newInfrastructureConfiguration :: InfrastructureConfiguration Source #

Create a value of InfrastructureConfiguration 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:arn:InfrastructureConfiguration', infrastructureConfiguration_arn - The Amazon Resource Name (ARN) of the infrastructure configuration.

$sel:dateCreated:InfrastructureConfiguration', infrastructureConfiguration_dateCreated - The date on which the infrastructure configuration was created.

$sel:dateUpdated:InfrastructureConfiguration', infrastructureConfiguration_dateUpdated - The date on which the infrastructure configuration was last updated.

$sel:description:InfrastructureConfiguration', infrastructureConfiguration_description - The description of the infrastructure configuration.

$sel:instanceMetadataOptions:InfrastructureConfiguration', infrastructureConfiguration_instanceMetadataOptions - The instance metadata option settings for the infrastructure configuration.

$sel:instanceProfileName:InfrastructureConfiguration', infrastructureConfiguration_instanceProfileName - The instance profile of the infrastructure configuration.

$sel:instanceTypes:InfrastructureConfiguration', infrastructureConfiguration_instanceTypes - The instance types of the infrastructure configuration.

$sel:keyPair:InfrastructureConfiguration', infrastructureConfiguration_keyPair - The Amazon EC2 key pair of the infrastructure configuration.

$sel:logging:InfrastructureConfiguration', infrastructureConfiguration_logging - The logging configuration of the infrastructure configuration.

$sel:name:InfrastructureConfiguration', infrastructureConfiguration_name - The name of the infrastructure configuration.

$sel:resourceTags:InfrastructureConfiguration', infrastructureConfiguration_resourceTags - The tags attached to the resource created by Image Builder.

$sel:securityGroupIds:InfrastructureConfiguration', infrastructureConfiguration_securityGroupIds - The security group IDs of the infrastructure configuration.

$sel:snsTopicArn:InfrastructureConfiguration', infrastructureConfiguration_snsTopicArn - The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.

EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.

$sel:subnetId:InfrastructureConfiguration', infrastructureConfiguration_subnetId - The subnet ID of the infrastructure configuration.

$sel:tags:InfrastructureConfiguration', infrastructureConfiguration_tags - The tags of the infrastructure configuration.

$sel:terminateInstanceOnFailure:InfrastructureConfiguration', infrastructureConfiguration_terminateInstanceOnFailure - The terminate instance on failure configuration of the infrastructure configuration.

infrastructureConfiguration_arn :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the infrastructure configuration.

infrastructureConfiguration_dateCreated :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The date on which the infrastructure configuration was created.

infrastructureConfiguration_dateUpdated :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The date on which the infrastructure configuration was last updated.

infrastructureConfiguration_description :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The description of the infrastructure configuration.

infrastructureConfiguration_instanceMetadataOptions :: Lens' InfrastructureConfiguration (Maybe InstanceMetadataOptions) Source #

The instance metadata option settings for the infrastructure configuration.

infrastructureConfiguration_instanceProfileName :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The instance profile of the infrastructure configuration.

infrastructureConfiguration_instanceTypes :: Lens' InfrastructureConfiguration (Maybe [Text]) Source #

The instance types of the infrastructure configuration.

infrastructureConfiguration_keyPair :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The Amazon EC2 key pair of the infrastructure configuration.

infrastructureConfiguration_logging :: Lens' InfrastructureConfiguration (Maybe Logging) Source #

The logging configuration of the infrastructure configuration.

infrastructureConfiguration_name :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The name of the infrastructure configuration.

infrastructureConfiguration_resourceTags :: Lens' InfrastructureConfiguration (Maybe (HashMap Text Text)) Source #

The tags attached to the resource created by Image Builder.

infrastructureConfiguration_securityGroupIds :: Lens' InfrastructureConfiguration (Maybe [Text]) Source #

The security group IDs of the infrastructure configuration.

infrastructureConfiguration_snsTopicArn :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.

EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.

infrastructureConfiguration_subnetId :: Lens' InfrastructureConfiguration (Maybe Text) Source #

The subnet ID of the infrastructure configuration.

infrastructureConfiguration_terminateInstanceOnFailure :: Lens' InfrastructureConfiguration (Maybe Bool) Source #

The terminate instance on failure configuration of the infrastructure configuration.