CfnProjectMixinProps

class aws_cdk.mixins_preview.aws_devicefarm.mixins.CfnProjectMixinProps(*, default_job_timeout_minutes=None, environment_variables=None, execution_role_arn=None, name=None, tags=None, vpc_config=None)

Bases: object

Properties for CfnProjectPropsMixin.

Parameters:
  • 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.

  • environment_variables (Union[IResolvable, Sequence[Union[IResolvable, EnvironmentVariableProperty, Dict[str, Any]]], None])

  • execution_role_arn (Optional[str])

  • name (Optional[str]) – The project’s name.

  • 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:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_devicefarm import mixins as devicefarm_mixins

cfn_project_mixin_props = devicefarm_mixins.CfnProjectMixinProps(
    default_job_timeout_minutes=123,
    environment_variables=[devicefarm_mixins.CfnProjectPropsMixin.EnvironmentVariableProperty(
        name="name",
        value="value"
    )],
    execution_role_arn="executionRoleArn",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_config=devicefarm_mixins.CfnProjectPropsMixin.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

environment_variables

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

Type:

see

execution_role_arn

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

Type:

see

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