import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type AccessKeyAttributes = {
    SecretAccessKey: Attribute<string>;
};
export type AccessKey = AwsResource<'AWS::IAM::AccessKey', AccessKeyProperties, AccessKeyAttributes>;
/**
  Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is <code>Active</code>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html">the AWS Docs</a>
*/
export declare function accessKey(accessKeyProps: AccessKeyProperties): AccessKey;
/**
  Creates a new AWS secret access key and corresponding AWS access key ID for the specified user. The default status for new keys is <code>Active</code>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html">the AWS Docs</a>
*/
export interface AccessKeyProperties {
    /** <code>Serial</code>  <a name="cfn-iam-accesskey-serial"></a>
  This value is specific to CloudFormation and can only be
  incremented: Incrementing this value notifies CloudFormation that you want to rotate your access key. When you update your stack, CloudFormation will replace the existing access key with a new key.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    serial?: Value<number>;
    /** <code>Status</code>  <a name="cfn-iam-accesskey-status"></a>
  The status of the access key. <code>Active</code> means that the key is valid for API calls, while <code>Inactive</code> means it is not.<br />
  
  Required: No<br />
  
  Allowed values: <code>Active | Inactive</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    status?: Value<'Active' | 'Inactive'>;
    /** <code>UserName</code>  <a name="cfn-iam-accesskey-username"></a>
  The name of the IAM user that the new key will belong to.<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> */
    userName: Value<string>;
}
