

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::DeviceFarm::TestGridProject
<a name="aws-resource-devicefarm-testgridproject"></a>

A Selenium testing project. Projects are used to collect and collate sessions.

## Syntax
<a name="aws-resource-devicefarm-testgridproject-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-resource-devicefarm-testgridproject-syntax.json"></a>

```
{
  "Type" : "AWS::DeviceFarm::TestGridProject",
  "Properties" : {
      "[Description](#cfn-devicefarm-testgridproject-description)" : String,
      "[Name](#cfn-devicefarm-testgridproject-name)" : String,
      "[Tags](#cfn-devicefarm-testgridproject-tags)" : [ Tag, ... ],
      "[VpcConfig](#cfn-devicefarm-testgridproject-vpcconfig)" : VpcConfig
    }
}
```

### YAML
<a name="aws-resource-devicefarm-testgridproject-syntax.yaml"></a>

```
Type: AWS::DeviceFarm::TestGridProject
Properties:
  [Description](#cfn-devicefarm-testgridproject-description): String
  [Name](#cfn-devicefarm-testgridproject-name): String
  [Tags](#cfn-devicefarm-testgridproject-tags): 
    - Tag
  [VpcConfig](#cfn-devicefarm-testgridproject-vpcconfig): 
    VpcConfig
```

## Properties
<a name="aws-resource-devicefarm-testgridproject-properties"></a>

`Description`  <a name="cfn-devicefarm-testgridproject-description"></a>
A human-readable description for the project.  
*Required*: No  
*Type*: String  
*Pattern*: `.*\S.*`  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Name`  <a name="cfn-devicefarm-testgridproject-name"></a>
A human-readable name for the project.  
*Required*: Yes  
*Type*: String  
*Pattern*: `.*\S.*`  
*Minimum*: `1`  
*Maximum*: `64`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Tags`  <a name="cfn-devicefarm-testgridproject-tags"></a>
An array of key-value pairs to apply to this resource.  
For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *AWS CloudFormation guide*.  
*Required*: No  
*Type*: Array of [Tag](aws-properties-devicefarm-testgridproject-tag.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VpcConfig`  <a name="cfn-devicefarm-testgridproject-vpcconfig"></a>
The VPC security groups and subnets that are attached to a project.  
*Required*: No  
*Type*: [VpcConfig](aws-properties-devicefarm-testgridproject-vpcconfig.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## Return values
<a name="aws-resource-devicefarm-testgridproject-return-values"></a>

### Ref
<a name="aws-resource-devicefarm-testgridproject-return-values-ref"></a>

Not supported for this resource.

### Fn::GetAtt
<a name="aws-resource-devicefarm-testgridproject-return-values-fn--getatt"></a>

The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the `Fn::GetAtt` intrinsic function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-getatt.html).

#### 
<a name="aws-resource-devicefarm-testgridproject-return-values-fn--getatt-fn--getatt"></a>

`Arn`  <a name="Arn-fn::getatt"></a>
The Amazon Resource Name (ARN) of the `TestGrid` project. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide*.

# AWS::DeviceFarm::TestGridProject Tag
<a name="aws-properties-devicefarm-testgridproject-tag"></a>

The metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters. 

## Syntax
<a name="aws-properties-devicefarm-testgridproject-tag-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-devicefarm-testgridproject-tag-syntax.json"></a>

```
{
  "[Key](#cfn-devicefarm-testgridproject-tag-key)" : String,
  "[Value](#cfn-devicefarm-testgridproject-tag-value)" : String
}
```

### YAML
<a name="aws-properties-devicefarm-testgridproject-tag-syntax.yaml"></a>

```
  [Key](#cfn-devicefarm-testgridproject-tag-key): String
  [Value](#cfn-devicefarm-testgridproject-tag-value): String
```

## Properties
<a name="aws-properties-devicefarm-testgridproject-tag-properties"></a>

`Key`  <a name="cfn-devicefarm-testgridproject-tag-key"></a>
One part of a key-value pair that makes up a tag. A `key` is a general label that acts like a category for more specific tag values.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Value`  <a name="cfn-devicefarm-testgridproject-tag-value"></a>
The optional part of a key-value pair that makes up a tag. A `value` acts as a descriptor in a tag category (key).  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

# AWS::DeviceFarm::TestGridProject VpcConfig
<a name="aws-properties-devicefarm-testgridproject-vpcconfig"></a>

The VPC security groups and subnets attached to the `TestGrid` project.

## Syntax
<a name="aws-properties-devicefarm-testgridproject-vpcconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-devicefarm-testgridproject-vpcconfig-syntax.json"></a>

```
{
  "[SecurityGroupIds](#cfn-devicefarm-testgridproject-vpcconfig-securitygroupids)" : [ String, ... ],
  "[SubnetIds](#cfn-devicefarm-testgridproject-vpcconfig-subnetids)" : [ String, ... ],
  "[VpcId](#cfn-devicefarm-testgridproject-vpcconfig-vpcid)" : String
}
```

### YAML
<a name="aws-properties-devicefarm-testgridproject-vpcconfig-syntax.yaml"></a>

```
  [SecurityGroupIds](#cfn-devicefarm-testgridproject-vpcconfig-securitygroupids): 
    - String
  [SubnetIds](#cfn-devicefarm-testgridproject-vpcconfig-subnetids): 
    - String
  [VpcId](#cfn-devicefarm-testgridproject-vpcconfig-vpcid): String
```

## Properties
<a name="aws-properties-devicefarm-testgridproject-vpcconfig-properties"></a>

`SecurityGroupIds`  <a name="cfn-devicefarm-testgridproject-vpcconfig-securitygroupids"></a>
A list of VPC security group IDs.  
A security group allows inbound traffic from network interfaces (and their associated instances) that are assigned to the same security group. See [Security groups](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) in the *Amazon Virtual Private Cloud user guide*.  
*Required*: Yes  
*Type*: Array of String  
*Minimum*: `1 | 1`  
*Maximum*: `4096 | 5`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SubnetIds`  <a name="cfn-devicefarm-testgridproject-vpcconfig-subnetids"></a>
A list of VPC subnet IDs.  
A subnet is a range of IP addresses in your VPC. You can launch Amazon resources, such as EC2 instances, into a specific subnet. When you create a subnet, you specify the IPv4 CIDR block for the subnet, which is a subset of the VPC CIDR block. See [VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the *Amazon Virtual Private Cloud user guide*.   
*Required*: Yes  
*Type*: Array of String  
*Minimum*: `1 | 1`  
*Maximum*: `4096 | 8`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VpcId`  <a name="cfn-devicefarm-testgridproject-vpcconfig-vpcid"></a>
A list of VPC IDs.  
Each VPC is given a unique ID upon creation.  
*Required*: Yes  
*Type*: String  
*Pattern*: `.*\S.*`  
*Minimum*: `1`  
*Maximum*: `4096`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)