cloudformation-2010-05-15.examples.json (4308B)
1 { 2 "version": "1.0", 3 "examples": { 4 "CancelUpdateStack": [ 5 { 6 "input": { 7 "StackName": "MyStack" 8 }, 9 "comments": { 10 "input": { 11 }, 12 "output": { 13 } 14 }, 15 "description": "This example cancels an update of the specified stack.", 16 "id": "to-cancel-a-stack-update-that-is-in-progress-1472747085196", 17 "title": "To cancel a stack update in progress" 18 } 19 ], 20 "UpdateStack": [ 21 { 22 "input": { 23 "NotificationARNs": [ 24 25 ], 26 "Parameters": [ 27 { 28 "ParameterKey": "KeyPairName", 29 "ParameterValue": "ExampleKeyPair" 30 }, 31 { 32 "ParameterKey": "SubnetIDs", 33 "ParameterValue": "ExampleSubnetID1, ExampleSubnetID2" 34 } 35 ], 36 "ResourceTypes": [ 37 38 ], 39 "StackName": "MyStack", 40 "Tags": [ 41 42 ], 43 "TemplateURL": "https://s3.amazonaws.com/example/updated.template" 44 }, 45 "output": { 46 "StackId": "" 47 }, 48 "comments": { 49 "input": { 50 }, 51 "output": { 52 } 53 }, 54 "description": "This example updates the template and input parameters for the specified stack.", 55 "id": "to-update-an-aws-cloudformation-stack-1472841931621", 56 "title": "To update an AWS CloudFormation stack" 57 }, 58 { 59 "input": { 60 "NotificationARNs": [ 61 62 ], 63 "Parameters": [ 64 { 65 "ParameterKey": "KeyPairName", 66 "UsePreviousValue": true 67 }, 68 { 69 "ParameterKey": "SubnetIDs", 70 "ParameterValue": "SampleSubnetID1, UpdatedSampleSubnetID2" 71 } 72 ], 73 "ResourceTypes": [ 74 75 ], 76 "StackName": "MyStack", 77 "Tags": [ 78 79 ], 80 "TemplateURL": "https://s3.amazonaws.com/example/updated.template" 81 }, 82 "output": { 83 "StackId": "" 84 }, 85 "comments": { 86 "input": { 87 }, 88 "output": { 89 } 90 }, 91 "description": "This example updates only the the specified parameter value for the specified stack. If you don't specify a parameter value, AWS CloudFormation uses the default value from the template.", 92 "id": "to-update-an-aws-cloudformation-stack-1472841931621", 93 "title": "To update an AWS CloudFormation stack" 94 }, 95 { 96 "input": { 97 "Capabilities": [ 98 99 ], 100 "NotificationARNs": [ 101 "arn:aws:sns:use-east-1:123456789012:mytopic1", 102 "arn:aws:sns:us-east-1:123456789012:mytopic2" 103 ], 104 "Parameters": [ 105 106 ], 107 "ResourceTypes": [ 108 109 ], 110 "StackName": "MyStack", 111 "Tags": [ 112 113 ], 114 "TemplateURL": "https://s3.amazonaws.com/example/updated.template", 115 "UsePreviousTemplate": true 116 }, 117 "output": { 118 "StackId": "" 119 }, 120 "comments": { 121 "input": { 122 }, 123 "output": { 124 } 125 }, 126 "description": "This example adds two stack notification topics to the specified stack.", 127 "id": "to-update-an-aws-cloudformation-stack-1472841931621", 128 "title": "To update an AWS CloudFormation stack" 129 } 130 ], 131 "ValidateTemplate": [ 132 { 133 "input": { 134 "TemplateBody": "MyTemplate.json" 135 }, 136 "output": { 137 "Capabilities": [ 138 139 ], 140 "CapabilitiesReason": "", 141 "Description": "AWS CloudFormation Example Template S3_Bucket: An example template that shows how to create a publicly-accessible S3 bucket. IMPORTANT: This template creates an S3 bucket. You will be billed for the AWS resources used if you create a stack from this template.", 142 "Parameters": [ 143 144 ] 145 }, 146 "comments": { 147 "input": { 148 }, 149 "output": { 150 } 151 }, 152 "description": "This example validates the specified template.", 153 "id": "to-validate-an-aws-cloudformation-template-1472839072307", 154 "title": "To validate an AWS CloudFormation template" 155 } 156 ] 157 } 158 }