You are viewing an outdated version of provider-aws.Go to Latest
crossplane-contrib/provider-aws@v0.49.1
LaunchTemplate
ec2.aws.crossplane.io
LaunchTemplate
crossplane-contrib/provider-aws@v0.49.1ec2.aws.crossplane.io

LaunchTemplate is the Schema for the LaunchTemplates API

Type

CRD

Group

ec2.aws.crossplane.io

Version

v1alpha1

apiVersion: ec2.aws.crossplane.io/v1alpha1

kind: LaunchTemplate

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

LaunchTemplateSpec defines the desired state of LaunchTemplate

forProvider
requiredobject
requiredobject

LaunchTemplateParameters defines the desired state of LaunchTemplate

launchTemplateData
requiredobject
requiredobject

The information for the launch template.

array

No description provided.

ebs
object
object

The parameters for a block device for an EBS volume.

noDevice
string
object

Describes an instance's Capacity Reservation targeting option. You can specify only one option at a time. Use the CapacityReservationPreference parameter to configure the instance to run in On-Demand capacity or to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). Use the CapacityReservationTarget parameter to explicitly target a specific Capacity Reservation or a Capacity Reservation group.

object

Describes a target Capacity Reservation or Capacity Reservation group.

object

The CPU options for the instance. Both the core count and threads per core must be specified in the request.

object

The credit option for CPU usage of a T instance.

array

No description provided.

type_
string
array

No description provided.

count
integer
type_
string
object

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? (https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) in the Amazon Web Services Nitro Enclaves User Guide.

enabled
boolean
object

Indicates whether the instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html).

configured
boolean
object

An IAM instance profile.

arn
string
name
string
imageID
string
object

The market (purchasing) option for the instances.

object

The options for Spot Instances.

object

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:

  • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.

  • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

If you specify InstanceRequirements, you can't specify InstanceType.

Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the RunInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or AWS::EC2::Instance (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) Amazon Web Services CloudFormation resource, you can't specify InstanceRequirements.

For more information, see Attribute-based instance type selection for EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), Attribute-based instance type selection for Spot Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and Spot placement score (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the Amazon EC2 User Guide.

object

The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) on an instance. To exclude accelerator-enabled instance types, set Max to 0.

max
integer
min
integer
array

No description provided.

array

No description provided.

object

The minimum and maximum amount of total accelerator memory, in MiB.

max
integer
min
integer
array

No description provided.

array

No description provided.

bareMetal
string
object

The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the Amazon EC2 User Guide.

max
integer
min
integer
array

No description provided.

array

No description provided.

array

No description provided.

array

No description provided.

object

The minimum and maximum amount of memory per vCPU, in GiB.

max
number
min
number
memoryMiB
object
object

The minimum and maximum amount of memory, in MiB.

max
integer
min
integer
object

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).

Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) in the Amazon EC2 User Guide.

max
number
min
number
object

The minimum and maximum number of network interfaces.

max
integer
min
integer
object

The minimum and maximum amount of total local storage, in GB.

max
number
min
number
vCPUCount
object
object

The minimum and maximum number of vCPUs.

max
integer
min
integer
kernelID
string
keyName
string
array

No description provided.

object

The maintenance options of your instance.

object

The metadata options for the instance. For more information, see Instance metadata and user data (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) in the Amazon Elastic Compute Cloud User Guide.

object

Describes the monitoring for the instance.

enabled
boolean
array

No description provided.

groups
array
array

No description provided.

array

No description provided.

array

No description provided.

array

No description provided.

array

No description provided.

subnetID
string
placement
object
object

Describes the placement of an instance.

object

Describes the options for instance hostnames.

ramDiskID
string
array

No description provided.

array

No description provided.

array

No description provided.

tags
array
array

No description provided.

key
string
value
string
userData
string
launchTemplateName
requiredstring
region
requiredstring
array

The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template.

To specify the tags for the resources that are created when an instance is launched, you must use the TagSpecifications parameter in the launch template data (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html) structure.

tags
array
array

No description provided.

key
string
value
string
tags
array
array

Metadata tagging key value pairs

key
string
value
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

LaunchTemplateStatus defines the observed state of LaunchTemplate.

object

LaunchTemplateObservation defines the observed state of LaunchTemplate

object

Information about the launch template.

createdBy
string
tags
array
array

No description provided.

key
string
value
string
warning
object
object

If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.

errors
array
array

No description provided.

code
string
message
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions