

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::DevOpsAgent::Service ServiceNowServiceDetails
<a name="aws-properties-devopsagent-service-servicenowservicedetails"></a>

Configuration details for registering a ServiceNow service.

## Syntax
<a name="aws-properties-devopsagent-service-servicenowservicedetails-syntax"></a>

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

### JSON
<a name="aws-properties-devopsagent-service-servicenowservicedetails-syntax.json"></a>

```
{
  "[AuthorizationConfig](#cfn-devopsagent-service-servicenowservicedetails-authorizationconfig)" : {{ServiceNowAuthorizationConfig}},
  "[InstanceUrl](#cfn-devopsagent-service-servicenowservicedetails-instanceurl)" : {{String}}
}
```

### YAML
<a name="aws-properties-devopsagent-service-servicenowservicedetails-syntax.yaml"></a>

```
  [AuthorizationConfig](#cfn-devopsagent-service-servicenowservicedetails-authorizationconfig): {{
    ServiceNowAuthorizationConfig}}
  [InstanceUrl](#cfn-devopsagent-service-servicenowservicedetails-instanceurl): {{String}}
```

## Properties
<a name="aws-properties-devopsagent-service-servicenowservicedetails-properties"></a>

`AuthorizationConfig`  <a name="cfn-devopsagent-service-servicenowservicedetails-authorizationconfig"></a>
The authorization configuration for the ServiceNow service.  
*Required*: No  
*Type*: [ServiceNowAuthorizationConfig](aws-properties-devopsagent-service-servicenowauthorizationconfig.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InstanceUrl`  <a name="cfn-devopsagent-service-servicenowservicedetails-instanceurl"></a>
The ServiceNow instance URL. Must be an HTTPS URL matching the format `https://<instance-name>.service-now.com`.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^https://[a-zA-Z0-9-]+\.service-now\.com/?$`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)