cloudformation-2010-05-15.examples.json 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. {
  2. "version": "1.0",
  3. "examples": {
  4. "CreateGeneratedTemplate": [
  5. {
  6. "input": {
  7. "GeneratedTemplateName": "JazzyTemplate",
  8. "Resources": [
  9. {
  10. "ResourceIdentifier": {
  11. "BucketName": "jazz-bucket"
  12. },
  13. "ResourceType": "AWS::S3::Bucket"
  14. },
  15. {
  16. "ResourceIdentifier": {
  17. "DhcpOptionsId": "random-id123"
  18. },
  19. "ResourceType": "AWS::EC2::DHCPOptions"
  20. }
  21. ]
  22. },
  23. "output": {
  24. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca"
  25. },
  26. "comments": {
  27. "input": {
  28. },
  29. "output": {
  30. }
  31. },
  32. "description": "This example creates a generated template with a resources file.",
  33. "id": "to-create-a-generated-template",
  34. "title": "To create a generated template"
  35. }
  36. ],
  37. "DeleteGeneratedTemplate": [
  38. {
  39. "input": {
  40. "GeneratedTemplateName": "JazzyTemplate"
  41. },
  42. "comments": {
  43. "input": {
  44. },
  45. "output": {
  46. }
  47. },
  48. "description": "This example deletes a generated template",
  49. "id": "to-delete-a-generated-template",
  50. "title": "To delete a generated template"
  51. }
  52. ],
  53. "DescribeGeneratedTemplate": [
  54. {
  55. "input": {
  56. "GeneratedTemplateName": "JazzyTemplate"
  57. },
  58. "output": {
  59. "CreationTime": "2023-12-28T17:55:20.086000+00:00",
  60. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:*:generatedtemplate/*",
  61. "GeneratedTemplateName": "DeletedResourceTest",
  62. "LastUpdatedTime": "2023-12-28T17:57:16.610000+00:00",
  63. "Progress": {
  64. "ResourcesFailed": 0,
  65. "ResourcesPending": 0,
  66. "ResourcesProcessing": 0,
  67. "ResourcesSucceeded": 0
  68. },
  69. "Status": "COMPLETE",
  70. "StatusReason": "All resources complete",
  71. "TemplateConfiguration": {
  72. "DeletionPolicy": "RETAIN",
  73. "UpdateReplacePolicy": "RETAIN"
  74. },
  75. "TotalWarnings": 0
  76. },
  77. "comments": {
  78. "input": {
  79. },
  80. "output": {
  81. }
  82. },
  83. "description": "This example describes a generated template",
  84. "id": "to-describe-a-generated-template",
  85. "title": "To describe a generated template"
  86. }
  87. ],
  88. "DescribeResourceScan": [
  89. {
  90. "input": {
  91. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1"
  92. },
  93. "output": {
  94. "EndTime": "2024-01-02T23:25:48.075000+00:00",
  95. "PercentageCompleted": 100.0,
  96. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
  97. "ResourceTypes": [
  98. "AWS::Amplify::App",
  99. "AWS::ApiGateway::Deployment",
  100. "AWS::ApiGateway::DocumentationPart",
  101. "AWS::ApiGateway::Model",
  102. "AWS::ApiGateway::Resource",
  103. "AWS::ApiGateway::RestApi",
  104. "AWS::ApiGateway::Stage",
  105. "AWS::AppConfig::Extension",
  106. "AWS::ApplicationAutoScaling::ScalableTarget",
  107. "AWS::Athena::WorkGroup",
  108. "AWS::Cassandra::Keyspace",
  109. "AWS::CloudFront::CachePolicy",
  110. "AWS::CloudFront::Function",
  111. "AWS::CloudFront::OriginRequestPolicy",
  112. "AWS::CloudTrail::Trail",
  113. "AWS::CloudWatch::Alarm",
  114. "AWS::CodeDeploy::Application",
  115. "AWS::CodeDeploy::DeploymentConfig",
  116. "AWS::Cognito::UserPool",
  117. "AWS::Cognito::UserPoolGroup",
  118. "AWS::Cognito::UserPoolUser",
  119. "AWS::DynamoDB::Table",
  120. "AWS::EC2::DHCPOptions",
  121. "AWS::EC2::EIP",
  122. "AWS::EC2::InternetGateway",
  123. "AWS::EC2::LaunchTemplate",
  124. "AWS::EC2::NetworkAcl",
  125. "AWS::EC2::Route",
  126. "AWS::EC2::RouteTable",
  127. "AWS::EC2::SubnetNetworkAclAssociation",
  128. "AWS::EC2::SubnetRouteTableAssociation",
  129. "AWS::EC2::VPC",
  130. "AWS::EC2::VPCDHCPOptionsAssociation",
  131. "AWS::EC2::VPCGatewayAttachment",
  132. "AWS::ECR::Repository",
  133. "AWS::ECS::Cluster",
  134. "AWS::ECS::ClusterCapacityProviderAssociations",
  135. "AWS::ECS::Service",
  136. "AWS::ECS::TaskDefinition",
  137. "AWS::ElastiCache::SubnetGroup",
  138. "AWS::ElastiCache::User",
  139. "AWS::Events::EventBus",
  140. "AWS::Events::Rule",
  141. "AWS::GameLift::Location",
  142. "AWS::GuardDuty::Detector",
  143. "AWS::IAM::InstanceProfile",
  144. "AWS::IAM::ManagedPolicy",
  145. "AWS::IAM::Role",
  146. "AWS::IAM::User",
  147. "AWS::IoT::DomainConfiguration",
  148. "AWS::KMS::Alias",
  149. "AWS::KMS::Key",
  150. "AWS::Lambda::EventSourceMapping",
  151. "AWS::Lambda::Function",
  152. "AWS::Lambda::Permission",
  153. "AWS::Lambda::Version",
  154. "AWS::Logs::LogGroup",
  155. "AWS::Logs::LogStream",
  156. "AWS::MemoryDB::ACL",
  157. "AWS::MemoryDB::ParameterGroup",
  158. "AWS::MemoryDB::User",
  159. "AWS::RAM::Permission",
  160. "AWS::RDS::CustomDBEngineVersion",
  161. "AWS::Route53Resolver::ResolverRuleAssociation",
  162. "AWS::S3::AccessPoint",
  163. "AWS::S3::BucketPolicy",
  164. "AWS::S3::StorageLens",
  165. "AWS::SNS::Topic",
  166. "AWS::SQS::Queue",
  167. "AWS::SSM::Association",
  168. "AWS::SSM::Document",
  169. "AWS::StepFunctions::StateMachine",
  170. "AWS::XRay::Group",
  171. "AWS::XRay::SamplingRule"
  172. ],
  173. "ResourcesRead": 25107,
  174. "StartTime": "2024-01-02T22:15:18.382000+00:00",
  175. "Status": "COMPLETE"
  176. },
  177. "comments": {
  178. "input": {
  179. },
  180. "output": {
  181. }
  182. },
  183. "description": "This example describes a selected resource scan",
  184. "id": "to-describe-a-generated-template",
  185. "title": "To describe a selected resource scan"
  186. }
  187. ],
  188. "GetGeneratedTemplate": [
  189. {
  190. "input": {
  191. "GeneratedTemplateName": "JazzyTemplate"
  192. },
  193. "output": {
  194. "Status": "COMPLETE",
  195. "TemplateBody": "{\"Metadata\":{\"TemplateId\":\"arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/*\"},\"Parameters\":{\"Stage\":{\"Default\":\"beta\",\"Type\":\"String\"}},\"Resources\":{\"TestRole\":{\"Properties\":{\"AssumeRolePolicyDocument\":{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":{\"Fn::Sub\":[\"arn:${AWS::Partition}:iam::${AccountId}:root\",{\"AccountId\":{\"Fn::AccountIdFromAlias\":\"test-account-alias\"}}]}},\"Action\":\"sts:AssumeRole\"}]}},\"Type\":\"AWS::IAM::Role\",\"DeletionPolicy\":\"Delete\"},\"DocumentationPartl7ob4vsd76vs\":{\"UpdateReplacePolicy\":\"Retain\",\"Type\":\"AWS::ApiGateway::DocumentationPart\",\"DeletionPolicy\":\"Retain\",\"Properties\":{\"RestApiId\":\"l7ob4vsd76\",\"Properties\":\"{\\n \\\"description\\\" : \\\"ListGeneratedTemplates 200 response\\\"\\n}\",\"Location\":{\"Path\":\"/ListGeneratedTemplates\",\"Type\":\"RESPONSE\",\"Method\":\"POST\",\"StatusCode\":\"200\"}}}}}"
  196. },
  197. "comments": {
  198. "input": {
  199. },
  200. "output": {
  201. }
  202. },
  203. "description": "This example gets a generated template ins JSON format.",
  204. "id": "to-get-a-generated-template-json",
  205. "title": "To get a generated template in JSON format"
  206. },
  207. {
  208. "input": {
  209. "Format": "YAML",
  210. "GeneratedTemplateName": "JazzyTemplate"
  211. },
  212. "output": {
  213. "Status": "COMPLETE",
  214. "TemplateBody": "---\nMetadata:\n TemplateId: \"arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/*\"\nParameters:\n Stage:\n Default: \"beta\"\n Type: \"String\"\nResources:\n TestRole:\n Properties:\n AssumeRolePolicyDocument:\n Version: \"2012-10-17\"\n Statement:\n - Effect: \"Allow\"\n Principal:\n AWS:\n Fn::Sub:\n - \"arn:${AWS::Partition}:iam::${AccountId}:root\"\n - AccountId:\n Fn::AccountIdFromAlias: \"test-account-alias\"\n Action: \"sts:AssumeRole\"\n Type: \"AWS::IAM::Role\"\n DeletionPolicy: \"Delete\"\n DocumentationPartl7ob4vsd76vsnAlFMLXKVm:\n UpdateReplacePolicy: \"Retain\"\n Type: \"AWS::ApiGateway::DocumentationPart\"\n DeletionPolicy: \"Retain\"\n Properties:\n RestApiId: \"l7ob4vsd76\"\n Properties: \"{\\n \\\"description\\\" : \\\"ListGeneratedTemplates 200 response\\\"\\n\\\n }\"\n Location:\n Path: \"/ListGeneratedTemplates\"\n Type: \"RESPONSE\"\n Method: \"POST\"\n StatusCode: \"200\"\n"
  215. },
  216. "comments": {
  217. "input": {
  218. },
  219. "output": {
  220. }
  221. },
  222. "description": "This example gets a generated template in YAML format.",
  223. "id": "to-get-a-generated-template-yaml",
  224. "title": "To get a generated template in YAML format"
  225. }
  226. ],
  227. "ListGeneratedTemplates": [
  228. {
  229. "input": {
  230. },
  231. "output": {
  232. "Summaries": [
  233. {
  234. "CreationTime": "2023-12-28T17:55:20.086000+00:00",
  235. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/abcdefghi-1234-abcd-abcd-abcdefgh1234567",
  236. "GeneratedTemplateName": "Template3",
  237. "LastUpdatedTime": "2023-12-28T17:57:16.610000+00:00",
  238. "NumberOfResources": 85,
  239. "Status": "COMPLETE",
  240. "StatusReason": "All resources complete"
  241. },
  242. {
  243. "CreationTime": "2023-12-21T01:51:07.764000+00:00",
  244. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/bbcdefghi-1234-abcd-abcd-abcdefgh1234567",
  245. "GeneratedTemplateName": "Template2",
  246. "LastUpdatedTime": "2023-12-21T01:51:22.664000+00:00",
  247. "NumberOfResources": 12,
  248. "Status": "COMPLETE",
  249. "StatusReason": "All resources complete"
  250. },
  251. {
  252. "CreationTime": "2023-11-20T23:53:28.722000+00:00",
  253. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/cbcdefghi-1234-abcd-abcd-abcdefgh1234567",
  254. "GeneratedTemplateName": "Template1",
  255. "LastUpdatedTime": "2023-11-21T04:25:30.527000+00:00",
  256. "NumberOfResources": 19,
  257. "Status": "COMPLETE",
  258. "StatusReason": "All resources complete"
  259. }
  260. ]
  261. },
  262. "comments": {
  263. "input": {
  264. },
  265. "output": {
  266. }
  267. },
  268. "description": "This example lists the generated templates.",
  269. "id": "to-list-generated-templates",
  270. "title": "To list generated templates"
  271. }
  272. ],
  273. "ListResourceScanRelatedResources": [
  274. {
  275. "input": {
  276. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
  277. "Resources": [
  278. {
  279. "ResourceIdentifier": {
  280. "BucketName": "jazz-bucket"
  281. },
  282. "ResourceType": "AWS::S3::Bucket"
  283. },
  284. {
  285. "ResourceIdentifier": {
  286. "DhcpOptionsId": "random-id123"
  287. },
  288. "ResourceType": "AWS::EC2::DHCPOptions"
  289. }
  290. ]
  291. },
  292. "output": {
  293. "RelatedResources": [
  294. {
  295. "ManagedByStack": false,
  296. "ResourceIdentifier": {
  297. "DhcpOptionsId": "dopt-98765edcba",
  298. "VpcId": "vpc-0123456abcdefg"
  299. },
  300. "ResourceType": "AWS::EC2::VPCDHCPOptionsAssociation"
  301. },
  302. {
  303. "ManagedByStack": false,
  304. "ResourceIdentifier": {
  305. "VpcId": "vpc-0123456abcdefgabc"
  306. },
  307. "ResourceType": "AWS::EC2::VPC"
  308. },
  309. {
  310. "ManagedByStack": false,
  311. "ResourceIdentifier": {
  312. "DhcpOptionsId": "dopt-98765edcba",
  313. "VpcId": "vpc-123456abcdef"
  314. },
  315. "ResourceType": "AWS::EC2::VPCDHCPOptionsAssociation"
  316. },
  317. {
  318. "ManagedByStack": false,
  319. "ResourceIdentifier": {
  320. "VpcId": "vpc-12345678abcd"
  321. },
  322. "ResourceType": "AWS::EC2::VPC"
  323. }
  324. ]
  325. },
  326. "comments": {
  327. "input": {
  328. },
  329. "output": {
  330. }
  331. },
  332. "description": "This example lists the resources related to the passed in resources",
  333. "id": "to-list-resource-scan-related-resources",
  334. "title": "To list resource scan related resources"
  335. }
  336. ],
  337. "ListResourceScanResources": [
  338. {
  339. "input": {
  340. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1"
  341. },
  342. "output": {
  343. "NextToken": "AQICAHjOiFofVZCZ0aEN1VnF1m9jq/xxpTY7MyPexz72BHuAkgETVS8c+PVCFpE6uGVJDxCFAAACbjCCAmoGCSqGSIb3DQEHBqCCAlswggJXAgEAMIICUAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAwJ9QJAYeDzUoBeimECARCAggIh8brcL6H6uMvcZafRTB79hUkdJlOoFavrhYA2U7qdlPUwyvaVqN2DvFMxsl2XC1SaWmr5esMKxg1fLjbOEF32lVQn0Jp8QuoFUvREnqEsR32ZQmiI/Oc9HmwIr/BS3rzljki2Kr8Y0nriS7aFDLUCYsdsRdQ9iL5/iCc6oW7IisCzq1VKcHijlXvuiEipZAinsxEbmYBjmWgT7UYZdrrb6Hq3COEgPzS490ucndtwPjyvuCIMiAfTLMuBgjkzEfp4U97aLwPWaiKw94dMXj/3K67uuH9BjWZO+j6d3nnyZ14FOgI7SQvvVBnxARbTmINttHWjXPrIuE9YuuSWgn6GmuzEEDqkuglOS/OeTHYSPvLPRrFieUiawblljLVoVY9/HDjL/EErSTWiCnytGXIRoMI9Ozp2Yjfm3MBwSDXvMIrscw6QAa3bUA6uJSV2skCBnDoqV8EXd8umh788OgEtDxQ7d/NlUYEhN6AJ0K9TVz/2rZgOlzLCmtvmbIy7loAZCmf/uPNkyu6WuoLWTzQz78SnA8jWPKnxrzhNyPuaIgUH23U3mExhfMRDczitpOo5JM81oHVPECslGoqktLhP55BQqMbJy4w16SZJfr993TXhF5jOZenRN1zDsK3J5cLdJgPK1Ds1Z9DnRKMfXOqoAyme2l94/h0kLIxgAtxOeJFP/g/9hUtt1qGkZeV3Xqw1nkFQnafGIg4fJoWg74Sr7yo=",
  344. "Resources": [
  345. {
  346. "ManagedByStack": false,
  347. "ResourceIdentifier": {
  348. "Arn": "arn:aws:amplify:us-east-1:123456789012:apps/12345678"
  349. },
  350. "ResourceType": "AWS::Amplify::App"
  351. },
  352. {
  353. "ManagedByStack": true,
  354. "ResourceIdentifier": {
  355. "DeploymentId": "1234567",
  356. "RestApiId": "abcdefgh"
  357. },
  358. "ResourceType": "AWS::ApiGateway::Deployment"
  359. }
  360. ]
  361. },
  362. "comments": {
  363. "input": {
  364. },
  365. "output": {
  366. }
  367. },
  368. "description": "This example lists the resources in your resource scan",
  369. "id": "to-list-resource-scan-resources",
  370. "title": "To list the resources in your resource scan"
  371. },
  372. {
  373. "input": {
  374. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
  375. "ResourceTypePrefix": "AWS::S3"
  376. },
  377. "output": {
  378. "NextToken": "AQICAHjOiFofVZCZ0aEN1VnF1m9jq/xxpTY7MyPexz72BHuAkgETVS8c+PVCFpE6uGVJDxCFAAACbjCCAmoGCSqGSIb3DQEHBqCCAlswggJXAgEAMIICUAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAwJ9QJAYeDzUoBeimECARCAggIh8brcL6H6uMvcZafRTB79hUkdJlOoFavrhYA2U7qdlPUwyvaVqN2DvFMxsl2XC1SaWmr5esMKxg1fLjbOEF32lVQn0Jp8QuoFUvREnqEsR32ZQmiI/Oc9HmwIr/BS3rzljki2Kr8Y0nriS7aFDLUCYsdsRdQ9iL5/iCc6oW7IisCzq1VKcHijlXvuiEipZAinsxEbmYBjmWgT7UYZdrrb6Hq3COEgPzS490ucndtwPjyvuCIMiAfTLMuBgjkzEfp4U97aLwPWaiKw94dMXj/3K67uuH9BjWZO+j6d3nnyZ14FOgI7SQvvVBnxARbTmINttHWjXPrIuE9YuuSWgn6GmuzEEDqkuglOS/OeTHYSPvLPRrFieUiawblljLVoVY9/HDjL/EErSTWiCnytGXIRoMI9Ozp2Yjfm3MBwSDXvMIrscw6QAa3bUA6uJSV2skCBnDoqV8EXd8umh788OgEtDxQ7d/NlUYEhN6AJ0K9TVz/2rZgOlzLCmtvmbIy7loAZCmf/uPNkyu6WuoLWTzQz78SnA8jWPKnxrzhNyPuaIgUH23U3mExhfMRDczitpOo5JM81oHVPECslGoqktLhP55BQqMbJy4w16SZJfr993TXhF5jOZenRN1zDsK3J5cLdJgPK1Ds1Z9DnRKMfXOqoAyme2l94/h0kLIxgAtxOeJFP/g/9hUtt1qGkZeV3Xqw1nkFQnafGIg4fJoWg74Sr7yo=",
  379. "Resources": [
  380. {
  381. "ManagedByStack": true,
  382. "ResourceIdentifier": {
  383. "Name": "test-access-point"
  384. },
  385. "ResourceType": "AWS::S3::AccessPoint"
  386. },
  387. {
  388. "ManagedByStack": false,
  389. "ResourceIdentifier": {
  390. "Bucket": "a-random-bucket"
  391. },
  392. "ResourceType": "AWS::S3::BucketPolicy"
  393. }
  394. ]
  395. },
  396. "comments": {
  397. "input": {
  398. },
  399. "output": {
  400. }
  401. },
  402. "description": "This example lists the resources in your resource scan filtering only the resources that start with the passed in prefix",
  403. "id": "to-list-resource-scan-resources-with-resource-type-prefix",
  404. "title": "To list the resources in your resource scan for specific resource type"
  405. }
  406. ],
  407. "ListResourceScans": [
  408. {
  409. "input": {
  410. },
  411. "output": {
  412. "ResourceScanSummaries": [
  413. {
  414. "PercentageCompleted": 37.4,
  415. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/51448627-817f-40f0-b37c-f6e0f974340c",
  416. "StartTime": "2024-01-24T00:33:29.673000+00:00",
  417. "Status": "IN_PROGRESS"
  418. },
  419. {
  420. "EndTime": "2024-01-02T23:25:48.075000+00:00",
  421. "PercentageCompleted": 100.0,
  422. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
  423. "StartTime": "2024-01-02T22:15:18.382000+00:00",
  424. "Status": "COMPLETE"
  425. }
  426. ]
  427. },
  428. "description": "This example shows how to list resource scans",
  429. "id": "to-list-resource-scans",
  430. "title": "Listing Resource Scans"
  431. }
  432. ],
  433. "StartResourceScan": [
  434. {
  435. "input": {
  436. },
  437. "output": {
  438. "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/88f09db1-d211-4cb7-964b-434e2b8469ca"
  439. },
  440. "comments": {
  441. "input": {
  442. },
  443. "output": {
  444. }
  445. },
  446. "description": "This example shows how to start a new resource scan",
  447. "id": "to-start-a-generated-template",
  448. "title": "To start a resource scan"
  449. }
  450. ],
  451. "UpdateGeneratedTemplate": [
  452. {
  453. "input": {
  454. "GeneratedTemplateName": "JazzyTemplate",
  455. "NewGeneratedTemplateName": "JazzierTemplate"
  456. },
  457. "output": {
  458. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca"
  459. },
  460. "comments": {
  461. "input": {
  462. },
  463. "output": {
  464. }
  465. },
  466. "description": "This example updates a generated template with a new name.",
  467. "id": "to-update-a-generated-template-new-name",
  468. "title": "To update a generated template's name"
  469. },
  470. {
  471. "input": {
  472. "GeneratedTemplateName": "JazzyTemplate",
  473. "RemoveResources": [
  474. "LogicalResourceId1",
  475. "LogicalResourceId2"
  476. ]
  477. },
  478. "output": {
  479. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca"
  480. },
  481. "comments": {
  482. "input": {
  483. },
  484. "output": {
  485. }
  486. },
  487. "description": "This example removes resources from a generated template",
  488. "id": "to-update-a-generated-template-remove-resources",
  489. "title": "To remove resources from a generated template"
  490. },
  491. {
  492. "input": {
  493. "AddResources": [
  494. {
  495. "ResourceIdentifier": {
  496. "BucketName": "jazz-bucket"
  497. },
  498. "ResourceType": "AWS::S3::Bucket"
  499. },
  500. {
  501. "ResourceIdentifier": {
  502. "DhcpOptionsId": "random-id123"
  503. },
  504. "ResourceType": "AWS::EC2::DHCPOptions"
  505. }
  506. ],
  507. "GeneratedTemplateName": "JazzyTemplate"
  508. },
  509. "output": {
  510. "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca"
  511. },
  512. "comments": {
  513. "input": {
  514. },
  515. "output": {
  516. }
  517. },
  518. "description": "This example adds resources to a generated template",
  519. "id": "to-update-a-generated-template-add-resources",
  520. "title": "To add resources to a generated template"
  521. }
  522. ]
  523. }
  524. }