

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::Connect::View
<a name="aws-resource-connect-view"></a>

Creates a customer-managed view in the published state within the specified instance.

## Syntax
<a name="aws-resource-connect-view-syntax"></a>

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

### JSON
<a name="aws-resource-connect-view-syntax.json"></a>

```
{
  "Type" : "AWS::Connect::View",
  "Properties" : {
      "[Actions](#cfn-connect-view-actions)" : [ String, ... ],
      "[Description](#cfn-connect-view-description)" : String,
      "[InstanceArn](#cfn-connect-view-instancearn)" : String,
      "[Name](#cfn-connect-view-name)" : String,
      "[Tags](#cfn-connect-view-tags)" : [ Tag, ... ],
      "[Template](#cfn-connect-view-template)" : Json
    }
}
```

### YAML
<a name="aws-resource-connect-view-syntax.yaml"></a>

```
Type: AWS::Connect::View
Properties:
  [Actions](#cfn-connect-view-actions): 
    - String
  [Description](#cfn-connect-view-description): String
  [InstanceArn](#cfn-connect-view-instancearn): String
  [Name](#cfn-connect-view-name): String
  [Tags](#cfn-connect-view-tags): 
    - Tag
  [Template](#cfn-connect-view-template): Json
```

## Properties
<a name="aws-resource-connect-view-properties"></a>

`Actions`  <a name="cfn-connect-view-actions"></a>
A list of actions possible from the view.  
*Required*: Yes  
*Type*: Array of String  
*Minimum*: `1`  
*Maximum*: `255 | 1000`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Description`  <a name="cfn-connect-view-description"></a>
The description of the view.  
*Required*: No  
*Type*: String  
*Pattern*: `^([\p{L}\p{N}_.:\/=+\-@,]+[\p{L}\p{Z}\p{N}_.:\/=+\-@,]*)$`  
*Minimum*: `0`  
*Maximum*: `4096`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InstanceArn`  <a name="cfn-connect-view-instancearn"></a>
The Amazon Resource Name (ARN) of the instance.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$`  
*Minimum*: `1`  
*Maximum*: `100`  
*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-connect-view-name"></a>
The name of the view.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([\p{L}\p{N}_.:\/=+\-@]+[\p{L}\p{Z}\p{N}_.:\/=+\-@]*)$`  
*Minimum*: `1`  
*Maximum*: `512`  
*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-connect-view-tags"></a>
The tags associated with the view resource (not specific to view version).  
*Required*: No  
*Type*: Array of [Tag](aws-properties-connect-view-tag.md)  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Template`  <a name="cfn-connect-view-template"></a>
The view template representing the structure of the view.  
*Required*: Yes  
*Type*: Json  
*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-connect-view-return-values"></a>

### Ref
<a name="aws-resource-connect-view-return-values-ref"></a>

### Fn::GetAtt
<a name="aws-resource-connect-view-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-connect-view-return-values-fn--getatt-fn--getatt"></a>

`ViewArn`  <a name="ViewArn-fn::getatt"></a>
The unqualified Amazon Resource Name (ARN) of the view.  
For example:  

```
arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000
```

`ViewContentSha256`  <a name="ViewContentSha256-fn::getatt"></a>
Indicates the checksum value of the latest published view content.

`ViewId`  <a name="ViewId-fn::getatt"></a>
The identifier of the view.

# AWS::Connect::View Tag
<a name="aws-properties-connect-view-tag"></a>

A key-value pair to associate with a resource.

## Syntax
<a name="aws-properties-connect-view-tag-syntax"></a>

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

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

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

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

```
  [Key](#cfn-connect-view-tag-key): String
  [Value](#cfn-connect-view-tag-value): String
```

## Properties
<a name="aws-properties-connect-view-tag-properties"></a>

`Key`  <a name="cfn-connect-view-tag-key"></a>
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, \$1, ., /, =, \$1, and -  
*Required*: Yes  
*Type*: String  
*Pattern*: `^(?!aws:)[a-zA-Z+-=._:/]+$`  
*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-connect-view-tag-value"></a>
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, \$1, ., /, =, \$1, and -  
*Required*: Yes  
*Type*: String  
*Maximum*: `256`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)