",
"LoginProfile": {
"Password": "{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "AWS CloudFormation sample template LAMP_Single_Instance: Create a LAMP stack using a single EC2 instance and a local MySQL database for storage. This template demonstrates using the AWS CloudFormation bootstrap scripts to install the packages and files necessary to deploy the Apache web server, PHP, and MySQL at instance launch time. **WARNING** This template creates an Amazon EC2 instance. You will be billed for the AWS resources used if you create a stack from this template.",
"Resources": {
"IAMUser": {
"Type": "AWS::IAM::User",
"Properties": {
"UserName": "<User Name>",
"LoginProfile": {
"Password": "<Password>"
},
"Tags": [
{
"Key": "Name",
"Value": "<Value>"
}
]
}
},
"UserPolicy": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyName": "<Value>",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "<Action>",
"Resource": "*"
}
]
},
"Users": [{ "Ref": "IAMUser" }]
}
}
}
}