

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

# AWS::AuditManager::Assessment AWSService
<a name="aws-properties-auditmanager-assessment-awsservice"></a>

The `AWSService` property type specifies an Amazon Web Services service such as Amazon S3, Amazon CloudTrail, and so on.

## Syntax
<a name="aws-properties-auditmanager-assessment-awsservice-syntax"></a>

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

### JSON
<a name="aws-properties-auditmanager-assessment-awsservice-syntax.json"></a>

```
{
  "[ServiceName](#cfn-auditmanager-assessment-awsservice-servicename)" : {{String}}
}
```

### YAML
<a name="aws-properties-auditmanager-assessment-awsservice-syntax.yaml"></a>

```
  [ServiceName](#cfn-auditmanager-assessment-awsservice-servicename): {{String}}
```

## Properties
<a name="aws-properties-auditmanager-assessment-awsservice-properties"></a>

`ServiceName`  <a name="cfn-auditmanager-assessment-awsservice-servicename"></a>
 The name of the Amazon Web Services service.   
*Required*: No  
*Type*: String  
*Pattern*: `^[a-zA-Z0-9-\s().]+$`  
*Minimum*: `1`  
*Maximum*: `40`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## See also
<a name="aws-properties-auditmanager-assessment-awsservice--seealso"></a>
+ [AWSService](https://docs.amazonaws.cn/audit-manager/latest/APIReference/API_AWSService.html) in the *Amazon Audit Manager API Reference*.

