| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MGN.CreateLaunchConfigurationTemplate
Description
Creates a new Launch Configuration Template.
Synopsis
- data CreateLaunchConfigurationTemplate = CreateLaunchConfigurationTemplate' {
- associatePublicIpAddress :: Maybe Bool
- bootMode :: Maybe BootMode
- copyPrivateIp :: Maybe Bool
- copyTags :: Maybe Bool
- enableMapAutoTagging :: Maybe Bool
- largeVolumeConf :: Maybe LaunchTemplateDiskConf
- launchDisposition :: Maybe LaunchDisposition
- licensing :: Maybe Licensing
- mapAutoTaggingMpeID :: Maybe Text
- postLaunchActions :: Maybe PostLaunchActions
- smallVolumeConf :: Maybe LaunchTemplateDiskConf
- smallVolumeMaxSize :: Maybe Natural
- tags :: Maybe (Sensitive (HashMap Text Text))
- targetInstanceTypeRightSizingMethod :: Maybe TargetInstanceTypeRightSizingMethod
- newCreateLaunchConfigurationTemplate :: CreateLaunchConfigurationTemplate
- createLaunchConfigurationTemplate_associatePublicIpAddress :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool)
- createLaunchConfigurationTemplate_bootMode :: Lens' CreateLaunchConfigurationTemplate (Maybe BootMode)
- createLaunchConfigurationTemplate_copyPrivateIp :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool)
- createLaunchConfigurationTemplate_copyTags :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool)
- createLaunchConfigurationTemplate_enableMapAutoTagging :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool)
- createLaunchConfigurationTemplate_largeVolumeConf :: Lens' CreateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- createLaunchConfigurationTemplate_launchDisposition :: Lens' CreateLaunchConfigurationTemplate (Maybe LaunchDisposition)
- createLaunchConfigurationTemplate_licensing :: Lens' CreateLaunchConfigurationTemplate (Maybe Licensing)
- createLaunchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' CreateLaunchConfigurationTemplate (Maybe Text)
- createLaunchConfigurationTemplate_postLaunchActions :: Lens' CreateLaunchConfigurationTemplate (Maybe PostLaunchActions)
- createLaunchConfigurationTemplate_smallVolumeConf :: Lens' CreateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- createLaunchConfigurationTemplate_smallVolumeMaxSize :: Lens' CreateLaunchConfigurationTemplate (Maybe Natural)
- createLaunchConfigurationTemplate_tags :: Lens' CreateLaunchConfigurationTemplate (Maybe (HashMap Text Text))
- createLaunchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' CreateLaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod)
- data LaunchConfigurationTemplate = LaunchConfigurationTemplate' {
- arn :: Maybe Text
- associatePublicIpAddress :: Maybe Bool
- bootMode :: Maybe BootMode
- copyPrivateIp :: Maybe Bool
- copyTags :: Maybe Bool
- ec2LaunchTemplateID :: Maybe Text
- enableMapAutoTagging :: Maybe Bool
- largeVolumeConf :: Maybe LaunchTemplateDiskConf
- launchDisposition :: Maybe LaunchDisposition
- licensing :: Maybe Licensing
- mapAutoTaggingMpeID :: Maybe Text
- postLaunchActions :: Maybe PostLaunchActions
- smallVolumeConf :: Maybe LaunchTemplateDiskConf
- smallVolumeMaxSize :: Maybe Natural
- tags :: Maybe (Sensitive (HashMap Text Text))
- targetInstanceTypeRightSizingMethod :: Maybe TargetInstanceTypeRightSizingMethod
- launchConfigurationTemplateID :: Text
- newLaunchConfigurationTemplate :: Text -> LaunchConfigurationTemplate
- launchConfigurationTemplate_arn :: Lens' LaunchConfigurationTemplate (Maybe Text)
- launchConfigurationTemplate_associatePublicIpAddress :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_bootMode :: Lens' LaunchConfigurationTemplate (Maybe BootMode)
- launchConfigurationTemplate_copyPrivateIp :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_copyTags :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_ec2LaunchTemplateID :: Lens' LaunchConfigurationTemplate (Maybe Text)
- launchConfigurationTemplate_enableMapAutoTagging :: Lens' LaunchConfigurationTemplate (Maybe Bool)
- launchConfigurationTemplate_largeVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- launchConfigurationTemplate_launchDisposition :: Lens' LaunchConfigurationTemplate (Maybe LaunchDisposition)
- launchConfigurationTemplate_licensing :: Lens' LaunchConfigurationTemplate (Maybe Licensing)
- launchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' LaunchConfigurationTemplate (Maybe Text)
- launchConfigurationTemplate_postLaunchActions :: Lens' LaunchConfigurationTemplate (Maybe PostLaunchActions)
- launchConfigurationTemplate_smallVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf)
- launchConfigurationTemplate_smallVolumeMaxSize :: Lens' LaunchConfigurationTemplate (Maybe Natural)
- launchConfigurationTemplate_tags :: Lens' LaunchConfigurationTemplate (Maybe (HashMap Text Text))
- launchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' LaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod)
- launchConfigurationTemplate_launchConfigurationTemplateID :: Lens' LaunchConfigurationTemplate Text
Creating a Request
data CreateLaunchConfigurationTemplate Source #
See: newCreateLaunchConfigurationTemplate smart constructor.
Constructors
| CreateLaunchConfigurationTemplate' | |
Fields
| |
Instances
newCreateLaunchConfigurationTemplate :: CreateLaunchConfigurationTemplate Source #
Create a value of CreateLaunchConfigurationTemplate 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:
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_associatePublicIpAddress - Associate public Ip address.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_bootMode - Launch configuration template boot mode.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_copyPrivateIp - Copy private Ip.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_copyTags - Copy tags.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_enableMapAutoTagging - Enable map auto tagging.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_largeVolumeConf - Large volume config.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_launchDisposition - Launch disposition.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_licensing - Undocumented member.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_mapAutoTaggingMpeID - Launch configuration template map auto tagging MPE ID.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_postLaunchActions - Launch configuration template post launch actions.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_smallVolumeConf - Small volume config.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_smallVolumeMaxSize - Small volume maximum size.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_tags - Request to associate tags during creation of a Launch Configuration
Template.
CreateLaunchConfigurationTemplate, createLaunchConfigurationTemplate_targetInstanceTypeRightSizingMethod - Target instance type right-sizing method.
Request Lenses
createLaunchConfigurationTemplate_associatePublicIpAddress :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool) Source #
Associate public Ip address.
createLaunchConfigurationTemplate_bootMode :: Lens' CreateLaunchConfigurationTemplate (Maybe BootMode) Source #
Launch configuration template boot mode.
createLaunchConfigurationTemplate_copyPrivateIp :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool) Source #
Copy private Ip.
createLaunchConfigurationTemplate_copyTags :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool) Source #
Copy tags.
createLaunchConfigurationTemplate_enableMapAutoTagging :: Lens' CreateLaunchConfigurationTemplate (Maybe Bool) Source #
Enable map auto tagging.
createLaunchConfigurationTemplate_largeVolumeConf :: Lens' CreateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Large volume config.
createLaunchConfigurationTemplate_launchDisposition :: Lens' CreateLaunchConfigurationTemplate (Maybe LaunchDisposition) Source #
Launch disposition.
createLaunchConfigurationTemplate_licensing :: Lens' CreateLaunchConfigurationTemplate (Maybe Licensing) Source #
Undocumented member.
createLaunchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' CreateLaunchConfigurationTemplate (Maybe Text) Source #
Launch configuration template map auto tagging MPE ID.
createLaunchConfigurationTemplate_postLaunchActions :: Lens' CreateLaunchConfigurationTemplate (Maybe PostLaunchActions) Source #
Launch configuration template post launch actions.
createLaunchConfigurationTemplate_smallVolumeConf :: Lens' CreateLaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Small volume config.
createLaunchConfigurationTemplate_smallVolumeMaxSize :: Lens' CreateLaunchConfigurationTemplate (Maybe Natural) Source #
Small volume maximum size.
createLaunchConfigurationTemplate_tags :: Lens' CreateLaunchConfigurationTemplate (Maybe (HashMap Text Text)) Source #
Request to associate tags during creation of a Launch Configuration Template.
createLaunchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' CreateLaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod) Source #
Target instance type right-sizing method.
Destructuring the Response
data LaunchConfigurationTemplate Source #
See: newLaunchConfigurationTemplate smart constructor.
Constructors
| LaunchConfigurationTemplate' | |
Fields
| |
Instances
newLaunchConfigurationTemplate Source #
Arguments
| :: Text |
|
| -> LaunchConfigurationTemplate |
Create a value of LaunchConfigurationTemplate 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:LaunchConfigurationTemplate', launchConfigurationTemplate_arn - ARN of the Launch Configuration Template.
$sel:associatePublicIpAddress:LaunchConfigurationTemplate', launchConfigurationTemplate_associatePublicIpAddress - Associate public Ip address.
$sel:bootMode:LaunchConfigurationTemplate', launchConfigurationTemplate_bootMode - Launch configuration template boot mode.
$sel:copyPrivateIp:LaunchConfigurationTemplate', launchConfigurationTemplate_copyPrivateIp - Copy private Ip.
$sel:copyTags:LaunchConfigurationTemplate', launchConfigurationTemplate_copyTags - Copy tags.
$sel:ec2LaunchTemplateID:LaunchConfigurationTemplate', launchConfigurationTemplate_ec2LaunchTemplateID - EC2 launch template ID.
$sel:enableMapAutoTagging:LaunchConfigurationTemplate', launchConfigurationTemplate_enableMapAutoTagging - Enable map auto tagging.
$sel:largeVolumeConf:LaunchConfigurationTemplate', launchConfigurationTemplate_largeVolumeConf - Large volume config.
$sel:launchDisposition:LaunchConfigurationTemplate', launchConfigurationTemplate_launchDisposition - Launch disposition.
$sel:licensing:LaunchConfigurationTemplate', launchConfigurationTemplate_licensing - Undocumented member.
$sel:mapAutoTaggingMpeID:LaunchConfigurationTemplate', launchConfigurationTemplate_mapAutoTaggingMpeID - Launch configuration template map auto tagging MPE ID.
$sel:postLaunchActions:LaunchConfigurationTemplate', launchConfigurationTemplate_postLaunchActions - Post Launch Actions of the Launch Configuration Template.
$sel:smallVolumeConf:LaunchConfigurationTemplate', launchConfigurationTemplate_smallVolumeConf - Small volume config.
$sel:smallVolumeMaxSize:LaunchConfigurationTemplate', launchConfigurationTemplate_smallVolumeMaxSize - Small volume maximum size.
$sel:tags:LaunchConfigurationTemplate', launchConfigurationTemplate_tags - Tags of the Launch Configuration Template.
$sel:targetInstanceTypeRightSizingMethod:LaunchConfigurationTemplate', launchConfigurationTemplate_targetInstanceTypeRightSizingMethod - Target instance type right-sizing method.
$sel:launchConfigurationTemplateID:LaunchConfigurationTemplate', launchConfigurationTemplate_launchConfigurationTemplateID - ID of the Launch Configuration Template.
Response Lenses
launchConfigurationTemplate_arn :: Lens' LaunchConfigurationTemplate (Maybe Text) Source #
ARN of the Launch Configuration Template.
launchConfigurationTemplate_associatePublicIpAddress :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Associate public Ip address.
launchConfigurationTemplate_bootMode :: Lens' LaunchConfigurationTemplate (Maybe BootMode) Source #
Launch configuration template boot mode.
launchConfigurationTemplate_copyPrivateIp :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Copy private Ip.
launchConfigurationTemplate_copyTags :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Copy tags.
launchConfigurationTemplate_ec2LaunchTemplateID :: Lens' LaunchConfigurationTemplate (Maybe Text) Source #
EC2 launch template ID.
launchConfigurationTemplate_enableMapAutoTagging :: Lens' LaunchConfigurationTemplate (Maybe Bool) Source #
Enable map auto tagging.
launchConfigurationTemplate_largeVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Large volume config.
launchConfigurationTemplate_launchDisposition :: Lens' LaunchConfigurationTemplate (Maybe LaunchDisposition) Source #
Launch disposition.
launchConfigurationTemplate_licensing :: Lens' LaunchConfigurationTemplate (Maybe Licensing) Source #
Undocumented member.
launchConfigurationTemplate_mapAutoTaggingMpeID :: Lens' LaunchConfigurationTemplate (Maybe Text) Source #
Launch configuration template map auto tagging MPE ID.
launchConfigurationTemplate_postLaunchActions :: Lens' LaunchConfigurationTemplate (Maybe PostLaunchActions) Source #
Post Launch Actions of the Launch Configuration Template.
launchConfigurationTemplate_smallVolumeConf :: Lens' LaunchConfigurationTemplate (Maybe LaunchTemplateDiskConf) Source #
Small volume config.
launchConfigurationTemplate_smallVolumeMaxSize :: Lens' LaunchConfigurationTemplate (Maybe Natural) Source #
Small volume maximum size.
launchConfigurationTemplate_tags :: Lens' LaunchConfigurationTemplate (Maybe (HashMap Text Text)) Source #
Tags of the Launch Configuration Template.
launchConfigurationTemplate_targetInstanceTypeRightSizingMethod :: Lens' LaunchConfigurationTemplate (Maybe TargetInstanceTypeRightSizingMethod) Source #
Target instance type right-sizing method.
launchConfigurationTemplate_launchConfigurationTemplateID :: Lens' LaunchConfigurationTemplate Text Source #
ID of the Launch Configuration Template.