

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::Config::ConformancePack Source

Provides the CustomPolicyDetails, the rule owner (` Amazon ` for managed rules, `CUSTOM_POLICY` for Custom Policy rules, and `CUSTOM_LAMBDA` for Custom Lambda rules), the rule identifier, and the events that cause the evaluation of your Amazon resources.

## Syntax
<a name="aws-properties-config-conformancepack-source-syntax"></a>

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

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

```json
{
  "[SourceIdentifier](#cfn-config-conformancepack-source-sourceidentifier)" : {{String}}
}
```

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

```yaml
  [SourceIdentifier](#cfn-config-conformancepack-source-sourceidentifier): {{String}}
```

## Properties
<a name="aws-properties-config-conformancepack-source-properties"></a>

`SourceIdentifier`  <a name="cfn-config-conformancepack-source-sourceidentifier"></a>
For Amazon Config Managed rules, a predefined identifier from a list. For example, `IAM_PASSWORD_POLICY` is a managed rule. To reference a managed rule, see [List of Amazon Config Managed Rules](https://docs.amazonaws.cn/config/latest/developerguide/managed-rules-by-aws-config.html).  
For Amazon Config Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's Amazon Lambda function, such as `arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name`.  
For Amazon Config Custom Policy rules, this field will be ignored.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `256`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)