// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS Direct Connect */ export interface DataAwsDxLocationsConfig extends cdktf.TerraformMetaArguments { } /** * Represents a {@link https://www.terraform.io/docs/providers/aws/d/dx_locations.html aws_dx_locations} */ export class DataAwsDxLocations extends cdktf.TerraformDataSource { // ================= // STATIC PROPERTIES // ================= public static readonly tfResourceType: string = "aws_dx_locations"; // =========== // INITIALIZER // =========== /** * Create a new {@link https://www.terraform.io/docs/providers/aws/d/dx_locations.html aws_dx_locations} Data Source * * @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 DataAwsDxLocationsConfig = {} */ public constructor(scope: Construct, id: string, config: DataAwsDxLocationsConfig = {}) { super(scope, id, { terraformResourceType: 'aws_dx_locations', terraformGeneratorMetadata: { providerName: 'aws' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle }); } // ========== // ATTRIBUTES // ========== // id - computed: true, optional: true, required: false public get id() { return this.getStringAttribute('id'); } // location_codes - computed: true, optional: false, required: false public get locationCodes() { return this.getListAttribute('location_codes'); } // ========= // SYNTHESIS // ========= protected synthesizeAttributes(): { [name: string]: any } { return { }; } }