CfnProjectProps

class aws_cdk.aws_devicefarm.CfnProjectProps(*, name, default_job_timeout_minutes=None, tags=None, vpc_config=None)

Bases: object

Properties for defining a CfnProject.

Parameters:
  • name (str) – The project’s name.

  • default_job_timeout_minutes (Union[int, float, None]) – Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.

  • vpc_config (Union[IResolvable, VpcConfigProperty, Dict[str, Any], None]) – The VPC security groups and subnets that are attached to a project.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-project.html

ExampleMetadata:

fixture=_generated

Example:

# 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_project_props = devicefarm.CfnProjectProps(
    name="name",

    # the properties below are optional
    default_job_timeout_minutes=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_config=devicefarm.CfnProject.VpcConfigProperty(
        security_group_ids=["securityGroupIds"],
        subnet_ids=["subnetIds"],
        vpc_id="vpcId"
    )
)

Attributes

default_job_timeout_minutes

Sets the execution timeout value (in minutes) for a project.

All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-project.html#cfn-devicefarm-project-defaultjobtimeoutminutes

name

The project’s name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-project.html#cfn-devicefarm-project-name

tags

The tags to add to the resource.

A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-project.html#cfn-devicefarm-project-tags

vpc_config

The VPC security groups and subnets that are attached to a project.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devicefarm-project.html#cfn-devicefarm-project-vpcconfig