/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Resource Type definition for AWS::EC2::Instance */ export interface AwsEc2Instance { Tenancy?: string; SecurityGroups?: string[]; PrivateDnsName?: string; PrivateIpAddress?: string; UserData?: string; BlockDeviceMappings?: BlockDeviceMapping[]; IamInstanceProfile?: string; Ipv6Addresses?: InstanceIpv6Address[]; KernelId?: string; SubnetId?: string; EbsOptimized?: boolean; PropagateTagsToVolumeOnCreation?: boolean; ElasticGpuSpecifications?: ElasticGpuSpecification[]; ElasticInferenceAccelerators?: ElasticInferenceAccelerator[]; Volumes?: Volume[]; PrivateIp?: string; Ipv6AddressCount?: number; LaunchTemplate?: LaunchTemplateSpecification; EnclaveOptions?: EnclaveOptions; NetworkInterfaces?: NetworkInterface[]; ImageId?: string; InstanceType?: string; Monitoring?: boolean; Tags?: Tag[]; AdditionalInfo?: string; HibernationOptions?: HibernationOptions; LicenseSpecifications?: LicenseSpecification[]; PublicIp?: string; InstanceInitiatedShutdownBehavior?: string; CpuOptions?: CpuOptions; AvailabilityZone?: string; PrivateDnsNameOptions?: PrivateDnsNameOptions; HostId?: string; HostResourceGroupArn?: string; PublicDnsName?: string; SecurityGroupIds?: string[]; DisableApiTermination?: boolean; KeyName?: string; RamdiskId?: string; SourceDestCheck?: boolean; PlacementGroupName?: string; SsmAssociations?: SsmAssociation[]; Affinity?: string; Id?: string; CreditSpecification?: CreditSpecification; } export interface BlockDeviceMapping { NoDevice?: NoDevice; VirtualName?: string; Ebs?: Ebs; DeviceName: string; } export interface NoDevice {} export interface Ebs { SnapshotId?: string; VolumeType?: string; KmsKeyId?: string; Encrypted?: boolean; Iops?: number; VolumeSize?: number; DeleteOnTermination?: boolean; } export interface InstanceIpv6Address { Ipv6Address: string; } export interface ElasticGpuSpecification { Type: string; } export interface ElasticInferenceAccelerator { Type: string; Count?: number; } export interface Volume { VolumeId: string; Device: string; } export interface LaunchTemplateSpecification { LaunchTemplateName?: string; LaunchTemplateId?: string; Version: string; } export interface EnclaveOptions { Enabled?: boolean; } export interface NetworkInterface { Description?: string; PrivateIpAddress?: string; PrivateIpAddresses?: PrivateIpAddressSpecification[]; SecondaryPrivateIpAddressCount?: number; DeviceIndex: string; GroupSet?: string[]; Ipv6Addresses?: InstanceIpv6Address[]; SubnetId?: string; AssociatePublicIpAddress?: boolean; NetworkInterfaceId?: string; AssociateCarrierIpAddress?: boolean; Ipv6AddressCount?: number; DeleteOnTermination?: boolean; } export interface PrivateIpAddressSpecification { PrivateIpAddress: string; Primary: boolean; } export interface Tag { Value: string; Key: string; } export interface HibernationOptions { Configured?: boolean; } export interface LicenseSpecification { LicenseConfigurationArn: string; } export interface CpuOptions { ThreadsPerCore?: number; CoreCount?: number; } export interface PrivateDnsNameOptions { HostnameType?: string; EnableResourceNameDnsAAAARecord?: boolean; EnableResourceNameDnsARecord?: boolean; } export interface SsmAssociation { AssociationParameters?: AssociationParameter[]; DocumentName: string; } export interface AssociationParameter { Value: string[]; Key: string; } export interface CreditSpecification { CPUCredits?: string; }