forked from theonestack/hl-component-redshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredshift.cfhighlander.rb
More file actions
27 lines (23 loc) · 1023 Bytes
/
redshift.cfhighlander.rb
File metadata and controls
27 lines (23 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
CfhighlanderTemplate do
Name 'redshift'
Description "redshift - #{component_version}"
DependsOn 'lib-ec2'
DependsOn 'lib-iam'
Parameters do
ComponentParam 'EnvironmentName', 'dev', isGlobal: true
ComponentParam 'EnvironmentType', 'development', allowedValues: ['development','production'], isGlobal: true
ComponentParam 'VpcId', type: 'AWS::EC2::VPC::Id'
ComponentParam 'SubnetIds', type: 'CommaDelimitedList'
ComponentParam 'NumberOfNodes', '1'
ComponentParam 'NodeType'
ComponentParam 'MasterUsername', 'master', allowedPattern: "'([a-z]|[0-9])+'"
ComponentParam 'EnableLogging', 'true', allowedValues: ['true', 'false']
ComponentParam 'AutomatedSnapshotRetentionPeriod', '7'
ComponentParam 'MaintenanceWindow', 'sat:05:00-sat:05:30'
ComponentParam 'Encrypt', 'true', allowedValues: ['true', 'false']
ComponentParam 'KmsKeyId', ''
ComponentParam 'Snapshot', ''
ComponentParam 'SnapshotAccountOwner', ''
ComponentParam 'DatabaseName', ''
end
end