import * as core from "@terrascript/core"; export interface PhysicalConnectionRequirementsArgs extends core.SchemaArgs { availabilityZone: string | core.StringOut; securityGroupIdList: core.Array | core.ArrayOut; subnetId: string | core.StringOut; } export class PhysicalConnectionRequirements extends core.Schema { @core.attr(String, { computed: true }) public availabilityZone!: string | core.StringOut; @core.attr(String, { computed: true, kind: "array" }) public securityGroupIdList!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public subnetId!: string | core.StringOut; } export interface DsConnectionArgs { /** * (Required) A concatenation of the catalog ID and connection name. For example, if your account ID is */ id: string | core.StringOut; /** * The tags assigned to the resource */ tags?: core.Map | core.MapOut; } export class DsConnection extends core.Data { /** * The ARN of the Glue Connection. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The catalog ID of the Glue Connection. */ @core.attr(String, { computed: true }) public catalogId!: string | core.StringOut; @core.attr(String, { computed: true, kind: "map" }) public connectionProperties!: | core.Map | core.MapOut; /** * The type of Glue Connection. */ @core.attr(String, { computed: true }) public connectionType!: string | core.StringOut; @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * (Required) A concatenation of the catalog ID and connection name. For example, if your account ID is */ @core.attr(String) public id!: string | core.StringOut; @core.attr(String, { computed: true, kind: "array" }) public matchCriteria!: core.Array | core.ArrayOut; /** * The name of the Glue Connection. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * A map of physical connection requirements, such as VPC and SecurityGroup. */ @core.attr(PhysicalConnectionRequirements, { computed: true, kind: "array" }) public physicalConnectionRequirements!: | core.Array | core.ArrayOut; /** * The tags assigned to the resource */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsConnectionArgs) { super(name, "aws_glue_connection", args); } public override getNamespace(): string { return "aws_glue"; } }