// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS OpsWorks */ export interface OpsworksJavaAppLayerConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#app_server OpsworksJavaAppLayer#app_server} */ readonly appServer?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#app_server_version OpsworksJavaAppLayer#app_server_version} */ readonly appServerVersion?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#auto_assign_elastic_ips OpsworksJavaAppLayer#auto_assign_elastic_ips} */ readonly autoAssignElasticIps?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#auto_assign_public_ips OpsworksJavaAppLayer#auto_assign_public_ips} */ readonly autoAssignPublicIps?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#auto_healing OpsworksJavaAppLayer#auto_healing} */ readonly autoHealing?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_configure_recipes OpsworksJavaAppLayer#custom_configure_recipes} */ readonly customConfigureRecipes?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_deploy_recipes OpsworksJavaAppLayer#custom_deploy_recipes} */ readonly customDeployRecipes?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_instance_profile_arn OpsworksJavaAppLayer#custom_instance_profile_arn} */ readonly customInstanceProfileArn?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_json OpsworksJavaAppLayer#custom_json} */ readonly customJson?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_security_group_ids OpsworksJavaAppLayer#custom_security_group_ids} */ readonly customSecurityGroupIds?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_setup_recipes OpsworksJavaAppLayer#custom_setup_recipes} */ readonly customSetupRecipes?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_shutdown_recipes OpsworksJavaAppLayer#custom_shutdown_recipes} */ readonly customShutdownRecipes?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#custom_undeploy_recipes OpsworksJavaAppLayer#custom_undeploy_recipes} */ readonly customUndeployRecipes?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#drain_elb_on_shutdown OpsworksJavaAppLayer#drain_elb_on_shutdown} */ readonly drainElbOnShutdown?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#elastic_load_balancer OpsworksJavaAppLayer#elastic_load_balancer} */ readonly elasticLoadBalancer?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#install_updates_on_boot OpsworksJavaAppLayer#install_updates_on_boot} */ readonly installUpdatesOnBoot?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#instance_shutdown_timeout OpsworksJavaAppLayer#instance_shutdown_timeout} */ readonly instanceShutdownTimeout?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#jvm_options OpsworksJavaAppLayer#jvm_options} */ readonly jvmOptions?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#jvm_type OpsworksJavaAppLayer#jvm_type} */ readonly jvmType?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#jvm_version OpsworksJavaAppLayer#jvm_version} */ readonly jvmVersion?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#name OpsworksJavaAppLayer#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#stack_id OpsworksJavaAppLayer#stack_id} */ readonly stackId: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#system_packages OpsworksJavaAppLayer#system_packages} */ readonly systemPackages?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#tags OpsworksJavaAppLayer#tags} */ readonly tags?: { [key: string]: string } | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#tags_all OpsworksJavaAppLayer#tags_all} */ readonly tagsAll?: { [key: string]: string } | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#use_ebs_optimized_instances OpsworksJavaAppLayer#use_ebs_optimized_instances} */ readonly useEbsOptimizedInstances?: boolean | cdktf.IResolvable; /** * ebs_volume block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#ebs_volume OpsworksJavaAppLayer#ebs_volume} */ readonly ebsVolume?: OpsworksJavaAppLayerEbsVolume[]; } export interface OpsworksJavaAppLayerEbsVolume { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#encrypted OpsworksJavaAppLayer#encrypted} */ readonly encrypted?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#iops OpsworksJavaAppLayer#iops} */ readonly iops?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#mount_point OpsworksJavaAppLayer#mount_point} */ readonly mountPoint: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#number_of_disks OpsworksJavaAppLayer#number_of_disks} */ readonly numberOfDisks: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#raid_level OpsworksJavaAppLayer#raid_level} */ readonly raidLevel?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#size OpsworksJavaAppLayer#size} */ readonly size: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html#type OpsworksJavaAppLayer#type} */ readonly type?: string; } export function opsworksJavaAppLayerEbsVolumeToTerraform(struct?: OpsworksJavaAppLayerEbsVolume): any { if (!cdktf.canInspect(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { encrypted: cdktf.booleanToTerraform(struct!.encrypted), iops: cdktf.numberToTerraform(struct!.iops), mount_point: cdktf.stringToTerraform(struct!.mountPoint), number_of_disks: cdktf.numberToTerraform(struct!.numberOfDisks), raid_level: cdktf.stringToTerraform(struct!.raidLevel), size: cdktf.numberToTerraform(struct!.size), type: cdktf.stringToTerraform(struct!.type), } } /** * Represents a {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html aws_opsworks_java_app_layer} */ export class OpsworksJavaAppLayer extends cdktf.TerraformResource { // ================= // STATIC PROPERTIES // ================= public static readonly tfResourceType: string = "aws_opsworks_java_app_layer"; // =========== // INITIALIZER // =========== /** * Create a new {@link https://www.terraform.io/docs/providers/aws/r/opsworks_java_app_layer.html aws_opsworks_java_app_layer} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options OpsworksJavaAppLayerConfig */ public constructor(scope: Construct, id: string, config: OpsworksJavaAppLayerConfig) { super(scope, id, { terraformResourceType: 'aws_opsworks_java_app_layer', terraformGeneratorMetadata: { providerName: 'aws' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle }); this._appServer = config.appServer; this._appServerVersion = config.appServerVersion; this._autoAssignElasticIps = config.autoAssignElasticIps; this._autoAssignPublicIps = config.autoAssignPublicIps; this._autoHealing = config.autoHealing; this._customConfigureRecipes = config.customConfigureRecipes; this._customDeployRecipes = config.customDeployRecipes; this._customInstanceProfileArn = config.customInstanceProfileArn; this._customJson = config.customJson; this._customSecurityGroupIds = config.customSecurityGroupIds; this._customSetupRecipes = config.customSetupRecipes; this._customShutdownRecipes = config.customShutdownRecipes; this._customUndeployRecipes = config.customUndeployRecipes; this._drainElbOnShutdown = config.drainElbOnShutdown; this._elasticLoadBalancer = config.elasticLoadBalancer; this._installUpdatesOnBoot = config.installUpdatesOnBoot; this._instanceShutdownTimeout = config.instanceShutdownTimeout; this._jvmOptions = config.jvmOptions; this._jvmType = config.jvmType; this._jvmVersion = config.jvmVersion; this._name = config.name; this._stackId = config.stackId; this._systemPackages = config.systemPackages; this._tags = config.tags; this._tagsAll = config.tagsAll; this._useEbsOptimizedInstances = config.useEbsOptimizedInstances; this._ebsVolume = config.ebsVolume; } // ========== // ATTRIBUTES // ========== // app_server - computed: false, optional: true, required: false private _appServer?: string; public get appServer() { return this.getStringAttribute('app_server'); } public set appServer(value: string) { this._appServer = value; } public resetAppServer() { this._appServer = undefined; } // Temporarily expose input value. Use with caution. public get appServerInput() { return this._appServer; } // app_server_version - computed: false, optional: true, required: false private _appServerVersion?: string; public get appServerVersion() { return this.getStringAttribute('app_server_version'); } public set appServerVersion(value: string) { this._appServerVersion = value; } public resetAppServerVersion() { this._appServerVersion = undefined; } // Temporarily expose input value. Use with caution. public get appServerVersionInput() { return this._appServerVersion; } // arn - computed: true, optional: false, required: false public get arn() { return this.getStringAttribute('arn'); } // auto_assign_elastic_ips - computed: false, optional: true, required: false private _autoAssignElasticIps?: boolean | cdktf.IResolvable; public get autoAssignElasticIps() { return this.getBooleanAttribute('auto_assign_elastic_ips') as any; } public set autoAssignElasticIps(value: boolean | cdktf.IResolvable) { this._autoAssignElasticIps = value; } public resetAutoAssignElasticIps() { this._autoAssignElasticIps = undefined; } // Temporarily expose input value. Use with caution. public get autoAssignElasticIpsInput() { return this._autoAssignElasticIps; } // auto_assign_public_ips - computed: false, optional: true, required: false private _autoAssignPublicIps?: boolean | cdktf.IResolvable; public get autoAssignPublicIps() { return this.getBooleanAttribute('auto_assign_public_ips') as any; } public set autoAssignPublicIps(value: boolean | cdktf.IResolvable) { this._autoAssignPublicIps = value; } public resetAutoAssignPublicIps() { this._autoAssignPublicIps = undefined; } // Temporarily expose input value. Use with caution. public get autoAssignPublicIpsInput() { return this._autoAssignPublicIps; } // auto_healing - computed: false, optional: true, required: false private _autoHealing?: boolean | cdktf.IResolvable; public get autoHealing() { return this.getBooleanAttribute('auto_healing') as any; } public set autoHealing(value: boolean | cdktf.IResolvable) { this._autoHealing = value; } public resetAutoHealing() { this._autoHealing = undefined; } // Temporarily expose input value. Use with caution. public get autoHealingInput() { return this._autoHealing; } // custom_configure_recipes - computed: false, optional: true, required: false private _customConfigureRecipes?: string[]; public get customConfigureRecipes() { return this.getListAttribute('custom_configure_recipes'); } public set customConfigureRecipes(value: string[]) { this._customConfigureRecipes = value; } public resetCustomConfigureRecipes() { this._customConfigureRecipes = undefined; } // Temporarily expose input value. Use with caution. public get customConfigureRecipesInput() { return this._customConfigureRecipes; } // custom_deploy_recipes - computed: false, optional: true, required: false private _customDeployRecipes?: string[]; public get customDeployRecipes() { return this.getListAttribute('custom_deploy_recipes'); } public set customDeployRecipes(value: string[]) { this._customDeployRecipes = value; } public resetCustomDeployRecipes() { this._customDeployRecipes = undefined; } // Temporarily expose input value. Use with caution. public get customDeployRecipesInput() { return this._customDeployRecipes; } // custom_instance_profile_arn - computed: false, optional: true, required: false private _customInstanceProfileArn?: string; public get customInstanceProfileArn() { return this.getStringAttribute('custom_instance_profile_arn'); } public set customInstanceProfileArn(value: string) { this._customInstanceProfileArn = value; } public resetCustomInstanceProfileArn() { this._customInstanceProfileArn = undefined; } // Temporarily expose input value. Use with caution. public get customInstanceProfileArnInput() { return this._customInstanceProfileArn; } // custom_json - computed: false, optional: true, required: false private _customJson?: string; public get customJson() { return this.getStringAttribute('custom_json'); } public set customJson(value: string) { this._customJson = value; } public resetCustomJson() { this._customJson = undefined; } // Temporarily expose input value. Use with caution. public get customJsonInput() { return this._customJson; } // custom_security_group_ids - computed: false, optional: true, required: false private _customSecurityGroupIds?: string[]; public get customSecurityGroupIds() { return this.getListAttribute('custom_security_group_ids'); } public set customSecurityGroupIds(value: string[]) { this._customSecurityGroupIds = value; } public resetCustomSecurityGroupIds() { this._customSecurityGroupIds = undefined; } // Temporarily expose input value. Use with caution. public get customSecurityGroupIdsInput() { return this._customSecurityGroupIds; } // custom_setup_recipes - computed: false, optional: true, required: false private _customSetupRecipes?: string[]; public get customSetupRecipes() { return this.getListAttribute('custom_setup_recipes'); } public set customSetupRecipes(value: string[]) { this._customSetupRecipes = value; } public resetCustomSetupRecipes() { this._customSetupRecipes = undefined; } // Temporarily expose input value. Use with caution. public get customSetupRecipesInput() { return this._customSetupRecipes; } // custom_shutdown_recipes - computed: false, optional: true, required: false private _customShutdownRecipes?: string[]; public get customShutdownRecipes() { return this.getListAttribute('custom_shutdown_recipes'); } public set customShutdownRecipes(value: string[]) { this._customShutdownRecipes = value; } public resetCustomShutdownRecipes() { this._customShutdownRecipes = undefined; } // Temporarily expose input value. Use with caution. public get customShutdownRecipesInput() { return this._customShutdownRecipes; } // custom_undeploy_recipes - computed: false, optional: true, required: false private _customUndeployRecipes?: string[]; public get customUndeployRecipes() { return this.getListAttribute('custom_undeploy_recipes'); } public set customUndeployRecipes(value: string[]) { this._customUndeployRecipes = value; } public resetCustomUndeployRecipes() { this._customUndeployRecipes = undefined; } // Temporarily expose input value. Use with caution. public get customUndeployRecipesInput() { return this._customUndeployRecipes; } // drain_elb_on_shutdown - computed: false, optional: true, required: false private _drainElbOnShutdown?: boolean | cdktf.IResolvable; public get drainElbOnShutdown() { return this.getBooleanAttribute('drain_elb_on_shutdown') as any; } public set drainElbOnShutdown(value: boolean | cdktf.IResolvable) { this._drainElbOnShutdown = value; } public resetDrainElbOnShutdown() { this._drainElbOnShutdown = undefined; } // Temporarily expose input value. Use with caution. public get drainElbOnShutdownInput() { return this._drainElbOnShutdown; } // elastic_load_balancer - computed: false, optional: true, required: false private _elasticLoadBalancer?: string; public get elasticLoadBalancer() { return this.getStringAttribute('elastic_load_balancer'); } public set elasticLoadBalancer(value: string) { this._elasticLoadBalancer = value; } public resetElasticLoadBalancer() { this._elasticLoadBalancer = undefined; } // Temporarily expose input value. Use with caution. public get elasticLoadBalancerInput() { return this._elasticLoadBalancer; } // id - computed: true, optional: true, required: false public get id() { return this.getStringAttribute('id'); } // install_updates_on_boot - computed: false, optional: true, required: false private _installUpdatesOnBoot?: boolean | cdktf.IResolvable; public get installUpdatesOnBoot() { return this.getBooleanAttribute('install_updates_on_boot') as any; } public set installUpdatesOnBoot(value: boolean | cdktf.IResolvable) { this._installUpdatesOnBoot = value; } public resetInstallUpdatesOnBoot() { this._installUpdatesOnBoot = undefined; } // Temporarily expose input value. Use with caution. public get installUpdatesOnBootInput() { return this._installUpdatesOnBoot; } // instance_shutdown_timeout - computed: false, optional: true, required: false private _instanceShutdownTimeout?: number; public get instanceShutdownTimeout() { return this.getNumberAttribute('instance_shutdown_timeout'); } public set instanceShutdownTimeout(value: number) { this._instanceShutdownTimeout = value; } public resetInstanceShutdownTimeout() { this._instanceShutdownTimeout = undefined; } // Temporarily expose input value. Use with caution. public get instanceShutdownTimeoutInput() { return this._instanceShutdownTimeout; } // jvm_options - computed: false, optional: true, required: false private _jvmOptions?: string; public get jvmOptions() { return this.getStringAttribute('jvm_options'); } public set jvmOptions(value: string) { this._jvmOptions = value; } public resetJvmOptions() { this._jvmOptions = undefined; } // Temporarily expose input value. Use with caution. public get jvmOptionsInput() { return this._jvmOptions; } // jvm_type - computed: false, optional: true, required: false private _jvmType?: string; public get jvmType() { return this.getStringAttribute('jvm_type'); } public set jvmType(value: string) { this._jvmType = value; } public resetJvmType() { this._jvmType = undefined; } // Temporarily expose input value. Use with caution. public get jvmTypeInput() { return this._jvmType; } // jvm_version - computed: false, optional: true, required: false private _jvmVersion?: string; public get jvmVersion() { return this.getStringAttribute('jvm_version'); } public set jvmVersion(value: string) { this._jvmVersion = value; } public resetJvmVersion() { this._jvmVersion = undefined; } // Temporarily expose input value. Use with caution. public get jvmVersionInput() { return this._jvmVersion; } // name - computed: false, optional: true, required: false private _name?: string; public get name() { return this.getStringAttribute('name'); } public set name(value: string) { this._name = value; } public resetName() { this._name = undefined; } // Temporarily expose input value. Use with caution. public get nameInput() { return this._name; } // stack_id - computed: false, optional: false, required: true private _stackId?: string; public get stackId() { return this.getStringAttribute('stack_id'); } public set stackId(value: string) { this._stackId = value; } // Temporarily expose input value. Use with caution. public get stackIdInput() { return this._stackId; } // system_packages - computed: false, optional: true, required: false private _systemPackages?: string[]; public get systemPackages() { return this.getListAttribute('system_packages'); } public set systemPackages(value: string[]) { this._systemPackages = value; } public resetSystemPackages() { this._systemPackages = undefined; } // Temporarily expose input value. Use with caution. public get systemPackagesInput() { return this._systemPackages; } // tags - computed: false, optional: true, required: false private _tags?: { [key: string]: string } | cdktf.IResolvable; public get tags() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('tags') as any; } public set tags(value: { [key: string]: string } | cdktf.IResolvable) { this._tags = value; } public resetTags() { this._tags = undefined; } // Temporarily expose input value. Use with caution. public get tagsInput() { return this._tags; } // tags_all - computed: true, optional: true, required: false private _tagsAll?: { [key: string]: string } | cdktf.IResolvable; public get tagsAll() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('tags_all') as any; } public set tagsAll(value: { [key: string]: string } | cdktf.IResolvable) { this._tagsAll = value; } public resetTagsAll() { this._tagsAll = undefined; } // Temporarily expose input value. Use with caution. public get tagsAllInput() { return this._tagsAll; } // use_ebs_optimized_instances - computed: false, optional: true, required: false private _useEbsOptimizedInstances?: boolean | cdktf.IResolvable; public get useEbsOptimizedInstances() { return this.getBooleanAttribute('use_ebs_optimized_instances') as any; } public set useEbsOptimizedInstances(value: boolean | cdktf.IResolvable) { this._useEbsOptimizedInstances = value; } public resetUseEbsOptimizedInstances() { this._useEbsOptimizedInstances = undefined; } // Temporarily expose input value. Use with caution. public get useEbsOptimizedInstancesInput() { return this._useEbsOptimizedInstances; } // ebs_volume - computed: false, optional: true, required: false private _ebsVolume?: OpsworksJavaAppLayerEbsVolume[]; public get ebsVolume() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('ebs_volume') as any; } public set ebsVolume(value: OpsworksJavaAppLayerEbsVolume[]) { this._ebsVolume = value; } public resetEbsVolume() { this._ebsVolume = undefined; } // Temporarily expose input value. Use with caution. public get ebsVolumeInput() { return this._ebsVolume; } // ========= // SYNTHESIS // ========= protected synthesizeAttributes(): { [name: string]: any } { return { app_server: cdktf.stringToTerraform(this._appServer), app_server_version: cdktf.stringToTerraform(this._appServerVersion), auto_assign_elastic_ips: cdktf.booleanToTerraform(this._autoAssignElasticIps), auto_assign_public_ips: cdktf.booleanToTerraform(this._autoAssignPublicIps), auto_healing: cdktf.booleanToTerraform(this._autoHealing), custom_configure_recipes: cdktf.listMapper(cdktf.stringToTerraform)(this._customConfigureRecipes), custom_deploy_recipes: cdktf.listMapper(cdktf.stringToTerraform)(this._customDeployRecipes), custom_instance_profile_arn: cdktf.stringToTerraform(this._customInstanceProfileArn), custom_json: cdktf.stringToTerraform(this._customJson), custom_security_group_ids: cdktf.listMapper(cdktf.stringToTerraform)(this._customSecurityGroupIds), custom_setup_recipes: cdktf.listMapper(cdktf.stringToTerraform)(this._customSetupRecipes), custom_shutdown_recipes: cdktf.listMapper(cdktf.stringToTerraform)(this._customShutdownRecipes), custom_undeploy_recipes: cdktf.listMapper(cdktf.stringToTerraform)(this._customUndeployRecipes), drain_elb_on_shutdown: cdktf.booleanToTerraform(this._drainElbOnShutdown), elastic_load_balancer: cdktf.stringToTerraform(this._elasticLoadBalancer), install_updates_on_boot: cdktf.booleanToTerraform(this._installUpdatesOnBoot), instance_shutdown_timeout: cdktf.numberToTerraform(this._instanceShutdownTimeout), jvm_options: cdktf.stringToTerraform(this._jvmOptions), jvm_type: cdktf.stringToTerraform(this._jvmType), jvm_version: cdktf.stringToTerraform(this._jvmVersion), name: cdktf.stringToTerraform(this._name), stack_id: cdktf.stringToTerraform(this._stackId), system_packages: cdktf.listMapper(cdktf.stringToTerraform)(this._systemPackages), tags: cdktf.hashMapper(cdktf.anyToTerraform)(this._tags), tags_all: cdktf.hashMapper(cdktf.anyToTerraform)(this._tagsAll), use_ebs_optimized_instances: cdktf.booleanToTerraform(this._useEbsOptimizedInstances), ebs_volume: cdktf.listMapper(opsworksJavaAppLayerEbsVolumeToTerraform)(this._ebsVolume), }; } }