

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::RolesAnywhere::TrustAnchor Source
<a name="aws-properties-rolesanywhere-trustanchor-source"></a>

 Object representing the TrustAnchor type and its related certificate data.

## Syntax
<a name="aws-properties-rolesanywhere-trustanchor-source-syntax"></a>

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

### JSON
<a name="aws-properties-rolesanywhere-trustanchor-source-syntax.json"></a>

```
{
  "[SourceData](#cfn-rolesanywhere-trustanchor-source-sourcedata)" : SourceData,
  "[SourceType](#cfn-rolesanywhere-trustanchor-source-sourcetype)" : String
}
```

### YAML
<a name="aws-properties-rolesanywhere-trustanchor-source-syntax.yaml"></a>

```
  [SourceData](#cfn-rolesanywhere-trustanchor-source-sourcedata): 
    SourceData
  [SourceType](#cfn-rolesanywhere-trustanchor-source-sourcetype): String
```

## Properties
<a name="aws-properties-rolesanywhere-trustanchor-source-properties"></a>

`SourceData`  <a name="cfn-rolesanywhere-trustanchor-source-sourcedata"></a>
 A union object representing the data field of the TrustAnchor depending on its type   
*Required*: Yes  
*Type*: [SourceData](aws-properties-rolesanywhere-trustanchor-sourcedata.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SourceType`  <a name="cfn-rolesanywhere-trustanchor-source-sourcetype"></a>
 The type of the TrustAnchor.   
*Required*: Yes  
*Type*: String  
*Allowed values*: `AWS_ACM_PCA | CERTIFICATE_BUNDLE`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)