UNPKG

@mapbox/cloudfriend

Version:

Helper functions for assembling CloudFormation templates in JavaScript

48 lines 1.34 kB
{ "AWSTemplateFormatVersion": "2010-09-09", "Metadata": {}, "Parameters": {}, "Rules": {}, "Mappings": {}, "Conditions": {}, "Resources": { "MyTable": { "Type": "AWS::Glue::Table", "Properties": { "CatalogId": { "Ref": "AWS::AccountId" }, "DatabaseName": "my_database", "TableInput": { "Description": { "Fn::Sub": "Created by the ${AWS::StackName} CloudFormation stack" }, "Name": "my_table", "PartitionKeys": [], "TableType": "EXTERNAL_TABLE", "StorageDescriptor": { "Columns": [ { "Name": "column", "Type": "string" } ], "Compressed": false, "InputFormat": "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat", "Location": "s3://fake/location", "NumberOfBuckets": 0, "OutputFormat": "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat", "SerdeInfo": { "SerializationLibrary": "org.apache.hadoop.hive.ql.io.orc.OrcSerde", "Parameters": { "serialization.format": "1" } }, "StoredAsSubDirectories": true } } } } }, "Outputs": {} }