# CfnNetworkProfileProps

Struct · External

Properties for defining a `CfnNetworkProfile`.

Used as props by: [CfnNetworkProfile](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_devicefarm.CfnNetworkProfile.html)

- Source: Generated at build time
- Type last changed: v2.63.0 · 31 Jan 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devicefarm as devicefarm } from 'aws-cdk-lib';
const cfnNetworkProfileProps: devicefarm.CfnNetworkProfileProps = {
  name: 'name',
  projectArn: 'projectArn',

  // the properties below are optional
  description: 'description',
  downlinkBandwidthBits: 123,
  downlinkDelayMs: 123,
  downlinkJitterMs: 123,
  downlinkLossPercent: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
  uplinkBandwidthBits: 123,
  uplinkDelayMs: 123,
  uplinkJitterMs: 123,
  uplinkLossPercent: 123,
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devicefarm as devicefarm

cfn_network_profile_props = devicefarm.CfnNetworkProfileProps(
    name="name",
    project_arn="projectArn",

    # the properties below are optional
    description="description",
    downlink_bandwidth_bits=123,
    downlink_delay_ms=123,
    downlink_jitter_ms=123,
    downlink_loss_percent=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    uplink_bandwidth_bits=123,
    uplink_delay_ms=123,
    uplink_jitter_ms=123,
    uplink_loss_percent=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devicefarm.*;

CfnNetworkProfileProps cfnNetworkProfileProps = CfnNetworkProfileProps.builder()
        .name("name")
        .projectArn("projectArn")

        // the properties below are optional
        .description("description")
        .downlinkBandwidthBits(123)
        .downlinkDelayMs(123)
        .downlinkJitterMs(123)
        .downlinkLossPercent(123)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .uplinkBandwidthBits(123)
        .uplinkDelayMs(123)
        .uplinkJitterMs(123)
        .uplinkLossPercent(123)
        .build();
```

C#:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DeviceFarm;

var cfnNetworkProfileProps = new CfnNetworkProfileProps {
    Name = "name",
    ProjectArn = "projectArn",

    // the properties below are optional
    Description = "description",
    DownlinkBandwidthBits = 123,
    DownlinkDelayMs = 123,
    DownlinkJitterMs = 123,
    DownlinkLossPercent = 123,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    UplinkBandwidthBits = 123,
    UplinkDelayMs = 123,
    UplinkJitterMs = 123,
    UplinkLossPercent = 123
};
```

Go:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnNetworkProfileProps := &CfnNetworkProfileProps{
	Name: jsii.String("name"),
	ProjectArn: jsii.String("projectArn"),

	// the properties below are optional
	Description: jsii.String("description"),
	DownlinkBandwidthBits: jsii.Number(123),
	DownlinkDelayMs: jsii.Number(123),
	DownlinkJitterMs: jsii.Number(123),
	DownlinkLossPercent: jsii.Number(123),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	UplinkBandwidthBits: jsii.Number(123),
	UplinkDelayMs: jsii.Number(123),
	UplinkJitterMs: jsii.Number(123),
	UplinkLossPercent: jsii.Number(123),
}
```

## Properties

- `description`: string — The description of the network profile.

- `downlinkBandwidthBits`: number — The data throughput rate in bits per second, as an integer from 0 to 104857600.

- `downlinkDelayMs`: number — Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

- `downlinkJitterMs`: number — Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

- `downlinkLossPercent`: number — Proportion of received packets that fail to arrive from 0 to 100 percent.

- `name`: string (required) — The name of the network profile.

- `projectArn`: string (required) — The Amazon Resource Name (ARN) of the specified project.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *guide* .

- `uplinkBandwidthBits`: number — The data throughput rate in bits per second, as an integer from 0 to 104857600.

- `uplinkDelayMs`: number — Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

- `uplinkJitterMs`: number — Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

- `uplinkLossPercent`: number — Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
