Class CfnDevicePool
Represents a request to the create device pool operation.
Inherited Members
Namespace: Amazon.CDK.AWS.DeviceFarm
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDevicePool : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnDevicePool
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::DeviceFarm::DevicePool
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 cfnDevicePool = new CfnDevicePool(this, "MyCfnDevicePool", new CfnDevicePoolProps {
Name = "name",
ProjectArn = "projectArn",
Rules = new [] { new RuleProperty {
Attribute = "attribute",
Operator = "operator",
Value = "value"
} },
// the properties below are optional
Description = "description",
MaxDevices = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnDevicePool(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDevicePool(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnDevicePool(Construct, String, ICfnDevicePoolProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the device pool. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The device pool's description. |
MaxDevices | The number of devices that Device Farm can add to your device pool. |
Name | The device pool's name. |
ProjectArn | The ARN of the project for the device pool. |
Rules | The device pool's rules. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDevicePool(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDevicePool(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDevicePool(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDevicePool(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnDevicePool(Construct, String, ICfnDevicePoolProps)
public CfnDevicePool(Construct scope, string id, ICfnDevicePoolProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnDevicePoolProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the device pool.
public virtual string AttrArn { get; }
Property Value
System.String
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The device pool's description.
public virtual string Description { get; set; }
Property Value
System.String
MaxDevices
The number of devices that Device Farm can add to your device pool.
public virtual Nullable<double> MaxDevices { get; set; }
Property Value
System.Nullable<System.Double>
Name
The device pool's name.
public virtual string Name { get; set; }
Property Value
System.String
ProjectArn
The ARN of the project for the device pool.
public virtual string ProjectArn { get; set; }
Property Value
System.String
Rules
The device pool's rules.
public virtual object Rules { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>