// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS Data Sources */ export interface ElbConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#availability_zones Elb#availability_zones} */ readonly availabilityZones?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#connection_draining Elb#connection_draining} */ readonly connectionDraining?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#connection_draining_timeout Elb#connection_draining_timeout} */ readonly connectionDrainingTimeout?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#cross_zone_load_balancing Elb#cross_zone_load_balancing} */ readonly crossZoneLoadBalancing?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#desync_mitigation_mode Elb#desync_mitigation_mode} */ readonly desyncMitigationMode?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#idle_timeout Elb#idle_timeout} */ readonly idleTimeout?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#instances Elb#instances} */ readonly instances?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#internal Elb#internal} */ readonly internal?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#name Elb#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#name_prefix Elb#name_prefix} */ readonly namePrefix?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#security_groups Elb#security_groups} */ readonly securityGroups?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#source_security_group Elb#source_security_group} */ readonly sourceSecurityGroup?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#subnets Elb#subnets} */ readonly subnets?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#tags Elb#tags} */ readonly tags?: { [key: string]: string } | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#tags_all Elb#tags_all} */ readonly tagsAll?: { [key: string]: string } | cdktf.IResolvable; /** * access_logs block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#access_logs Elb#access_logs} */ readonly accessLogs?: ElbAccessLogs; /** * health_check block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#health_check Elb#health_check} */ readonly healthCheck?: ElbHealthCheck; /** * listener block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#listener Elb#listener} */ readonly listener: ElbListener[]; } export interface ElbAccessLogs { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#bucket Elb#bucket} */ readonly bucket: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#bucket_prefix Elb#bucket_prefix} */ readonly bucketPrefix?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#enabled Elb#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#interval Elb#interval} */ readonly interval?: number; } export function elbAccessLogsToTerraform(struct?: ElbAccessLogsOutputReference | ElbAccessLogs): 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 { bucket: cdktf.stringToTerraform(struct!.bucket), bucket_prefix: cdktf.stringToTerraform(struct!.bucketPrefix), enabled: cdktf.booleanToTerraform(struct!.enabled), interval: cdktf.numberToTerraform(struct!.interval), } } export class ElbAccessLogsOutputReference extends cdktf.ComplexObject { private isEmptyObject = false; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param isSingleItem True if this is a block, false if it's a list */ public constructor(terraformResource: cdktf.ITerraformResource, terraformAttribute: string, isSingleItem: boolean) { super(terraformResource, terraformAttribute, isSingleItem); } public get internalValue(): ElbAccessLogs | undefined { let hasAnyValues = this.isEmptyObject; const internalValueResult: any = {}; if (this._bucket !== undefined) { hasAnyValues = true; internalValueResult.bucket = this._bucket; } if (this._bucketPrefix !== undefined) { hasAnyValues = true; internalValueResult.bucketPrefix = this._bucketPrefix; } if (this._enabled !== undefined) { hasAnyValues = true; internalValueResult.enabled = this._enabled; } if (this._interval !== undefined) { hasAnyValues = true; internalValueResult.interval = this._interval; } return hasAnyValues ? internalValueResult : undefined; } public set internalValue(value: ElbAccessLogs | undefined) { if (value === undefined) { this.isEmptyObject = false; this._bucket = undefined; this._bucketPrefix = undefined; this._enabled = undefined; this._interval = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._bucket = value.bucket; this._bucketPrefix = value.bucketPrefix; this._enabled = value.enabled; this._interval = value.interval; } } // bucket - computed: false, optional: false, required: true private _bucket?: string; public get bucket() { return this.getStringAttribute('bucket'); } public set bucket(value: string) { this._bucket = value; } // Temporarily expose input value. Use with caution. public get bucketInput() { return this._bucket; } // bucket_prefix - computed: false, optional: true, required: false private _bucketPrefix?: string; public get bucketPrefix() { return this.getStringAttribute('bucket_prefix'); } public set bucketPrefix(value: string) { this._bucketPrefix = value; } public resetBucketPrefix() { this._bucketPrefix = undefined; } // Temporarily expose input value. Use with caution. public get bucketPrefixInput() { return this._bucketPrefix; } // enabled - computed: false, optional: true, required: false private _enabled?: boolean | cdktf.IResolvable; public get enabled() { return this.getBooleanAttribute('enabled') as any; } public set enabled(value: boolean | cdktf.IResolvable) { this._enabled = value; } public resetEnabled() { this._enabled = undefined; } // Temporarily expose input value. Use with caution. public get enabledInput() { return this._enabled; } // interval - computed: false, optional: true, required: false private _interval?: number; public get interval() { return this.getNumberAttribute('interval'); } public set interval(value: number) { this._interval = value; } public resetInterval() { this._interval = undefined; } // Temporarily expose input value. Use with caution. public get intervalInput() { return this._interval; } } export interface ElbHealthCheck { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#healthy_threshold Elb#healthy_threshold} */ readonly healthyThreshold: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#interval Elb#interval} */ readonly interval: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#target Elb#target} */ readonly target: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#timeout Elb#timeout} */ readonly timeout: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#unhealthy_threshold Elb#unhealthy_threshold} */ readonly unhealthyThreshold: number; } export function elbHealthCheckToTerraform(struct?: ElbHealthCheckOutputReference | ElbHealthCheck): 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 { healthy_threshold: cdktf.numberToTerraform(struct!.healthyThreshold), interval: cdktf.numberToTerraform(struct!.interval), target: cdktf.stringToTerraform(struct!.target), timeout: cdktf.numberToTerraform(struct!.timeout), unhealthy_threshold: cdktf.numberToTerraform(struct!.unhealthyThreshold), } } export class ElbHealthCheckOutputReference extends cdktf.ComplexObject { private isEmptyObject = false; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param isSingleItem True if this is a block, false if it's a list */ public constructor(terraformResource: cdktf.ITerraformResource, terraformAttribute: string, isSingleItem: boolean) { super(terraformResource, terraformAttribute, isSingleItem); } public get internalValue(): ElbHealthCheck | undefined { let hasAnyValues = this.isEmptyObject; const internalValueResult: any = {}; if (this._healthyThreshold !== undefined) { hasAnyValues = true; internalValueResult.healthyThreshold = this._healthyThreshold; } if (this._interval !== undefined) { hasAnyValues = true; internalValueResult.interval = this._interval; } if (this._target !== undefined) { hasAnyValues = true; internalValueResult.target = this._target; } if (this._timeout !== undefined) { hasAnyValues = true; internalValueResult.timeout = this._timeout; } if (this._unhealthyThreshold !== undefined) { hasAnyValues = true; internalValueResult.unhealthyThreshold = this._unhealthyThreshold; } return hasAnyValues ? internalValueResult : undefined; } public set internalValue(value: ElbHealthCheck | undefined) { if (value === undefined) { this.isEmptyObject = false; this._healthyThreshold = undefined; this._interval = undefined; this._target = undefined; this._timeout = undefined; this._unhealthyThreshold = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._healthyThreshold = value.healthyThreshold; this._interval = value.interval; this._target = value.target; this._timeout = value.timeout; this._unhealthyThreshold = value.unhealthyThreshold; } } // healthy_threshold - computed: false, optional: false, required: true private _healthyThreshold?: number; public get healthyThreshold() { return this.getNumberAttribute('healthy_threshold'); } public set healthyThreshold(value: number) { this._healthyThreshold = value; } // Temporarily expose input value. Use with caution. public get healthyThresholdInput() { return this._healthyThreshold; } // interval - computed: false, optional: false, required: true private _interval?: number; public get interval() { return this.getNumberAttribute('interval'); } public set interval(value: number) { this._interval = value; } // Temporarily expose input value. Use with caution. public get intervalInput() { return this._interval; } // target - computed: false, optional: false, required: true private _target?: string; public get target() { return this.getStringAttribute('target'); } public set target(value: string) { this._target = value; } // Temporarily expose input value. Use with caution. public get targetInput() { return this._target; } // timeout - computed: false, optional: false, required: true private _timeout?: number; public get timeout() { return this.getNumberAttribute('timeout'); } public set timeout(value: number) { this._timeout = value; } // Temporarily expose input value. Use with caution. public get timeoutInput() { return this._timeout; } // unhealthy_threshold - computed: false, optional: false, required: true private _unhealthyThreshold?: number; public get unhealthyThreshold() { return this.getNumberAttribute('unhealthy_threshold'); } public set unhealthyThreshold(value: number) { this._unhealthyThreshold = value; } // Temporarily expose input value. Use with caution. public get unhealthyThresholdInput() { return this._unhealthyThreshold; } } export interface ElbListener { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#instance_port Elb#instance_port} */ readonly instancePort: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#instance_protocol Elb#instance_protocol} */ readonly instanceProtocol: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#lb_port Elb#lb_port} */ readonly lbPort: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#lb_protocol Elb#lb_protocol} */ readonly lbProtocol: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/elb.html#ssl_certificate_id Elb#ssl_certificate_id} */ readonly sslCertificateId?: string; } export function elbListenerToTerraform(struct?: ElbListener): 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 { instance_port: cdktf.numberToTerraform(struct!.instancePort), instance_protocol: cdktf.stringToTerraform(struct!.instanceProtocol), lb_port: cdktf.numberToTerraform(struct!.lbPort), lb_protocol: cdktf.stringToTerraform(struct!.lbProtocol), ssl_certificate_id: cdktf.stringToTerraform(struct!.sslCertificateId), } } /** * Represents a {@link https://www.terraform.io/docs/providers/aws/r/elb.html aws_elb} */ export class Elb extends cdktf.TerraformResource { // ================= // STATIC PROPERTIES // ================= public static readonly tfResourceType: string = "aws_elb"; // =========== // INITIALIZER // =========== /** * Create a new {@link https://www.terraform.io/docs/providers/aws/r/elb.html aws_elb} 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 ElbConfig */ public constructor(scope: Construct, id: string, config: ElbConfig) { super(scope, id, { terraformResourceType: 'aws_elb', terraformGeneratorMetadata: { providerName: 'aws' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle }); this._availabilityZones = config.availabilityZones; this._connectionDraining = config.connectionDraining; this._connectionDrainingTimeout = config.connectionDrainingTimeout; this._crossZoneLoadBalancing = config.crossZoneLoadBalancing; this._desyncMitigationMode = config.desyncMitigationMode; this._idleTimeout = config.idleTimeout; this._instances = config.instances; this._internal = config.internal; this._name = config.name; this._namePrefix = config.namePrefix; this._securityGroups = config.securityGroups; this._sourceSecurityGroup = config.sourceSecurityGroup; this._subnets = config.subnets; this._tags = config.tags; this._tagsAll = config.tagsAll; this._accessLogs.internalValue = config.accessLogs; this._healthCheck.internalValue = config.healthCheck; this._listener = config.listener; } // ========== // ATTRIBUTES // ========== // arn - computed: true, optional: false, required: false public get arn() { return this.getStringAttribute('arn'); } // availability_zones - computed: true, optional: true, required: false private _availabilityZones?: string[]; public get availabilityZones() { return this.getListAttribute('availability_zones'); } public set availabilityZones(value: string[]) { this._availabilityZones = value; } public resetAvailabilityZones() { this._availabilityZones = undefined; } // Temporarily expose input value. Use with caution. public get availabilityZonesInput() { return this._availabilityZones; } // connection_draining - computed: false, optional: true, required: false private _connectionDraining?: boolean | cdktf.IResolvable; public get connectionDraining() { return this.getBooleanAttribute('connection_draining') as any; } public set connectionDraining(value: boolean | cdktf.IResolvable) { this._connectionDraining = value; } public resetConnectionDraining() { this._connectionDraining = undefined; } // Temporarily expose input value. Use with caution. public get connectionDrainingInput() { return this._connectionDraining; } // connection_draining_timeout - computed: false, optional: true, required: false private _connectionDrainingTimeout?: number; public get connectionDrainingTimeout() { return this.getNumberAttribute('connection_draining_timeout'); } public set connectionDrainingTimeout(value: number) { this._connectionDrainingTimeout = value; } public resetConnectionDrainingTimeout() { this._connectionDrainingTimeout = undefined; } // Temporarily expose input value. Use with caution. public get connectionDrainingTimeoutInput() { return this._connectionDrainingTimeout; } // cross_zone_load_balancing - computed: false, optional: true, required: false private _crossZoneLoadBalancing?: boolean | cdktf.IResolvable; public get crossZoneLoadBalancing() { return this.getBooleanAttribute('cross_zone_load_balancing') as any; } public set crossZoneLoadBalancing(value: boolean | cdktf.IResolvable) { this._crossZoneLoadBalancing = value; } public resetCrossZoneLoadBalancing() { this._crossZoneLoadBalancing = undefined; } // Temporarily expose input value. Use with caution. public get crossZoneLoadBalancingInput() { return this._crossZoneLoadBalancing; } // desync_mitigation_mode - computed: false, optional: true, required: false private _desyncMitigationMode?: string; public get desyncMitigationMode() { return this.getStringAttribute('desync_mitigation_mode'); } public set desyncMitigationMode(value: string) { this._desyncMitigationMode = value; } public resetDesyncMitigationMode() { this._desyncMitigationMode = undefined; } // Temporarily expose input value. Use with caution. public get desyncMitigationModeInput() { return this._desyncMitigationMode; } // dns_name - computed: true, optional: false, required: false public get dnsName() { return this.getStringAttribute('dns_name'); } // id - computed: true, optional: true, required: false public get id() { return this.getStringAttribute('id'); } // idle_timeout - computed: false, optional: true, required: false private _idleTimeout?: number; public get idleTimeout() { return this.getNumberAttribute('idle_timeout'); } public set idleTimeout(value: number) { this._idleTimeout = value; } public resetIdleTimeout() { this._idleTimeout = undefined; } // Temporarily expose input value. Use with caution. public get idleTimeoutInput() { return this._idleTimeout; } // instances - computed: true, optional: true, required: false private _instances?: string[]; public get instances() { return this.getListAttribute('instances'); } public set instances(value: string[]) { this._instances = value; } public resetInstances() { this._instances = undefined; } // Temporarily expose input value. Use with caution. public get instancesInput() { return this._instances; } // internal - computed: true, optional: true, required: false private _internal?: boolean | cdktf.IResolvable; public get internal() { return this.getBooleanAttribute('internal') as any; } public set internal(value: boolean | cdktf.IResolvable) { this._internal = value; } public resetInternal() { this._internal = undefined; } // Temporarily expose input value. Use with caution. public get internalInput() { return this._internal; } // name - computed: true, 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; } // name_prefix - computed: false, optional: true, required: false private _namePrefix?: string; public get namePrefix() { return this.getStringAttribute('name_prefix'); } public set namePrefix(value: string) { this._namePrefix = value; } public resetNamePrefix() { this._namePrefix = undefined; } // Temporarily expose input value. Use with caution. public get namePrefixInput() { return this._namePrefix; } // security_groups - computed: true, optional: true, required: false private _securityGroups?: string[]; public get securityGroups() { return this.getListAttribute('security_groups'); } public set securityGroups(value: string[]) { this._securityGroups = value; } public resetSecurityGroups() { this._securityGroups = undefined; } // Temporarily expose input value. Use with caution. public get securityGroupsInput() { return this._securityGroups; } // source_security_group - computed: true, optional: true, required: false private _sourceSecurityGroup?: string; public get sourceSecurityGroup() { return this.getStringAttribute('source_security_group'); } public set sourceSecurityGroup(value: string) { this._sourceSecurityGroup = value; } public resetSourceSecurityGroup() { this._sourceSecurityGroup = undefined; } // Temporarily expose input value. Use with caution. public get sourceSecurityGroupInput() { return this._sourceSecurityGroup; } // source_security_group_id - computed: true, optional: false, required: false public get sourceSecurityGroupId() { return this.getStringAttribute('source_security_group_id'); } // subnets - computed: true, optional: true, required: false private _subnets?: string[]; public get subnets() { return this.getListAttribute('subnets'); } public set subnets(value: string[]) { this._subnets = value; } public resetSubnets() { this._subnets = undefined; } // Temporarily expose input value. Use with caution. public get subnetsInput() { return this._subnets; } // 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; } // zone_id - computed: true, optional: false, required: false public get zoneId() { return this.getStringAttribute('zone_id'); } // access_logs - computed: false, optional: true, required: false private _accessLogs = new ElbAccessLogsOutputReference(this as any, "access_logs", true); public get accessLogs() { return this._accessLogs; } public putAccessLogs(value: ElbAccessLogs) { this._accessLogs.internalValue = value; } public resetAccessLogs() { this._accessLogs.internalValue = undefined; } // Temporarily expose input value. Use with caution. public get accessLogsInput() { return this._accessLogs.internalValue; } // health_check - computed: false, optional: true, required: false private _healthCheck = new ElbHealthCheckOutputReference(this as any, "health_check", true); public get healthCheck() { return this._healthCheck; } public putHealthCheck(value: ElbHealthCheck) { this._healthCheck.internalValue = value; } public resetHealthCheck() { this._healthCheck.internalValue = undefined; } // Temporarily expose input value. Use with caution. public get healthCheckInput() { return this._healthCheck.internalValue; } // listener - computed: false, optional: false, required: true private _listener?: ElbListener[]; public get listener() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('listener') as any; } public set listener(value: ElbListener[]) { this._listener = value; } // Temporarily expose input value. Use with caution. public get listenerInput() { return this._listener; } // ========= // SYNTHESIS // ========= protected synthesizeAttributes(): { [name: string]: any } { return { availability_zones: cdktf.listMapper(cdktf.stringToTerraform)(this._availabilityZones), connection_draining: cdktf.booleanToTerraform(this._connectionDraining), connection_draining_timeout: cdktf.numberToTerraform(this._connectionDrainingTimeout), cross_zone_load_balancing: cdktf.booleanToTerraform(this._crossZoneLoadBalancing), desync_mitigation_mode: cdktf.stringToTerraform(this._desyncMitigationMode), idle_timeout: cdktf.numberToTerraform(this._idleTimeout), instances: cdktf.listMapper(cdktf.stringToTerraform)(this._instances), internal: cdktf.booleanToTerraform(this._internal), name: cdktf.stringToTerraform(this._name), name_prefix: cdktf.stringToTerraform(this._namePrefix), security_groups: cdktf.listMapper(cdktf.stringToTerraform)(this._securityGroups), source_security_group: cdktf.stringToTerraform(this._sourceSecurityGroup), subnets: cdktf.listMapper(cdktf.stringToTerraform)(this._subnets), tags: cdktf.hashMapper(cdktf.anyToTerraform)(this._tags), tags_all: cdktf.hashMapper(cdktf.anyToTerraform)(this._tagsAll), access_logs: elbAccessLogsToTerraform(this._accessLogs.internalValue), health_check: elbHealthCheckToTerraform(this._healthCheck.internalValue), listener: cdktf.listMapper(elbListenerToTerraform)(this._listener), }; } }