// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS Route 53 */ export interface Route53RecoverycontrolconfigControlPanelConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/route53recoverycontrolconfig_control_panel.html#cluster_arn Route53RecoverycontrolconfigControlPanel#cluster_arn} */ readonly clusterArn: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/route53recoverycontrolconfig_control_panel.html#name Route53RecoverycontrolconfigControlPanel#name} */ readonly name: string; } /** * Represents a {@link https://www.terraform.io/docs/providers/aws/r/route53recoverycontrolconfig_control_panel.html aws_route53recoverycontrolconfig_control_panel} */ export class Route53RecoverycontrolconfigControlPanel extends cdktf.TerraformResource { // ================= // STATIC PROPERTIES // ================= public static readonly tfResourceType: string = "aws_route53recoverycontrolconfig_control_panel"; // =========== // INITIALIZER // =========== /** * Create a new {@link https://www.terraform.io/docs/providers/aws/r/route53recoverycontrolconfig_control_panel.html aws_route53recoverycontrolconfig_control_panel} 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 Route53RecoverycontrolconfigControlPanelConfig */ public constructor(scope: Construct, id: string, config: Route53RecoverycontrolconfigControlPanelConfig) { super(scope, id, { terraformResourceType: 'aws_route53recoverycontrolconfig_control_panel', terraformGeneratorMetadata: { providerName: 'aws' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle }); this._clusterArn = config.clusterArn; this._name = config.name; } // ========== // ATTRIBUTES // ========== // arn - computed: true, optional: false, required: false public get arn() { return this.getStringAttribute('arn'); } // cluster_arn - computed: false, optional: false, required: true private _clusterArn?: string; public get clusterArn() { return this.getStringAttribute('cluster_arn'); } public set clusterArn(value: string) { this._clusterArn = value; } // Temporarily expose input value. Use with caution. public get clusterArnInput() { return this._clusterArn; } // default_control_panel - computed: true, optional: false, required: false public get defaultControlPanel() { return this.getBooleanAttribute('default_control_panel') as any; } // id - computed: true, optional: true, required: false public get id() { return this.getStringAttribute('id'); } // name - computed: false, optional: false, required: true private _name?: string; public get name() { return this.getStringAttribute('name'); } public set name(value: string) { this._name = value; } // Temporarily expose input value. Use with caution. public get nameInput() { return this._name; } // routing_control_count - computed: true, optional: false, required: false public get routingControlCount() { return this.getNumberAttribute('routing_control_count'); } // status - computed: true, optional: false, required: false public get status() { return this.getStringAttribute('status'); } // ========= // SYNTHESIS // ========= protected synthesizeAttributes(): { [name: string]: any } { return { cluster_arn: cdktf.stringToTerraform(this._clusterArn), name: cdktf.stringToTerraform(this._name), }; } }