

# Policy
<a name="API_Policy"></a>

Describes an AWS IoT policy.

## Contents
<a name="API_Policy_Contents"></a>

 ** policyArn **   <a name="iot-Type-Policy-policyArn"></a>
The policy ARN.  
Type: String  
Required: No

 ** policyName **   <a name="iot-Type-Policy-policyName"></a>
The policy name.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[\w+=,.@-]+`   
Required: No

## See Also
<a name="API_Policy_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/iot-2015-05-28/Policy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iot-2015-05-28/Policy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iot-2015-05-28/Policy) 