import * as core from "@terrascript/core"; export interface VpcConfigArgs extends core.SchemaArgs { securityGroupIds: core.Array | core.ArrayOut; subnetIds: core.Array | core.ArrayOut; vpcId: string | core.StringOut; } export class VpcConfig extends core.Schema { @core.attr(String, { kind: "array" }) public securityGroupIds!: core.Array | core.ArrayOut; @core.attr(String, { kind: "array" }) public subnetIds!: core.Array | core.ArrayOut; @core.attr(String) public vpcId!: string | core.StringOut; } export interface TestGridProjectArgs extends core.ResourceArgs { /** * (Optional) Human-readable description of the project. */ description?: string | core.StringOut; /** * (Required) The name of the Selenium testing project. */ name: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ 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; /** * (Required) The VPC security groups and subnets that are attached to a project. See [VPC Config](#vpc * config) below. */ vpcConfig?: VpcConfig; } export class TestGridProject extends core.Resource { /** * The Amazon Resource Name of this Test Grid Project. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Human-readable description of the project. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the Selenium testing project. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @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; /** * (Required) The VPC security groups and subnets that are attached to a project. See [VPC Config](#vpc * config) below. */ @core.attr(VpcConfig) public vpcConfig?: VpcConfig; constructor(name: string, args?: TestGridProjectArgs) { super(name, "aws_devicefarm_test_grid_project", args); } public override getNamespace(): string { return "aws_devicefarm"; } }