Resource: awsDevicefarmNetworkProfile
Provides a resource to manage AWS Device Farm Network Profiles. ∂ \~> NOTE: AWS currently has limited regional support for Device Farm (e.g., usWest2
). See AWS Device Farm endpoints and quotas for information on supported regions.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const awsDevicefarmProjectExample = new aws.devicefarmProject.DevicefarmProject(
this,
"example",
{
name: "example",
}
);
const awsDevicefarmNetworkProfileExample =
new aws.devicefarmNetworkProfile.DevicefarmNetworkProfile(this, "example_1", {
name: "example",
projectArn: awsDevicefarmProjectExample.arn,
});
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
awsDevicefarmNetworkProfileExample.overrideLogicalId("example");
Argument Reference
description
- (Optional) The description of the network profile.downlinkBandwidthBits
- (Optional) The data throughput rate in bits per second, as an integer from0
to104857600
. Default value is104857600
.downlinkDelayMs
- (Optional) Delay time for all packets to destination in milliseconds as an integer from0
to2000
.downlinkJitterMs
- (Optional) Time variation in the delay of received packets in milliseconds as an integer from0
to2000
.downlinkLossPercent
- (Optional) Proportion of received packets that fail to arrive from0
to100
percent.name
- (Required) The name for the network profile.uplinkBandwidthBits
- (Optional) The data throughput rate in bits per second, as an integer from0
to104857600
. Default value is104857600
.uplinkDelayMs
- (Optional) Delay time for all packets to destination in milliseconds as an integer from0
to2000
.uplinkJitterMs
- (Optional) Time variation in the delay of received packets in milliseconds as an integer from0
to2000
.uplinkLossPercent
- (Optional) Proportion of received packets that fail to arrive from0
to100
percent.projectArn
- (Required) The ARN of the project for the network profile.type
- (Optional) The type of network profile to create. Valid values are listed areprivate
andcurated
.tags
- (Optional) A map of tags to assign to the resource. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- The Amazon Resource Name of this network profile.tagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
DeviceFarm Network Profiles can be imported by their arn: