import { Value } from '../../cloudformation/Value';
import { LoginProfileProps } from './user/LoginProfileProps';
import { PolicyProps } from './user/PolicyProps';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type UserAttributes = {
    Arn: Attribute<string>;
};
export type User = AwsResource<'AWS::IAM::User', UserProperties, UserAttributes>;
/**
  Creates a new IAM user for your AWS account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html">the AWS Docs</a>
*/
export declare function user(userProps?: UserProperties): User;
/**
  Creates a new IAM user for your AWS account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html">the AWS Docs</a>
*/
export interface UserProperties {
    /** <code>Groups</code>  <a name="cfn-iam-user-groups"></a>
  A list of group names to which you want to add the user.<br />
  
  Required: No<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> */
    groups?: Value<Value<string>[]>;
    /** <code>LoginProfile</code>  <a name="cfn-iam-user-loginprofile"></a>
  Creates a password for the specified IAM user. A password allows an IAM user to access AWS services through the AWS Management Console.<br />
  You can use the AWS CLI, the AWS API, or the <strong>Users</strong> page in the IAM console to create a password for any IAM user. Use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html">ChangePassword</a> to update your own existing password in the <strong>My Security Credentials</strong> page in the AWS Management Console.<br />
  For more information about managing passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing passwords</a> in the
  IAM User Guide: br />
  
  Required: No<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> */
    loginProfile?: LoginProfileProps;
    /** <code>ManagedPolicyArns</code>  <a name="cfn-iam-user-managepolicyarns"></a>
  A list of Amazon Resource Names (ARNs) of the IAM managed policies that you want to attach to the user.<br />
  For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and AWS Service Namespaces</a> in the
  AWS General Reference: br />
  
  Required: No<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> */
    managedPolicyArns?: Value<Value<string>[]>;
    /** <code>Path</code>  <a name="cfn-iam-user-path"></a>
  The path for the user name. For more information about paths, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM identifiers</a> in the
  IAM User Guide: br />
  This parameter is optional. If it is not included, it defaults to a slash (/).<br />
  This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (<code>\u0021</code>) through the DEL character (<code>\u007F</code>), including most punctuation characters, digits, and upper and lowercased letters.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>(\u002F)|(\u002F[\u0021-\u007E]+\u002F)</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> */
    path?: Value<string>;
    /** <code>PermissionsBoundary</code>  <a name="cfn-iam-user-permissionsboundary"></a>
  The ARN of the managed policy that is used to set the permissions boundary for the user.<br />
  A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM entities</a> in the
  IAM User Guide: br />
  
  Required: No<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> */
    permissionsBoundary?: Value<string>;
    /** <code>Policies</code>  <a name="cfn-iam-user-policies"></a>
  Adds or updates an inline policy document that is embedded in the specified IAM user. To view AWS::IAM::User snippets, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-iam-user">Declaring an IAM User Resource</a>.<br />
  The name of each policy for a role, user, or group must be unique. If you don’t choose unique names, updates to the IAM identity will fail.
  For information about limits on the number of inline policies that you can embed in a user, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html">Limitations on IAM Entities</a> in the
  IAM User Guide: br />
  
  Required: No<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> */
    policies?: PolicyProps[];
    /** <code>Tags</code>  <a name="cfn-iam-user-tags"></a>
  A list of tags that you want to attach to the new user. Each tag consists of a key name and an associated value. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
  IAM User Guide: br />
  If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.
  
  Required: No<br />
  
  Maximum: <code>50</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> */
    tags?: Tag[];
    /** <code>UserName</code>  <a name="cfn-iam-user-username"></a>
  The name of the user to create. Do not include the path in this value.<br />
  This parameter allows (per 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: _+=,.@-. The user name must be unique within the account. User names are not distinguished by case. For example, you cannot create users named both “John” and “john”.<br />
  If you don’t specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the user name.<br />
  If you specify a name, you must specify the <code>CAPABILITY_NAMED_IAM</code> value to acknowledge your template’s capabilities. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities">Acknowledging IAM Resources in AWS CloudFormation Templates</a>.<br />
  Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using <code>Fn::Join</code> and <code>AWS::Region</code> to create a Region-specific name, as in the following example: <code>{&quot;Fn::Join&quot;: [&quot;&quot;, [{&quot;Ref&quot;: &quot;AWS::Region&quot;}, {&quot;Ref&quot;: &quot;MyResourceName&quot;}]]}</code>.
  
  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> */
    userName?: Value<string>;
}
