CfnNetworkProfileProps
Struct External
Properties for defining a CfnNetworkProfile.
| Source | |
|---|---|
| Type last changed |
Example
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
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
// 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();
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
// 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
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the network profile.
downlinkBandwidthBitsoptionalnumberdownlink_bandwidth_bitsoptionalint | floatdownlinkBandwidthBitsoptionalNumberDownlinkBandwidthBitsoptionaldoubleDownlinkBandwidthBitsoptional*float64 #The data throughput rate in bits per second, as an integer from 0 to 104857600.
downlinkDelayMsoptionalnumberdownlink_delay_msoptionalint | floatdownlinkDelayMsoptionalNumberDownlinkDelayMsoptionaldoubleDownlinkDelayMsoptional*float64 #Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
downlinkJitterMsoptionalnumberdownlink_jitter_msoptionalint | floatdownlinkJitterMsoptionalNumberDownlinkJitterMsoptionaldoubleDownlinkJitterMsoptional*float64 #Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
downlinkLossPercentoptionalnumberdownlink_loss_percentoptionalint | floatdownlinkLossPercentoptionalNumberDownlinkLossPercentoptionaldoubleDownlinkLossPercentoptional*float64 #Proportion of received packets that fail to arrive from 0 to 100 percent.
The name of the network profile.
The Amazon Resource Name (ARN) of the specified project.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
uplinkBandwidthBitsoptionalnumberuplink_bandwidth_bitsoptionalint | floatuplinkBandwidthBitsoptionalNumberUplinkBandwidthBitsoptionaldoubleUplinkBandwidthBitsoptional*float64 #The data throughput rate in bits per second, as an integer from 0 to 104857600.
uplinkDelayMsoptionalnumberuplink_delay_msoptionalint | floatuplinkDelayMsoptionalNumberUplinkDelayMsoptionaldoubleUplinkDelayMsoptional*float64 #Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
uplinkJitterMsoptionalnumberuplink_jitter_msoptionalint | floatuplinkJitterMsoptionalNumberUplinkJitterMsoptionaldoubleUplinkJitterMsoptional*float64 #Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
uplinkLossPercentoptionalnumberuplink_loss_percentoptionalint | floatuplinkLossPercentoptionalNumberUplinkLossPercentoptionaldoubleUplinkLossPercentoptional*float64 #Proportion of transmitted packets that fail to arrive from 0 to 100 percent.