| 1 | AWSTemplateFormatVersion: "2010-09-09" |
| 2 | Description: Sample CloudFormation template |
| 3 | |
| 4 | Resources: |
| 5 | S3Bucket: |
| 6 | Type: "AWS::S3::Bucket" |
| 7 | Properties: |
| 8 | BucketName: my-sample-bucket |
| 9 | |
| 10 | EC2Instance: |
| 11 | Type: "AWS::EC2::Instance" |
| 12 | Properties: |
| 13 | InstanceType: "t2.micro" |
| 14 | ImageId: "ami-0abcdef12345abcdef" |