Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-aws.Go to Latest
upbound/provider-aws@v1.3.1
LaunchTemplate
ec2.aws.upbound.io
LaunchTemplate
upbound/provider-aws@v1.3.1ec2.aws.upbound.io

LaunchTemplate is the Schema for the LaunchTemplates API. Provides an EC2 launch template resource. Can be used to create instances or auto scaling groups.

Type

CRD

Group

ec2.aws.upbound.io

Version

v1beta1

apiVersion: ec2.aws.upbound.io/v1beta1

kind: LaunchTemplate

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

LaunchTemplateSpec defines the desired state of LaunchTemplate

forProvider
requiredobject
requiredobject

No description provided.

array

Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.

ebs
array
array

Configure EBS volume properties.

encrypted
string
iops
number
kmsKeyId
string
object

Reference to a Key in kms to populate kmsKeyId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate kmsKeyId.

policy
object
object

Policies for selection.

resolve
string
noDevice
string
array

Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.

array

Used to target a specific Capacity Reservation:

array

The CPU options for the instance. See CPU Options below for more details.

array

Customize the credit specification of the instance. See Credit Specification below for more details.

array

The elastic GPU to attach to the instance. See Elastic GPU below for more details.

type
string
array

Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.

type
string
array

Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.

enabled
boolean
array

The hibernation options for the instance. See Hibernation Options below for more details.

configured
boolean
array

The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.

arn
string
arnRef
object
object

Reference to a InstanceProfile in iam to populate arn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a InstanceProfile in iam to populate arn.

policy
object
object

Policies for selection.

resolve
string
name
string
nameRef
object
object

Reference to a InstanceProfile in iam to populate name.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a InstanceProfile in iam to populate name.

policy
object
object

Policies for selection.

resolve
string
imageId
string
array

The market (purchasing) option for the instance. See Market Options below for details.

array

The options for Spot Instance

array

The attribute requirements for the type of instance. If present then instance_type cannot be present.

array

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.

max
number
min
number
array

List of accelerator manufacturer names. Default is any manufacturer.

array

List of accelerator names. Default is any acclerator.

array

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

max
number
min
number
array

List of accelerator types. Default is any accelerator type.

array

List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.

bareMetal
string
array

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

max
number
min
number
array

List of CPU manufacturer names. Default is any manufacturer.

array

List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.

array

List of instance generation names. Default is any generation.

array

List of local storage type names. Default any storage type.

array

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

max
number
min
number
kernelId
string
keyName
string
array

A list of license specifications to associate with. See License Specification below for more details.

array

The maintenance options for the instance. See Maintenance Options below for more details.

array

Customize the metadata options for the instance. See Metadata Options below for more details.

array

The monitoring option for the instance. See Monitoring below for more details.

enabled
boolean
name
string
array

Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.

array

One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count

array

One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count

array

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count

array

One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count

object

Reference to a NetworkInterface to populate networkInterfaceId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a NetworkInterface to populate networkInterfaceId.

policy
object
object

Policies for selection.

resolve
string
array

References to SecurityGroup to populate securityGroups.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup to populate securityGroups.

policy
object
object

Policies for selection.

resolve
string
array

A list of security group IDs to associate.

subnetId
string
object

Reference to a Subnet to populate subnetId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Subnet to populate subnetId.

policy
object
object

Policies for selection.

resolve
string
array

The placement of the instance. See Placement below for more details.

array

The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.

ramDiskId
string
region
requiredstring
array

References to SecurityGroup to populate securityGroupNames.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup to populate securityGroupNames.

policy
object
object

Policies for selection.

resolve
string
array

A list of security group names to associate with. If you are creating Instances in a VPC, use vpc_security_group_ids instead.

array

The tags to apply to the resources during launch. See Tag Specifications below for more details.

tags
object
tags
object
userData
string
array

References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.

policy
object
object

Policies for selection.

resolve
string
array

A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups

object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.

ebs
array
array

Configure EBS volume properties.

encrypted
string
iops
number
kmsKeyId
string
object

Reference to a Key in kms to populate kmsKeyId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate kmsKeyId.

policy
object
object

Policies for selection.

resolve
string
noDevice
string
array

Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.

array

Used to target a specific Capacity Reservation:

array

The CPU options for the instance. See CPU Options below for more details.

array

Customize the credit specification of the instance. See Credit Specification below for more details.

array

The elastic GPU to attach to the instance. See Elastic GPU below for more details.

type
string
array

Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.

type
string
array

Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.

enabled
boolean
array

The hibernation options for the instance. See Hibernation Options below for more details.

configured
boolean
array

The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.

arn
string
arnRef
object
object

Reference to a InstanceProfile in iam to populate arn.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a InstanceProfile in iam to populate arn.

policy
object
object

Policies for selection.

resolve
string
name
string
nameRef
object
object

Reference to a InstanceProfile in iam to populate name.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a InstanceProfile in iam to populate name.

policy
object
object

Policies for selection.

resolve
string
imageId
string
array

The market (purchasing) option for the instance. See Market Options below for details.

array

The options for Spot Instance

array

The attribute requirements for the type of instance. If present then instance_type cannot be present.

array

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.

max
number
min
number
array

List of accelerator manufacturer names. Default is any manufacturer.

array

List of accelerator names. Default is any acclerator.

array

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

max
number
min
number
array

List of accelerator types. Default is any accelerator type.

array

List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.

bareMetal
string
array

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

max
number
min
number
array

List of CPU manufacturer names. Default is any manufacturer.

array

List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.

array

List of instance generation names. Default is any generation.

array

List of local storage type names. Default any storage type.

array

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

max
number
min
number
kernelId
string
keyName
string
array

A list of license specifications to associate with. See License Specification below for more details.

array

The maintenance options for the instance. See Maintenance Options below for more details.

array

Customize the metadata options for the instance. See Metadata Options below for more details.

array

The monitoring option for the instance. See Monitoring below for more details.

enabled
boolean
name
string
array

Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.

array

One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count

array

One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count

array

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count

array

One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count

object

Reference to a NetworkInterface to populate networkInterfaceId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a NetworkInterface to populate networkInterfaceId.

policy
object
object

Policies for selection.

resolve
string
array

References to SecurityGroup to populate securityGroups.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup to populate securityGroups.

policy
object
object

Policies for selection.

resolve
string
array

A list of security group IDs to associate.

subnetId
string
object

Reference to a Subnet to populate subnetId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Subnet to populate subnetId.

policy
object
object

Policies for selection.

resolve
string
array

The placement of the instance. See Placement below for more details.

array

The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.

ramDiskId
string
array

References to SecurityGroup to populate securityGroupNames.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup to populate securityGroupNames.

policy
object
object

Policies for selection.

resolve
string
array

A list of security group names to associate with. If you are creating Instances in a VPC, use vpc_security_group_ids instead.

array

The tags to apply to the resources during launch. See Tag Specifications below for more details.

tags
object
tags
object
userData
string
array

References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.

policy
object
object

Policies for selection.

resolve
string
array

A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups

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

No description provided.

arn
string
array

Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.

ebs
array
array

Configure EBS volume properties.

noDevice
string
array

Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.

array

Used to target a specific Capacity Reservation:

array

The CPU options for the instance. See CPU Options below for more details.

array

Customize the credit specification of the instance. See Credit Specification below for more details.

array

The elastic GPU to attach to the instance. See Elastic GPU below for more details.

type
string
array

Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.

type
string
array

Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.

enabled
boolean
array

The hibernation options for the instance. See Hibernation Options below for more details.

configured
boolean
array

The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.

arn
string
name
string
id
string
imageId
string
array

The market (purchasing) option for the instance. See Market Options below for details.

array

The options for Spot Instance

array

The attribute requirements for the type of instance. If present then instance_type cannot be present.

array

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.

max
number
min
number
array

List of accelerator manufacturer names. Default is any manufacturer.

array

List of accelerator names. Default is any acclerator.

array

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

max
number
min
number
array

List of accelerator types. Default is any accelerator type.

array

List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.

bareMetal
string
array

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

max
number
min
number
array

List of CPU manufacturer names. Default is any manufacturer.

array

List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (), to exclude an instance type, size, or generation. The following are examples: m5.8xlarge, c5., m5a., r*, 3. For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.

array

List of instance generation names. Default is any generation.

array

List of local storage type names. Default any storage type.

array

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.

max
number
min
number
array

Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

max
number
min
number
array

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

max
number
min
number
kernelId
string
keyName
string
array

A list of license specifications to associate with. See License Specification below for more details.

array

The maintenance options for the instance. See Maintenance Options below for more details.

array

Customize the metadata options for the instance. See Metadata Options below for more details.

array

The monitoring option for the instance. See Monitoring below for more details.

enabled
boolean
name
string
array

Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.

array

One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count

array

One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count

array

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count

array

One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count

array

A list of security group IDs to associate.

subnetId
string
array

The placement of the instance. See Placement below for more details.

array

The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.

ramDiskId
string
array

A list of security group names to associate with. If you are creating Instances in a VPC, use vpc_security_group_ids instead.

array

The tags to apply to the resources during launch. See Tag Specifications below for more details.

tags
object
tags
object
tagsAll
object
userData
string
array

A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups

array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.