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
CfnProject(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnProject(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnProject(Construct, String, ICfnProjectProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the project. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DefaultJobTimeoutMinutes | 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. |
TagsRaw | The tags to add to the resource. |
VpcConfig | The VPC security groups and subnets that are attached to a project. |
Methods
Inspect(TreeInspector) | 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.ByRefValue
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.DeputyBase.DeputyProps
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 ICfnProjectProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the project.
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
DefaultJobTimeoutMinutes
Sets the execution timeout value (in minutes) for a project.
public virtual Nullable<double> DefaultJobTimeoutMinutes { get; set; }
Property Value
System.Nullable<System.Double>
Name
The project's name.
public virtual string Name { get; set; }
Property Value
System.String
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
ICfnTag[]
VpcConfig
The VPC security groups and subnets that are attached to a project.
public virtual object VpcConfig { get; set; }
Property Value
System.Object
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>