import * as core from "@terrascript/core"; export interface NetworkProfileArgs extends core.ResourceArgs { /** * (Optional) The description of the network profile. */ description?: string | core.StringOut; /** * (Optional) The data throughput rate in bits per second, as an integer from `0` to `104857600`. Defau * lt value is `104857600`. */ downlinkBandwidthBits?: number | core.NumberOut; /** * (Optional) Delay time for all packets to destination in milliseconds as an integer from `0` to `2000 * . */ downlinkDelayMs?: number | core.NumberOut; /** * (Optional) Time variation in the delay of received packets in milliseconds as an integer from `0` to * 2000`. */ downlinkJitterMs?: number | core.NumberOut; /** * (Optional) Proportion of received packets that fail to arrive from `0` to `100` percent. */ downlinkLossPercent?: number | core.NumberOut; /** * (Required) The name for the network profile. */ name: string | core.StringOut; /** * (Required) The ARN of the project for the network profile. */ projectArn: 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; /** * (Optional) The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED * . */ type?: string | core.StringOut; /** * (Optional) The data throughput rate in bits per second, as an integer from `0` to `104857600`. Defau * lt value is `104857600`. */ uplinkBandwidthBits?: number | core.NumberOut; /** * (Optional) Delay time for all packets to destination in milliseconds as an integer from `0` to `2000 * . */ uplinkDelayMs?: number | core.NumberOut; /** * (Optional) Time variation in the delay of received packets in milliseconds as an integer from `0` to * 2000`. */ uplinkJitterMs?: number | core.NumberOut; /** * (Optional) Proportion of received packets that fail to arrive from `0` to `100` percent. */ uplinkLossPercent?: number | core.NumberOut; } export class NetworkProfile extends core.Resource { /** * The Amazon Resource Name of this network profile. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) The description of the network profile. */ @core.attr(String) public description?: string | core.StringOut; /** * (Optional) The data throughput rate in bits per second, as an integer from `0` to `104857600`. Defau * lt value is `104857600`. */ @core.attr(Number) public downlinkBandwidthBits?: number | core.NumberOut; /** * (Optional) Delay time for all packets to destination in milliseconds as an integer from `0` to `2000 * . */ @core.attr(Number) public downlinkDelayMs?: number | core.NumberOut; /** * (Optional) Time variation in the delay of received packets in milliseconds as an integer from `0` to * 2000`. */ @core.attr(Number) public downlinkJitterMs?: number | core.NumberOut; /** * (Optional) Proportion of received packets that fail to arrive from `0` to `100` percent. */ @core.attr(Number) public downlinkLossPercent?: number | core.NumberOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name for the network profile. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) The ARN of the project for the network profile. */ @core.attr(String) public projectArn!: 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; /** * (Optional) The type of network profile to create. Valid values are listed are `PRIVATE` and `CURATED * . */ @core.attr(String) public type?: string | core.StringOut; /** * (Optional) The data throughput rate in bits per second, as an integer from `0` to `104857600`. Defau * lt value is `104857600`. */ @core.attr(Number) public uplinkBandwidthBits?: number | core.NumberOut; /** * (Optional) Delay time for all packets to destination in milliseconds as an integer from `0` to `2000 * . */ @core.attr(Number) public uplinkDelayMs?: number | core.NumberOut; /** * (Optional) Time variation in the delay of received packets in milliseconds as an integer from `0` to * 2000`. */ @core.attr(Number) public uplinkJitterMs?: number | core.NumberOut; /** * (Optional) Proportion of received packets that fail to arrive from `0` to `100` percent. */ @core.attr(Number) public uplinkLossPercent?: number | core.NumberOut; constructor(name: string, args?: NetworkProfileArgs) { super(name, "aws_devicefarm_network_profile", args); } public override getNamespace(): string { return "aws_devicefarm"; } }