import { Value } from '../../cloudformation/Value';
import { PolicyDocument } from '../../cloudformation/iam/PolicyDocument';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Adds or updates an inline policy document that is embedded in the specified IAM role.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-rolepolicy.html">the AWS Docs</a>
*/
export type RolePolicy = AwsResource<'AWS::IAM::RolePolicy', RolePolicyProperties>;
export declare function rolePolicy(rolePolicyProps: RolePolicyProperties): RolePolicy;
/**
  Adds or updates an inline policy document that is embedded in the specified IAM role.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-rolepolicy.html">the AWS Docs</a>
*/
export interface RolePolicyProperties {
    /** <code>RoleName</code>  <a name="cfn-iam-rolepolicy-rolename"></a>
  The name of the role to associate the policy with.<br />
  This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>64</code><br />
  
  Pattern: <code>[\w+=,.@-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    roleName: Value<string>;
    /** <code>PolicyName</code>  <a name="cfn-iam-rolepolicy-policyname"></a>
  The name of the policy document.<br />
  This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>[\w+=,.@-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    policyName: Value<string>;
    /** <p> */
    policyDocument?: Value<PolicyDocument>;
}
