Skip to content

Commit ba8f79d

Browse files
author
AWS Scripting Guy
committed
redshift snippets
1 parent 9128886 commit ba8f79d

File tree

1 file changed

+92
-0
lines changed

1 file changed

+92
-0
lines changed

snippets/yaml-snippets.json

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
23
"autoscaling-group-vpc": {
34
"prefix": "autoscaling-group-vpc",
45
"body": [
@@ -642,6 +643,97 @@
642643
"description": "",
643644
"scope": "source.cloudformation"
644645
},
646+
"redshift-cluster": {
647+
"prefix": "redshift-cluster",
648+
"body": [
649+
"${1:redshiftCluster}:",
650+
" Type: AWS::Redshift::Cluster",
651+
" Properties:",
652+
" AllowVersionUpgrade: ${2:true | false}",
653+
" AutomatedSnapshotRetentionPeriod: ${3}",
654+
" AvailabilityZone: ${4}",
655+
" ClusterParameterGroupName: ${5}",
656+
" ClusterSecurityGroups:",
657+
" - ${6:sg-id}",
658+
" ClusterSubnetGroupName: ${7}",
659+
" ClusterType: ${8}",
660+
" ClusterVersion: ${9}",
661+
" DBName: ${10}",
662+
" ElasticIp: ${11}",
663+
" Encrypted: ${12:true | false}",
664+
" HsmClientCertificateIdentifier: ${13}",
665+
" HsmConfigurationIdentifier: ${14}",
666+
" MasterUsername: ${15}",
667+
" MasterUserPassword: ${16}",
668+
" NodeType: ${17}",
669+
" NumberOfNodes: ${18}",
670+
" OwnerAccount: ${19}",
671+
" Port: ${20}",
672+
" PreferredMaintenanceWindow: ${21}",
673+
" PubliclyAccessible: ${22:true | false}",
674+
" SnapshotClusterIdentifier: ${23}",
675+
" SnapshotIdentifier: ${24}",
676+
" VpcSecurityGroupIds:",
677+
" - ${25:sg-id}"
678+
],
679+
"description": "",
680+
"scope": "source.cloudformation"
681+
},
682+
"redshift-clusterparametergroup": {
683+
"prefix": "redshift-clusterparametergroup",
684+
"body": [
685+
"${1:redshiftClusterParameterGroup}:",
686+
" Type: AWS::Redshift::ClusterParameterGroup",
687+
" Properties:",
688+
" Description: ${2}",
689+
" ParameterGroupFamily: ${3}",
690+
" Parameters:",
691+
" - ${4:parameter}",
692+
" Tags:",
693+
" - Key: ${5:keyname}",
694+
" Value: ${6:value}"
695+
],
696+
"description": "",
697+
"scope": "source.cloudformation"
698+
},
699+
"redshift-clustersecuritygroup": {
700+
"prefix": "redshift-clustersecuritygroup",
701+
"body": [
702+
"${1:redshiftClusterSecurityGroup}:",
703+
" Type: AWS::Redshift::ClusterSecurityGroup",
704+
" Properties:",
705+
" Description: ${2}"
706+
],
707+
"description": "",
708+
"scope": "source.cloudformation"
709+
},
710+
"redshift-clustersecuritygroupingress": {
711+
"prefix": "redshift-clustersecuritygroupingress",
712+
"body": [
713+
"${1:redshiftClusterSecurityGroupIngress}:",
714+
" Type: AWS::Redshift::ClusterSecurityGroupIngress",
715+
" Properties:",
716+
" ClusterSecurityGroupName: ${2}",
717+
" CIDRIP: ${3}",
718+
" EC2SecurityGroupName: ${4}",
719+
" EC2SecurityGroupOwnerId: ${5}"
720+
],
721+
"description": "",
722+
"scope": "source.cloudformation"
723+
},
724+
"redshift-clustersubnetgroup": {
725+
"prefix": "redshift-clustersubnetgroup",
726+
"body": [
727+
"${1:redshiftClusterSubnetGroup}:",
728+
" Type: AWS::Redshift::ClusterSubnetGroup",
729+
" Properties:",
730+
" Description: ${2}",
731+
" SubnetIds:",
732+
" - ${3:subnet-id}"
733+
],
734+
"description": "",
735+
"scope": "source.cloudformation"
736+
},
645737
"start": {
646738
"prefix": "start",
647739
"body": [

0 commit comments

Comments
 (0)