Class CfnNetworkProfile
Creates a network profile.
Inherited Members
Namespace: Amazon.CDK.AWS.DeviceFarm
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNetworkProfile : CfnResource, IInspectable, INetworkProfileRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnNetworkProfile Inherits CfnResource Implements IInspectable, INetworkProfileRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
Examples
// 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 cfnNetworkProfile = new CfnNetworkProfile(this, "MyCfnNetworkProfile", 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
});
Synopsis
Constructors
| CfnNetworkProfile(Construct, string, ICfnNetworkProfileProps) | Create a new |
Properties
| AttrArn | The Amazon Resource Name (ARN) of the network profile. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Creates a network profile. |
| Description | The description of the network profile. |
| DownlinkBandwidthBits | The data throughput rate in bits per second, as an integer from 0 to 104857600. |
| DownlinkDelayMs | Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. |
| DownlinkJitterMs | Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. |
| DownlinkLossPercent | Proportion of received packets that fail to arrive from 0 to 100 percent. |
| Name | The name of the network profile. |
| NetworkProfileRef | A reference to a NetworkProfile resource. |
| ProjectArn | The Amazon Resource Name (ARN) of the specified project. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | An array of key-value pairs to apply to this resource. |
| UplinkBandwidthBits | The data throughput rate in bits per second, as an integer from 0 to 104857600. |
| UplinkDelayMs | Delay time for all packets to destination in milliseconds as an integer from 0 to 2000. |
| UplinkJitterMs | Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000. |
| UplinkLossPercent | Proportion of transmitted packets that fail to arrive from 0 to 100 percent. |
Methods
| ArnForNetworkProfile(INetworkProfileRef) | Creates a network profile. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnNetworkProfile(object) | Checks whether the given object is a CfnNetworkProfile. |
| RenderProperties(IDictionary<string, object>) | Creates a network profile. |
Constructors
CfnNetworkProfile(Construct, string, ICfnNetworkProfileProps)
Create a new AWS::DeviceFarm::NetworkProfile.
public CfnNetworkProfile(Construct scope, string id, ICfnNetworkProfileProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnNetworkProfileProps
Resource properties.
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
Properties
AttrArn
The Amazon Resource Name (ARN) of the network profile.
public virtual string AttrArn { get; }
Property Value
Remarks
See Amazon resource names in the General Reference guide .
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
CfnProperties
Creates a network profile.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
Description
The description of the network profile.
public virtual string? Description { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
DownlinkBandwidthBits
The data throughput rate in bits per second, as an integer from 0 to 104857600.
public virtual double? DownlinkBandwidthBits { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
DownlinkDelayMs
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
public virtual double? DownlinkDelayMs { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
DownlinkJitterMs
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
public virtual double? DownlinkJitterMs { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
DownlinkLossPercent
Proportion of received packets that fail to arrive from 0 to 100 percent.
public virtual double? DownlinkLossPercent { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
Name
The name of the network profile.
public virtual string Name { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
NetworkProfileRef
A reference to a NetworkProfile resource.
public virtual INetworkProfileReference NetworkProfileRef { get; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
ProjectArn
The Amazon Resource Name (ARN) of the specified project.
public virtual string ProjectArn { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
UplinkBandwidthBits
The data throughput rate in bits per second, as an integer from 0 to 104857600.
public virtual double? UplinkBandwidthBits { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
UplinkDelayMs
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
public virtual double? UplinkDelayMs { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
UplinkJitterMs
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
public virtual double? UplinkJitterMs { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
UplinkLossPercent
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
public virtual double? UplinkLossPercent { get; set; }
Property Value
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
Methods
ArnForNetworkProfile(INetworkProfileRef)
Creates a network profile.
public static string ArnForNetworkProfile(INetworkProfileRef resource)
Parameters
- resource INetworkProfileRef
Returns
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
Examples
// 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 cfnNetworkProfile = new CfnNetworkProfile(this, "MyCfnNetworkProfile", 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
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
IsCfnNetworkProfile(object)
Checks whether the given object is a CfnNetworkProfile.
public static bool IsCfnNetworkProfile(object x)
Parameters
- x object
Returns
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a network profile.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::DeviceFarm::NetworkProfile
ExampleMetadata: fixture=_generated