Cfn
view release on metacpan or search on metacpan
t/cfn_json/001.json view on Meta::CPAN
"Fn::Join" : [
"",
[
"#!/bin/bash\necho \"hello\"\n"
]
]
}
},
"ImageId" : {
"Ref" : "AMI"
},
"NetworkInterfaces" : [
{
"GroupSet" : [
{
"Ref" : "FrontTestSG"
}
],
"SubnetId" : "subnet-bb876dde",
"AssociatePublicIpAddress" : "true",
"DeviceIndex" : "0"
}
],
"Tags" : [
{
"Value" : "Test #0",
"Key" : "Name"
}
],
"IamInstanceProfile" : {
"Ref" : "FrontTestProfile"
},
"InstanceType" : "m1.small"
}
},
"Test1" : {
"Properties" : {
"NetworkInterfaces" : [
{
"GroupSet" : [
{
"Ref" : "FrontTestSG"
}
],
"DeviceIndex" : "0",
"AssociatePublicIpAddress" : "true",
"SubnetId" : "subnet-a08097d4"
}
],
"Tags" : [
{
"Key" : "Name",
"Value" : "Test #1"
}
],
"UserData" : {
"Fn::Base64" : {
"Fn::Join" : [
"",
[
"#!/bin/bash\necho \"code ALL=(ALL) NOPASSWD:ALL\" > /etc/sudoers.d/code\nchmod 440 /etc/sudoers.d/code\napt-get install -y git htop\n"
]
]
}
},
"ImageId" : {
"Ref" : "AMI"
},
"IamInstanceProfile" : {
"Ref" : "FrontTestProfile"
},
"InstanceType" : "m1.small"
},
"Type" : "AWS::EC2::Instance"
},
"MySQLRDSTestSubnetGroup" : {
"Properties" : {
"DBSubnetGroupDescription" : "Subnets available for the MySQL RDS",
"SubnetIds" : [
"subnet-bb876dde",
"subnet-a08097d4"
]
},
"Type" : "AWS::RDS::DBSubnetGroup"
},
"ElastiCacheTestSG" : {
"Type" : "AWS::EC2::SecurityGroup",
"Properties" : {
"GroupDescription" : "Security Group for ElastiCacheTest",
"VpcId" : "vpc-e26a8f87"
}
},
"ELB" : {
"Properties" : {
"Subnets" : [
"subnet-bb876dde",
"subnet-a08097d4"
],
"HealthCheck" : {
"Timeout" : 29,
"Target" : "TCP:80",
"HealthyThreshold" : 2,
"Interval" : 30,
"UnhealthyThreshold" : 2
},
"Listeners" : [
{
"InstancePort" : 80,
"LoadBalancerPort" : 80,
"Protocol" : "HTTP"
},
{
"SSLCertificateId" : {
"Fn::Join" : [
"",
[
"arn:aws:iam::",
{
"Ref" : "AWS::AccountId"
},
":server-certificate/cert"
( run in 0.949 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )