Class CfnProject
Creates a project.
Inherited Members
Namespace: Amazon.CDK.AWS.DeviceFarm
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProject : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnProject
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-project.html
CloudformationResource: AWS::DeviceFarm::Project
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 cfnProject = new CfnProject(this, "MyCfnProject", new CfnProjectProps {
Name = "name",
// the properties below are optional
DefaultJobTimeoutMinutes = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VpcConfig = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
VpcId = "vpcId"
}
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The Amazon Resource Name (ARN) of the project. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Default |
Sets the execution timeout value (in minutes) for a project. |
Name | The project's name. |
Tags | Tag Manager which manages the tags for this resource. |
Tags |
The tags to add to the resource. |
Vpc |
The VPC security groups and subnets that are attached to a project. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnProject(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnProject(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnProject(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnProject(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnProject(Construct, String, ICfnProjectProps)
public CfnProject(Construct scope, string id, ICfnProjectProps 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 ICfn
Project Props Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the project.
public virtual string AttrArn { get; }
Property Value
System.
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.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
DefaultJobTimeoutMinutes
Sets the execution timeout value (in minutes) for a project.
public virtual Nullable<double> DefaultJobTimeoutMinutes { get; set; }
Property Value
System.
Name
The project's name.
public virtual string Name { get; set; }
Property Value
System.
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags to add to the resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfn
VpcConfig
The VPC security groups and subnets that are attached to a project.
public virtual object VpcConfig { get; set; }
Property Value
System.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector 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. <System.Generic. IDictionary String , System.Object >
Returns
System.