import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::Transfer::User</code> resource creates a user and associates them with an existing server. You can only create and associate users with servers that have the <code>IdentityProviderType</code> set to <code>SERVICE_MANAGED</code>. Using parameters for <code>CreateUser</code>, you can specify the user name, set the home directory, store the user’s public key, and assign the user’s AWS Identity and Access Management (IAM) role. You can also optionally add a session policy, and assign metadata with tags that can be used to group and search for users.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html">the AWS Docs</a>
*/
export function user(userProps) {
    return new AwsResource('AWS::Transfer::User', userProps, { ServerId: 'ServerId', UserName: 'UserName', Arn: 'Arn' });
}
