"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpotInstanceRequest = exports.NetworkInterface = exports.MetadataOptions = exports.EnclaveOptions = exports.EbsBlockDevice = exports.EphemeralBlockDevice = exports.LaunchTemplate = exports.CapacityReservationSpecification = exports.CapacityReservationTarget = exports.CreditSpecification = exports.RootBlockDevice = exports.MaintenanceOptions = exports.PrivateDnsNameOptions = void 0;
const core = __importStar(require("@terrascript/core"));
class PrivateDnsNameOptions extends core.Schema {
}
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], PrivateDnsNameOptions.prototype, "enableResourceNameDnsARecord", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], PrivateDnsNameOptions.prototype, "enableResourceNameDnsAaaaRecord", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], PrivateDnsNameOptions.prototype, "hostnameType", void 0);
exports.PrivateDnsNameOptions = PrivateDnsNameOptions;
class MaintenanceOptions extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MaintenanceOptions.prototype, "autoRecovery", void 0);
exports.MaintenanceOptions = MaintenanceOptions;
class RootBlockDevice extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "deleteOnTermination", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "deviceName", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "encrypted", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "iops", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "kmsKeyId", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "tags", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "throughput", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "volumeId", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "volumeSize", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], RootBlockDevice.prototype, "volumeType", void 0);
exports.RootBlockDevice = RootBlockDevice;
class CreditSpecification extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CreditSpecification.prototype, "cpuCredits", void 0);
exports.CreditSpecification = CreditSpecification;
class CapacityReservationTarget extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CapacityReservationTarget.prototype, "capacityReservationId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CapacityReservationTarget.prototype, "capacityReservationResourceGroupArn", void 0);
exports.CapacityReservationTarget = CapacityReservationTarget;
class CapacityReservationSpecification extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CapacityReservationSpecification.prototype, "capacityReservationPreference", void 0);
__decorate([
    core.attr(CapacityReservationTarget),
    __metadata("design:type", CapacityReservationTarget)
], CapacityReservationSpecification.prototype, "capacityReservationTarget", void 0);
exports.CapacityReservationSpecification = CapacityReservationSpecification;
class LaunchTemplate extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplate.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplate.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LaunchTemplate.prototype, "version", void 0);
exports.LaunchTemplate = LaunchTemplate;
class EphemeralBlockDevice extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EphemeralBlockDevice.prototype, "deviceName", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], EphemeralBlockDevice.prototype, "noDevice", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EphemeralBlockDevice.prototype, "virtualName", void 0);
exports.EphemeralBlockDevice = EphemeralBlockDevice;
class EbsBlockDevice extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "deleteOnTermination", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "deviceName", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "encrypted", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "iops", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "kmsKeyId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "snapshotId", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "tags", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "throughput", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "volumeId", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "volumeSize", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], EbsBlockDevice.prototype, "volumeType", void 0);
exports.EbsBlockDevice = EbsBlockDevice;
class EnclaveOptions extends core.Schema {
}
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], EnclaveOptions.prototype, "enabled", void 0);
exports.EnclaveOptions = EnclaveOptions;
class MetadataOptions extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MetadataOptions.prototype, "httpEndpoint", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], MetadataOptions.prototype, "httpPutResponseHopLimit", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], MetadataOptions.prototype, "httpTokens", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MetadataOptions.prototype, "instanceMetadataTags", void 0);
exports.MetadataOptions = MetadataOptions;
class NetworkInterface extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], NetworkInterface.prototype, "deleteOnTermination", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], NetworkInterface.prototype, "deviceIndex", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], NetworkInterface.prototype, "networkCardIndex", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NetworkInterface.prototype, "networkInterfaceId", void 0);
exports.NetworkInterface = NetworkInterface;
class SpotInstanceRequest extends core.Resource {
    constructor(name, args) {
        super(name, "aws_spot_instance_request", args);
    }
    getNamespace() {
        return "aws_ec2";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "ami", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "arn", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "associatePublicIpAddress", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "availabilityZone", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "blockDurationMinutes", void 0);
__decorate([
    core.attr(CapacityReservationSpecification, { computed: true }),
    __metadata("design:type", CapacityReservationSpecification)
], SpotInstanceRequest.prototype, "capacityReservationSpecification", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "cpuCoreCount", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "cpuThreadsPerCore", void 0);
__decorate([
    core.attr(CreditSpecification),
    __metadata("design:type", CreditSpecification)
], SpotInstanceRequest.prototype, "creditSpecification", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "disableApiStop", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "disableApiTermination", void 0);
__decorate([
    core.attr(EbsBlockDevice, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "ebsBlockDevice", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "ebsOptimized", void 0);
__decorate([
    core.attr(EnclaveOptions, { computed: true }),
    __metadata("design:type", EnclaveOptions)
], SpotInstanceRequest.prototype, "enclaveOptions", void 0);
__decorate([
    core.attr(EphemeralBlockDevice, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "ephemeralBlockDevice", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "getPasswordData", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "hibernation", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "hostId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "iamInstanceProfile", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "instanceInitiatedShutdownBehavior", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "instanceInterruptionBehavior", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "instanceState", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "instanceType", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "ipv6AddressCount", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "ipv6Addresses", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "keyName", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "launchGroup", void 0);
__decorate([
    core.attr(LaunchTemplate),
    __metadata("design:type", LaunchTemplate)
], SpotInstanceRequest.prototype, "launchTemplate", void 0);
__decorate([
    core.attr(MaintenanceOptions, { computed: true }),
    __metadata("design:type", MaintenanceOptions)
], SpotInstanceRequest.prototype, "maintenanceOptions", void 0);
__decorate([
    core.attr(MetadataOptions, { computed: true }),
    __metadata("design:type", MetadataOptions)
], SpotInstanceRequest.prototype, "metadataOptions", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "monitoring", void 0);
__decorate([
    core.attr(NetworkInterface, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "networkInterface", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "outpostArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "passwordData", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "placementGroup", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "placementPartitionNumber", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "primaryNetworkInterfaceId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "privateDns", void 0);
__decorate([
    core.attr(PrivateDnsNameOptions, { computed: true }),
    __metadata("design:type", PrivateDnsNameOptions)
], SpotInstanceRequest.prototype, "privateDnsNameOptions", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "privateIp", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "publicDns", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "publicIp", void 0);
__decorate([
    core.attr(RootBlockDevice, { computed: true }),
    __metadata("design:type", RootBlockDevice)
], SpotInstanceRequest.prototype, "rootBlockDevice", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "secondaryPrivateIps", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "securityGroups", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "sourceDestCheck", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "spotBidStatus", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "spotInstanceId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "spotPrice", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "spotRequestState", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "spotType", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "subnetId", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "tagsAll", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "tenancy", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "userData", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "userDataBase64", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "userDataReplaceOnChange", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "validFrom", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "validUntil", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "volumeTags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "vpcSecurityGroupIds", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SpotInstanceRequest.prototype, "waitForFulfillment", void 0);
exports.SpotInstanceRequest = SpotInstanceRequest;
//# sourceMappingURL=spot_instance_request.js.map