

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::MediaTailor::SourceLocation SecretsManagerAccessTokenConfiguration
<a name="aws-properties-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration"></a>

Amazon Secrets Manager access token configuration parameters. For information about Secrets Manager access token authentication, see [Working with Amazon Secrets Manager access token authentication](https://docs.amazonaws.cn/mediatailor/latest/ug/channel-assembly-access-configuration-access-token.html).

## Syntax
<a name="aws-properties-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-syntax"></a>

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

### JSON
<a name="aws-properties-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-syntax.json"></a>

```
{
  "[HeaderName](#cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-headername)" : {{String}},
  "[SecretArn](#cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-secretarn)" : {{String}},
  "[SecretStringKey](#cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-secretstringkey)" : {{String}}
}
```

### YAML
<a name="aws-properties-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-syntax.yaml"></a>

```
  [HeaderName](#cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-headername): {{String}}
  [SecretArn](#cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-secretarn): {{String}}
  [SecretStringKey](#cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-secretstringkey): {{
    String}}
```

## Properties
<a name="aws-properties-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-properties"></a>

`HeaderName`  <a name="cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-headername"></a>
The name of the HTTP header used to supply the access token in requests to the source location.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SecretArn`  <a name="cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-secretarn"></a>
The Amazon Resource Name (ARN) of the Amazon Secrets Manager secret that contains the access token.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SecretStringKey`  <a name="cfn-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration-secretstringkey"></a>
The Amazon Secrets Manager[SecretString](https://docs.amazonaws.cn/secretsmanager/latest/apireference/API_CreateSecret.html#SecretsManager-CreateSecret-request-SecretString.html) key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)