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) public availabilityZone?: string | core.StringOut; @core.attr(String, { kind: "array" }) public securityGroupIdList?: | core.Array | core.ArrayOut; @core.attr(String) public subnetId?: string | core.StringOut; } export interface ConnectionArgs extends core.ResourceArgs { catalogId?: string | core.StringOut; connectionProperties?: core.Map | core.MapOut; connectionType?: string | core.StringOut; description?: string | core.StringOut; matchCriteria?: core.Array | core.ArrayOut; name: string | core.StringOut; /** * (Optional) A map of physical connection requirements, such as VPC and SecurityGroup. Defined below. */ physicalConnectionRequirements?: PhysicalConnectionRequirements; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Connection extends core.Resource { /** * The ARN of the Glue Connection. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public catalogId?: string | core.StringOut; @core.attr(String, { kind: "map" }) public connectionProperties?: | core.Map | core.MapOut; @core.attr(String) public connectionType?: string | core.StringOut; @core.attr(String) public description?: string | core.StringOut; /** * Catalog ID and name of the connection */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { kind: "array" }) public matchCriteria?: core.Array | core.ArrayOut; @core.attr(String) public name!: string | core.StringOut; /** * (Optional) A map of physical connection requirements, such as VPC and SecurityGroup. Defined below. */ @core.attr(PhysicalConnectionRequirements) public physicalConnectionRequirements?: PhysicalConnectionRequirements; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: ConnectionArgs) { super(name, "aws_glue_connection", args); } public override getNamespace(): string { return "aws_glue"; } }