import * as core from "@terrascript/core";

export interface EbsArgs extends core.SchemaArgs {
  deleteOnTermination?: string | core.StringOut;

  encrypted?: string | core.StringOut;

  iops?: number | core.NumberOut;

  kmsKeyId?: string | core.StringOut;

  snapshotId?: string | core.StringOut;

  throughput?: number | core.NumberOut;

  volumeSize?: number | core.NumberOut;

  volumeType?: string | core.StringOut;
}

export class Ebs extends core.Schema<EbsArgs> {
  @core.attr(String)
  public deleteOnTermination?: string | core.StringOut;

  @core.attr(String)
  public encrypted?: string | core.StringOut;

  @core.attr(Number, { computed: true })
  public iops?: number | core.NumberOut;

  @core.attr(String)
  public kmsKeyId?: string | core.StringOut;

  @core.attr(String)
  public snapshotId?: string | core.StringOut;

  @core.attr(Number, { computed: true })
  public throughput?: number | core.NumberOut;

  @core.attr(Number, { computed: true })
  public volumeSize?: number | core.NumberOut;

  @core.attr(String, { computed: true })
  public volumeType?: string | core.StringOut;
}

export interface BlockDeviceMappingsArgs extends core.SchemaArgs {
  deviceName?: string | core.StringOut;

  ebs?: Ebs;

  noDevice?: string | core.StringOut;

  virtualName?: string | core.StringOut;
}

export class BlockDeviceMappings extends core.Schema<BlockDeviceMappingsArgs> {
  @core.attr(String)
  public deviceName?: string | core.StringOut;

  @core.attr(Ebs)
  public ebs?: Ebs;

  @core.attr(String)
  public noDevice?: string | core.StringOut;

  @core.attr(String)
  public virtualName?: string | core.StringOut;
}

export interface HibernationOptionsArgs extends core.SchemaArgs {
  configured: boolean | core.BooleanOut;
}

export class HibernationOptions extends core.Schema<HibernationOptionsArgs> {
  @core.attr(Boolean)
  public configured!: boolean | core.BooleanOut;
}

export interface SpotOptionsArgs extends core.SchemaArgs {
  blockDurationMinutes?: number | core.NumberOut;

  instanceInterruptionBehavior?: string | core.StringOut;

  maxPrice?: string | core.StringOut;

  spotInstanceType?: string | core.StringOut;

  validUntil?: string | core.StringOut;
}

export class SpotOptions extends core.Schema<SpotOptionsArgs> {
  @core.attr(Number)
  public blockDurationMinutes?: number | core.NumberOut;

  @core.attr(String)
  public instanceInterruptionBehavior?: string | core.StringOut;

  @core.attr(String)
  public maxPrice?: string | core.StringOut;

  @core.attr(String)
  public spotInstanceType?: string | core.StringOut;

  @core.attr(String, { computed: true })
  public validUntil?: string | core.StringOut;
}

export interface InstanceMarketOptionsArgs extends core.SchemaArgs {
  marketType?: string | core.StringOut;

  spotOptions?: SpotOptions;
}

export class InstanceMarketOptions extends core.Schema<InstanceMarketOptionsArgs> {
  @core.attr(String)
  public marketType?: string | core.StringOut;

  @core.attr(SpotOptions)
  public spotOptions?: SpotOptions;
}

export interface PrivateDnsNameOptionsArgs extends core.SchemaArgs {
  enableResourceNameDnsARecord?: boolean | core.BooleanOut;

  enableResourceNameDnsAaaaRecord?: boolean | core.BooleanOut;

  hostnameType?: string | core.StringOut;
}

export class PrivateDnsNameOptions extends core.Schema<PrivateDnsNameOptionsArgs> {
  @core.attr(Boolean)
  public enableResourceNameDnsARecord?: boolean | core.BooleanOut;

  @core.attr(Boolean)
  public enableResourceNameDnsAaaaRecord?: boolean | core.BooleanOut;

  @core.attr(String)
  public hostnameType?: string | core.StringOut;
}

export interface MetadataOptionsArgs extends core.SchemaArgs {
  httpEndpoint?: string | core.StringOut;

  httpProtocolIpv6?: string | core.StringOut;

  httpPutResponseHopLimit?: number | core.NumberOut;

  httpTokens?: string | core.StringOut;

  instanceMetadataTags?: string | core.StringOut;
}

export class MetadataOptions extends core.Schema<MetadataOptionsArgs> {
  @core.attr(String, { computed: true })
  public httpEndpoint?: string | core.StringOut;

  @core.attr(String)
  public httpProtocolIpv6?: string | core.StringOut;

  @core.attr(Number, { computed: true })
  public httpPutResponseHopLimit?: number | core.NumberOut;

  @core.attr(String, { computed: true })
  public httpTokens?: string | core.StringOut;

  @core.attr(String)
  public instanceMetadataTags?: string | core.StringOut;
}

export interface EnclaveOptionsArgs extends core.SchemaArgs {
  enabled?: boolean | core.BooleanOut;
}

export class EnclaveOptions extends core.Schema<EnclaveOptionsArgs> {
  @core.attr(Boolean)
  public enabled?: boolean | core.BooleanOut;
}

export interface CpuOptionsArgs extends core.SchemaArgs {
  coreCount?: number | core.NumberOut;

  threadsPerCore?: number | core.NumberOut;
}

export class CpuOptions extends core.Schema<CpuOptionsArgs> {
  @core.attr(Number)
  public coreCount?: number | core.NumberOut;

  @core.attr(Number)
  public threadsPerCore?: number | core.NumberOut;
}

export interface ElasticGpuSpecificationsArgs extends core.SchemaArgs {
  type: string | core.StringOut;
}

export class ElasticGpuSpecifications extends core.Schema<ElasticGpuSpecificationsArgs> {
  @core.attr(String)
  public type!: string | core.StringOut;
}

export interface TagSpecificationsArgs extends core.SchemaArgs {
  resourceType?: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export class TagSpecifications extends core.Schema<TagSpecificationsArgs> {
  @core.attr(String)
  public resourceType?: string | core.StringOut;

  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export interface BaselineEbsBandwidthMbpsArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min?: number | core.NumberOut;
}

export class BaselineEbsBandwidthMbps extends core.Schema<BaselineEbsBandwidthMbpsArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min?: number | core.NumberOut;
}

export interface AcceleratorCountArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min?: number | core.NumberOut;
}

export class AcceleratorCount extends core.Schema<AcceleratorCountArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min?: number | core.NumberOut;
}

export interface MemoryMibArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min: number | core.NumberOut;
}

export class MemoryMib extends core.Schema<MemoryMibArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min!: number | core.NumberOut;
}

export interface VcpuCountArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min: number | core.NumberOut;
}

export class VcpuCount extends core.Schema<VcpuCountArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min!: number | core.NumberOut;
}

export interface NetworkInterfaceCountArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min?: number | core.NumberOut;
}

export class NetworkInterfaceCount extends core.Schema<NetworkInterfaceCountArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min?: number | core.NumberOut;
}

export interface AcceleratorTotalMemoryMibArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min?: number | core.NumberOut;
}

export class AcceleratorTotalMemoryMib extends core.Schema<AcceleratorTotalMemoryMibArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min?: number | core.NumberOut;
}

export interface MemoryGibPerVcpuArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min?: number | core.NumberOut;
}

export class MemoryGibPerVcpu extends core.Schema<MemoryGibPerVcpuArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min?: number | core.NumberOut;
}

export interface TotalLocalStorageGbArgs extends core.SchemaArgs {
  max?: number | core.NumberOut;

  min?: number | core.NumberOut;
}

export class TotalLocalStorageGb extends core.Schema<TotalLocalStorageGbArgs> {
  @core.attr(Number)
  public max?: number | core.NumberOut;

  @core.attr(Number)
  public min?: number | core.NumberOut;
}

export interface InstanceRequirementsArgs extends core.SchemaArgs {
  acceleratorCount?: AcceleratorCount;

  acceleratorManufacturers?: core.Array<string> | core.ArrayOut<core.StringOut>;

  acceleratorNames?: core.Array<string> | core.ArrayOut<core.StringOut>;

  acceleratorTotalMemoryMib?: AcceleratorTotalMemoryMib;

  acceleratorTypes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  bareMetal?: string | core.StringOut;

  baselineEbsBandwidthMbps?: BaselineEbsBandwidthMbps;

  burstablePerformance?: string | core.StringOut;

  cpuManufacturers?: core.Array<string> | core.ArrayOut<core.StringOut>;

  excludedInstanceTypes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  instanceGenerations?: core.Array<string> | core.ArrayOut<core.StringOut>;

  localStorage?: string | core.StringOut;

  localStorageTypes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  memoryGibPerVcpu?: MemoryGibPerVcpu;

  memoryMib: MemoryMib;

  networkInterfaceCount?: NetworkInterfaceCount;

  onDemandMaxPricePercentageOverLowestPrice?: number | core.NumberOut;

  requireHibernateSupport?: boolean | core.BooleanOut;

  spotMaxPricePercentageOverLowestPrice?: number | core.NumberOut;

  totalLocalStorageGb?: TotalLocalStorageGb;

  vcpuCount: VcpuCount;
}

export class InstanceRequirements extends core.Schema<InstanceRequirementsArgs> {
  @core.attr(AcceleratorCount)
  public acceleratorCount?: AcceleratorCount;

  @core.attr(String, { kind: "array" })
  public acceleratorManufacturers?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  @core.attr(String, { kind: "array" })
  public acceleratorNames?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(AcceleratorTotalMemoryMib)
  public acceleratorTotalMemoryMib?: AcceleratorTotalMemoryMib;

  @core.attr(String, { kind: "array" })
  public acceleratorTypes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String)
  public bareMetal?: string | core.StringOut;

  @core.attr(BaselineEbsBandwidthMbps)
  public baselineEbsBandwidthMbps?: BaselineEbsBandwidthMbps;

  @core.attr(String)
  public burstablePerformance?: string | core.StringOut;

  @core.attr(String, { kind: "array" })
  public cpuManufacturers?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { kind: "array" })
  public excludedInstanceTypes?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  @core.attr(String, { kind: "array" })
  public instanceGenerations?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  @core.attr(String)
  public localStorage?: string | core.StringOut;

  @core.attr(String, { kind: "array" })
  public localStorageTypes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(MemoryGibPerVcpu)
  public memoryGibPerVcpu?: MemoryGibPerVcpu;

  @core.attr(MemoryMib)
  public memoryMib!: MemoryMib;

  @core.attr(NetworkInterfaceCount)
  public networkInterfaceCount?: NetworkInterfaceCount;

  @core.attr(Number)
  public onDemandMaxPricePercentageOverLowestPrice?: number | core.NumberOut;

  @core.attr(Boolean)
  public requireHibernateSupport?: boolean | core.BooleanOut;

  @core.attr(Number)
  public spotMaxPricePercentageOverLowestPrice?: number | core.NumberOut;

  @core.attr(TotalLocalStorageGb)
  public totalLocalStorageGb?: TotalLocalStorageGb;

  @core.attr(VcpuCount)
  public vcpuCount!: VcpuCount;
}

export interface IamInstanceProfileArgs extends core.SchemaArgs {
  arn?: string | core.StringOut;

  name?: string | core.StringOut;
}

export class IamInstanceProfile extends core.Schema<IamInstanceProfileArgs> {
  @core.attr(String)
  public arn?: string | core.StringOut;

  @core.attr(String)
  public name?: string | core.StringOut;
}

export interface MaintenanceOptionsArgs extends core.SchemaArgs {
  autoRecovery?: string | core.StringOut;
}

export class MaintenanceOptions extends core.Schema<MaintenanceOptionsArgs> {
  @core.attr(String)
  public autoRecovery?: string | core.StringOut;
}

export interface ElasticInferenceAcceleratorArgs extends core.SchemaArgs {
  type: string | core.StringOut;
}

export class ElasticInferenceAccelerator extends core.Schema<ElasticInferenceAcceleratorArgs> {
  @core.attr(String)
  public type!: string | core.StringOut;
}

export interface CreditSpecificationArgs extends core.SchemaArgs {
  cpuCredits?: string | core.StringOut;
}

export class CreditSpecification extends core.Schema<CreditSpecificationArgs> {
  @core.attr(String)
  public cpuCredits?: string | core.StringOut;
}

export interface MonitoringArgs extends core.SchemaArgs {
  enabled?: boolean | core.BooleanOut;
}

export class Monitoring extends core.Schema<MonitoringArgs> {
  @core.attr(Boolean)
  public enabled?: boolean | core.BooleanOut;
}

export interface NetworkInterfacesArgs extends core.SchemaArgs {
  associateCarrierIpAddress?: string | core.StringOut;

  associatePublicIpAddress?: string | core.StringOut;

  deleteOnTermination?: string | core.StringOut;

  description?: string | core.StringOut;

  deviceIndex?: number | core.NumberOut;

  interfaceType?: string | core.StringOut;

  ipv4AddressCount?: number | core.NumberOut;

  ipv4Addresses?: core.Array<string> | core.ArrayOut<core.StringOut>;

  ipv4PrefixCount?: number | core.NumberOut;

  ipv4Prefixes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  ipv6AddressCount?: number | core.NumberOut;

  ipv6Addresses?: core.Array<string> | core.ArrayOut<core.StringOut>;

  ipv6PrefixCount?: number | core.NumberOut;

  ipv6Prefixes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  networkCardIndex?: number | core.NumberOut;

  networkInterfaceId?: string | core.StringOut;

  privateIpAddress?: string | core.StringOut;

  securityGroups?: core.Array<string> | core.ArrayOut<core.StringOut>;

  subnetId?: string | core.StringOut;
}

export class NetworkInterfaces extends core.Schema<NetworkInterfacesArgs> {
  @core.attr(String)
  public associateCarrierIpAddress?: string | core.StringOut;

  @core.attr(String)
  public associatePublicIpAddress?: string | core.StringOut;

  @core.attr(String)
  public deleteOnTermination?: string | core.StringOut;

  @core.attr(String)
  public description?: string | core.StringOut;

  @core.attr(Number)
  public deviceIndex?: number | core.NumberOut;

  @core.attr(String)
  public interfaceType?: string | core.StringOut;

  @core.attr(Number)
  public ipv4AddressCount?: number | core.NumberOut;

  @core.attr(String, { kind: "array" })
  public ipv4Addresses?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(Number)
  public ipv4PrefixCount?: number | core.NumberOut;

  @core.attr(String, { kind: "array" })
  public ipv4Prefixes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(Number)
  public ipv6AddressCount?: number | core.NumberOut;

  @core.attr(String, { kind: "array" })
  public ipv6Addresses?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(Number)
  public ipv6PrefixCount?: number | core.NumberOut;

  @core.attr(String, { kind: "array" })
  public ipv6Prefixes?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(Number)
  public networkCardIndex?: number | core.NumberOut;

  @core.attr(String)
  public networkInterfaceId?: string | core.StringOut;

  @core.attr(String)
  public privateIpAddress?: string | core.StringOut;

  @core.attr(String, { kind: "array" })
  public securityGroups?: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String)
  public subnetId?: string | core.StringOut;
}

export interface PlacementArgs extends core.SchemaArgs {
  affinity?: string | core.StringOut;

  availabilityZone?: string | core.StringOut;

  groupName?: string | core.StringOut;

  hostId?: string | core.StringOut;

  hostResourceGroupArn?: string | core.StringOut;

  partitionNumber?: number | core.NumberOut;

  spreadDomain?: string | core.StringOut;

  tenancy?: string | core.StringOut;
}

export class Placement extends core.Schema<PlacementArgs> {
  @core.attr(String)
  public affinity?: string | core.StringOut;

  @core.attr(String)
  public availabilityZone?: string | core.StringOut;

  @core.attr(String)
  public groupName?: string | core.StringOut;

  @core.attr(String)
  public hostId?: string | core.StringOut;

  @core.attr(String)
  public hostResourceGroupArn?: string | core.StringOut;

  @core.attr(Number)
  public partitionNumber?: number | core.NumberOut;

  @core.attr(String)
  public spreadDomain?: string | core.StringOut;

  @core.attr(String)
  public tenancy?: string | core.StringOut;
}

export interface CapacityReservationTargetArgs extends core.SchemaArgs {
  capacityReservationId?: string | core.StringOut;

  capacityReservationResourceGroupArn?: string | core.StringOut;
}

export class CapacityReservationTarget extends core.Schema<CapacityReservationTargetArgs> {
  @core.attr(String)
  public capacityReservationId?: string | core.StringOut;

  @core.attr(String)
  public capacityReservationResourceGroupArn?: string | core.StringOut;
}

export interface CapacityReservationSpecificationArgs extends core.SchemaArgs {
  capacityReservationPreference?: string | core.StringOut;

  capacityReservationTarget?: CapacityReservationTarget;
}

export class CapacityReservationSpecification extends core.Schema<CapacityReservationSpecificationArgs> {
  @core.attr(String)
  public capacityReservationPreference?: string | core.StringOut;

  @core.attr(CapacityReservationTarget)
  public capacityReservationTarget?: CapacityReservationTarget;
}

export interface LicenseSpecificationArgs extends core.SchemaArgs {
  licenseConfigurationArn: string | core.StringOut;
}

export class LicenseSpecification extends core.Schema<LicenseSpecificationArgs> {
  @core.attr(String)
  public licenseConfigurationArn!: string | core.StringOut;
}

export interface LaunchTemplateArgs extends core.ResourceArgs {
  blockDeviceMappings?:
    | core.Array<BlockDeviceMappings>
    | core.ArrayOut<BlockDeviceMappings>;

  capacityReservationSpecification?: CapacityReservationSpecification;

  cpuOptions?: CpuOptions;

  creditSpecification?: CreditSpecification;

  defaultVersion?: number | core.NumberOut;

  description?: string | core.StringOut;

  disableApiStop?: boolean | core.BooleanOut;

  disableApiTermination?: boolean | core.BooleanOut;

  ebsOptimized?: string | core.StringOut;

  elasticGpuSpecifications?:
    | core.Array<ElasticGpuSpecifications>
    | core.ArrayOut<ElasticGpuSpecifications>;

  elasticInferenceAccelerator?: ElasticInferenceAccelerator;

  enclaveOptions?: EnclaveOptions;

  hibernationOptions?: HibernationOptions;

  iamInstanceProfile?: IamInstanceProfile;

  imageId?: string | core.StringOut;

  instanceInitiatedShutdownBehavior?: string | core.StringOut;

  instanceMarketOptions?: InstanceMarketOptions;

  instanceRequirements?: InstanceRequirements;

  instanceType?: string | core.StringOut;

  kernelId?: string | core.StringOut;

  keyName?: string | core.StringOut;

  licenseSpecification?:
    | core.Array<LicenseSpecification>
    | core.ArrayOut<LicenseSpecification>;

  maintenanceOptions?: MaintenanceOptions;

  metadataOptions?: MetadataOptions;

  monitoring?: Monitoring;

  name?: string | core.StringOut;

  namePrefix?: string | core.StringOut;

  networkInterfaces?:
    | core.Array<NetworkInterfaces>
    | core.ArrayOut<NetworkInterfaces>;

  placement?: Placement;

  privateDnsNameOptions?: PrivateDnsNameOptions;

  ramDiskId?: string | core.StringOut;

  securityGroupNames?: core.Array<string> | core.ArrayOut<core.StringOut>;

  tagSpecifications?:
    | core.Array<TagSpecifications>
    | core.ArrayOut<TagSpecifications>;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  updateDefaultVersion?: boolean | core.BooleanOut;

  userData?: string | core.StringOut;

  vpcSecurityGroupIds?: core.Array<string> | core.ArrayOut<core.StringOut>;
}

export class LaunchTemplate extends core.Resource<LaunchTemplateArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

  @core.attr(BlockDeviceMappings, { kind: "array" })
  public blockDeviceMappings?:
    | core.Array<BlockDeviceMappings>
    | core.ArrayOut<BlockDeviceMappings>;

  @core.attr(CapacityReservationSpecification)
  public capacityReservationSpecification?: CapacityReservationSpecification;

  @core.attr(CpuOptions)
  public cpuOptions?: CpuOptions;

  @core.attr(CreditSpecification)
  public creditSpecification?: CreditSpecification;

  @core.attr(Number, { computed: true })
  public defaultVersion?: number | core.NumberOut;

  @core.attr(String)
  public description?: string | core.StringOut;

  @core.attr(Boolean)
  public disableApiStop?: boolean | core.BooleanOut;

  @core.attr(Boolean)
  public disableApiTermination?: boolean | core.BooleanOut;

  @core.attr(String)
  public ebsOptimized?: string | core.StringOut;

  @core.attr(ElasticGpuSpecifications, { kind: "array" })
  public elasticGpuSpecifications?:
    | core.Array<ElasticGpuSpecifications>
    | core.ArrayOut<ElasticGpuSpecifications>;

  @core.attr(ElasticInferenceAccelerator)
  public elasticInferenceAccelerator?: ElasticInferenceAccelerator;

  @core.attr(EnclaveOptions)
  public enclaveOptions?: EnclaveOptions;

  @core.attr(HibernationOptions)
  public hibernationOptions?: HibernationOptions;

  @core.attr(IamInstanceProfile)
  public iamInstanceProfile?: IamInstanceProfile;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public imageId?: string | core.StringOut;

  @core.attr(String)
  public instanceInitiatedShutdownBehavior?: string | core.StringOut;

  @core.attr(InstanceMarketOptions)
  public instanceMarketOptions?: InstanceMarketOptions;

  @core.attr(InstanceRequirements)
  public instanceRequirements?: InstanceRequirements;

  @core.attr(String)
  public instanceType?: string | core.StringOut;

  @core.attr(String)
  public kernelId?: string | core.StringOut;

  @core.attr(String)
  public keyName?: string | core.StringOut;

  @core.attr(Number, { computed: true })
  public latestVersion!: number | core.NumberOut;

  @core.attr(LicenseSpecification, { kind: "array" })
  public licenseSpecification?:
    | core.Array<LicenseSpecification>
    | core.ArrayOut<LicenseSpecification>;

  @core.attr(MaintenanceOptions)
  public maintenanceOptions?: MaintenanceOptions;

  @core.attr(MetadataOptions, { computed: true })
  public metadataOptions?: MetadataOptions;

  @core.attr(Monitoring)
  public monitoring?: Monitoring;

  @core.attr(String, { computed: true })
  public name?: string | core.StringOut;

  @core.attr(String, { computed: true })
  public namePrefix?: string | core.StringOut;

  @core.attr(NetworkInterfaces, { kind: "array" })
  public networkInterfaces?:
    | core.Array<NetworkInterfaces>
    | core.ArrayOut<NetworkInterfaces>;

  @core.attr(Placement)
  public placement?: Placement;

  @core.attr(PrivateDnsNameOptions)
  public privateDnsNameOptions?: PrivateDnsNameOptions;

  @core.attr(String)
  public ramDiskId?: string | core.StringOut;

  @core.attr(String, { kind: "array" })
  public securityGroupNames?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  @core.attr(TagSpecifications, { kind: "array" })
  public tagSpecifications?:
    | core.Array<TagSpecifications>
    | core.ArrayOut<TagSpecifications>;

  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "map" })
  public tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(Boolean)
  public updateDefaultVersion?: boolean | core.BooleanOut;

  @core.attr(String)
  public userData?: string | core.StringOut;

  @core.attr(String, { kind: "array" })
  public vpcSecurityGroupIds?:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  constructor(name: string, args?: LaunchTemplateArgs) {
    super(name, "aws_launch_template", args);
  }

  public override getNamespace(): string {
    return "aws_ec2";
  }
}
