awscc_ec2_instance (Resource)

Resource Type definition for AWS::EC2::Instance

Schema

Optional

Read-Only

Nested Schema for block_device_mappings

Required:

Optional:

Nested Schema for block_device_mappings.ebs

Optional:

Nested Schema for cpu_options

Optional:

Nested Schema for credit_specification

Optional:

Nested Schema for elastic_gpu_specifications

Required:

Nested Schema for elastic_inference_accelerators

Required:

Optional:

Nested Schema for enclave_options

Optional:

Nested Schema for hibernation_options

Optional:

Nested Schema for ipv_6_addresses

Required:

Nested Schema for launch_template

Optional:

Nested Schema for license_specifications

Required:

Nested Schema for network_interfaces

Required:

Optional:

Nested Schema for network_interfaces.ipv_6_addresses

Required:

Nested Schema for network_interfaces.private_ip_addresses

Required:

Nested Schema for private_dns_name_options

Optional:

Nested Schema for ssm_associations

Required:

Optional:

Nested Schema for ssm_associations.association_parameters

Required:

Nested Schema for tags

Required:

Nested Schema for volumes

Required:

Nested Schema for state

Read-Only:

Import

Import is supported using the following syntax:

$ terraform import awscc_ec2_instance.example <resource ID>