humidifier 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +88 -0
- data/ext/humidifier/extconf.rb +2 -0
- data/ext/humidifier/humidifier.c +93 -0
- data/ext/humidifier/humidifier.h +14 -0
- data/lib/humidifier/aws_adapters/base.rb +64 -0
- data/lib/humidifier/aws_adapters/noop.rb +18 -0
- data/lib/humidifier/aws_adapters/sdkv1.rb +56 -0
- data/lib/humidifier/aws_adapters/sdkv2.rb +43 -0
- data/lib/humidifier/aws_shim.rb +60 -0
- data/lib/humidifier/condition.rb +17 -0
- data/lib/humidifier/fn.rb +28 -0
- data/lib/humidifier/humidifier.bundle +0 -0
- data/lib/humidifier/loader.rb +53 -0
- data/lib/humidifier/mapping.rb +17 -0
- data/lib/humidifier/output.rb +20 -0
- data/lib/humidifier/parameter.rb +27 -0
- data/lib/humidifier/props.rb +127 -0
- data/lib/humidifier/ref.rb +17 -0
- data/lib/humidifier/resource.rb +108 -0
- data/lib/humidifier/sdk_payload.rb +30 -0
- data/lib/humidifier/serializer.rb +18 -0
- data/lib/humidifier/sleeper.rb +25 -0
- data/lib/humidifier/stack.rb +66 -0
- data/lib/humidifier/utils.rb +21 -0
- data/lib/humidifier/version.rb +4 -0
- data/lib/humidifier.rb +50 -0
- data/specs/ApiGateway-Account.cf +6 -0
- data/specs/ApiGateway-ApiKey.cf +9 -0
- data/specs/ApiGateway-Authorizer.cf +13 -0
- data/specs/ApiGateway-BasePathMapping.cf +9 -0
- data/specs/ApiGateway-ClientCertificate.cf +6 -0
- data/specs/ApiGateway-Deployment.cf +9 -0
- data/specs/ApiGateway-Method.cf +15 -0
- data/specs/ApiGateway-Model.cf +10 -0
- data/specs/ApiGateway-Resource.cf +8 -0
- data/specs/ApiGateway-RestApi.cf +12 -0
- data/specs/ApiGateway-Stage.cf +14 -0
- data/specs/AutoScaling-AutoScalingGroup.cf +21 -0
- data/specs/AutoScaling-LaunchConfiguration.cf +22 -0
- data/specs/AutoScaling-LifecycleHook.cf +12 -0
- data/specs/AutoScaling-ScalingPolicy.cf +14 -0
- data/specs/AutoScaling-ScheduledAction.cf +12 -0
- data/specs/CloudFormation-Authentication.cf +18 -0
- data/specs/CloudFormation-CustomResource.cf +8 -0
- data/specs/CloudFormation-Interface.cf +9 -0
- data/specs/CloudFormation-Stack.cf +10 -0
- data/specs/CloudFormation-WaitCondition.cf +8 -0
- data/specs/CloudFormation-WaitConditionHandle.cf +5 -0
- data/specs/CloudFront-Distribution.cf +6 -0
- data/specs/CloudTrail-Trail.cf +16 -0
- data/specs/CloudWatch-Alarm.cf +20 -0
- data/specs/CodeDeploy-Application.cf +6 -0
- data/specs/CodeDeploy-DeploymentConfig.cf +7 -0
- data/specs/CodeDeploy-DeploymentGroup.cf +13 -0
- data/specs/CodePipeline-CustomActionType.cf +12 -0
- data/specs/CodePipeline-Pipeline.cf +11 -0
- data/specs/Config-ConfigRule.cf +11 -0
- data/specs/Config-ConfigurationRecorder.cf +8 -0
- data/specs/Config-DeliveryChannel.cf +10 -0
- data/specs/DataPipeline-Pipeline.cf +12 -0
- data/specs/DirectoryService-MicrosoftAD.cf +11 -0
- data/specs/DirectoryService-SimpleAD.cf +13 -0
- data/specs/DynamoDB-Table.cf +12 -0
- data/specs/EC2-CustomerGateway.cf +9 -0
- data/specs/EC2-DHCPOptions.cf +11 -0
- data/specs/EC2-EIP.cf +7 -0
- data/specs/EC2-EIPAssociation.cf +10 -0
- data/specs/EC2-FlowLog.cf +10 -0
- data/specs/EC2-Host.cf +8 -0
- data/specs/EC2-Instance.cf +32 -0
- data/specs/EC2-InternetGateway.cf +6 -0
- data/specs/EC2-NatGateway.cf +7 -0
- data/specs/EC2-NetworkAcl.cf +7 -0
- data/specs/EC2-NetworkAclEntry.cf +13 -0
- data/specs/EC2-NetworkInterface.cf +13 -0
- data/specs/EC2-NetworkInterfaceAttachment.cf +9 -0
- data/specs/EC2-PlacementGroup.cf +6 -0
- data/specs/EC2-Route.cf +12 -0
- data/specs/EC2-RouteTable.cf +7 -0
- data/specs/EC2-SecurityGroup.cf +10 -0
- data/specs/EC2-SecurityGroupEgress.cf +11 -0
- data/specs/EC2-SecurityGroupIngress.cf +14 -0
- data/specs/EC2-SpotFleet.cf +6 -0
- data/specs/EC2-Subnet.cf +10 -0
- data/specs/EC2-SubnetNetworkAclAssociation.cf +5 -0
- data/specs/EC2-SubnetRouteTableAssociation.cf +7 -0
- data/specs/EC2-VPC.cf +10 -0
- data/specs/EC2-VPCDHCPOptionsAssociation.cf +7 -0
- data/specs/EC2-VPCEndpoint.cf +9 -0
- data/specs/EC2-VPCGatewayAttachment.cf +8 -0
- data/specs/EC2-VPCPeeringConnection.cf +8 -0
- data/specs/EC2-VPNConnection.cf +10 -0
- data/specs/EC2-VPNConnectionRoute.cf +7 -0
- data/specs/EC2-VPNGateway.cf +7 -0
- data/specs/EC2-VPNGatewayRoutePropagation.cf +7 -0
- data/specs/EC2-Volume.cf +14 -0
- data/specs/EC2-VolumeAttachment.cf +8 -0
- data/specs/ECR-Repository.cf +7 -0
- data/specs/ECS-Cluster.cf +6 -0
- data/specs/ECS-Service.cf +11 -0
- data/specs/ECS-TaskDefinition.cf +7 -0
- data/specs/EFS-FileSystem.cf +6 -0
- data/specs/EFS-MountTarget.cf +9 -0
- data/specs/EMR-Cluster.cf +17 -0
- data/specs/EMR-InstanceGroupConfig.cf +14 -0
- data/specs/EMR-Step.cf +9 -0
- data/specs/ElastiCache-CacheCluster.cf +27 -0
- data/specs/ElastiCache-ParameterGroup.cf +8 -0
- data/specs/ElastiCache-ReplicationGroup.cf +23 -0
- data/specs/ElastiCache-SecurityGroup.cf +7 -0
- data/specs/ElastiCache-SecurityGroupIngress.cf +9 -0
- data/specs/ElastiCache-SubnetGroup.cf +7 -0
- data/specs/ElasticBeanstalk-Application.cf +7 -0
- data/specs/ElasticBeanstalk-ApplicationVersion.cf +8 -0
- data/specs/ElasticBeanstalk-ConfigurationTemplate.cf +11 -0
- data/specs/ElasticBeanstalk-Environment.cf +15 -0
- data/specs/ElasticLoadBalancing-LoadBalancer.cf +21 -0
- data/specs/Elasticsearch-Domain.cf +12 -0
- data/specs/Events-Rule.cf +12 -0
- data/specs/GameLift-Alias.cf +8 -0
- data/specs/GameLift-Build.cf +8 -0
- data/specs/GameLift-Fleet.cf +16 -0
- data/specs/IAM-AccessKey.cf +8 -0
- data/specs/IAM-Group.cf +8 -0
- data/specs/IAM-InstanceProfile.cf +7 -0
- data/specs/IAM-ManagedPolicy.cf +11 -0
- data/specs/IAM-Policy.cf +10 -0
- data/specs/IAM-Role.cf +9 -0
- data/specs/IAM-User.cf +10 -0
- data/specs/IAM-UserToGroupAddition.cf +7 -0
- data/specs/KMS-Key.cf +9 -0
- data/specs/Kinesis-Stream.cf +8 -0
- data/specs/KinesisFirehose-DeliveryStream.cf +9 -0
- data/specs/Lambda-Alias.cf +9 -0
- data/specs/Lambda-EventSourceMapping.cf +10 -0
- data/specs/Lambda-Function.cf +14 -0
- data/specs/Lambda-Permission.cf +10 -0
- data/specs/Lambda-Version.cf +8 -0
- data/specs/Logs-Destination.cf +9 -0
- data/specs/Logs-LogGroup.cf +6 -0
- data/specs/Logs-LogStream.cf +7 -0
- data/specs/Logs-MetricFilter.cf +8 -0
- data/specs/Logs-SubscriptionFilter.cf +9 -0
- data/specs/OpsWorks-App.cf +16 -0
- data/specs/OpsWorks-ElasticLoadBalancerAttachment.cf +7 -0
- data/specs/OpsWorks-Instance.cf +19 -0
- data/specs/OpsWorks-Layer.cf +21 -0
- data/specs/OpsWorks-Stack.cf +23 -0
- data/specs/RDS-DBCluster.cf +23 -0
- data/specs/RDS-DBClusterParameterGroup.cf +9 -0
- data/specs/RDS-DBInstance.cf +38 -0
- data/specs/RDS-DBParameterGroup.cf +9 -0
- data/specs/RDS-DBSecurityGroup.cf +10 -0
- data/specs/RDS-DBSecurityGroupIngress.cf +10 -0
- data/specs/RDS-DBSubnetGroup.cf +8 -0
- data/specs/RDS-EventSubscription.cf +10 -0
- data/specs/RDS-OptionGroup.cf +10 -0
- data/specs/Redshift-Cluster.cf +30 -0
- data/specs/Redshift-ClusterParameterGroup.cf +8 -0
- data/specs/Redshift-ClusterSecurityGroup.cf +6 -0
- data/specs/Redshift-ClusterSecurityGroupIngress.cf +9 -0
- data/specs/Redshift-ClusterSubnetGroup.cf +7 -0
- data/specs/Route53-HealthCheck.cf +7 -0
- data/specs/Route53-HostedZone.cf +9 -0
- data/specs/Route53-RecordSet.cf +19 -0
- data/specs/Route53-RecordSetGroup.cf +9 -0
- data/specs/S3-Bucket.cf +15 -0
- data/specs/S3-BucketPolicy.cf +7 -0
- data/specs/SDB-Domain.cf +6 -0
- data/specs/SNS-Topic.cf +8 -0
- data/specs/SNS-TopicPolicy.cf +8 -0
- data/specs/SQS-Queue.cf +12 -0
- data/specs/SQS-QueuePolicy.cf +7 -0
- data/specs/SSM-Document.cf +6 -0
- data/specs/WAF-ByteMatchSet.cf +7 -0
- data/specs/WAF-IPSet.cf +7 -0
- data/specs/WAF-Rule.cf +8 -0
- data/specs/WAF-SizeConstraintSet.cf +7 -0
- data/specs/WAF-SqlInjectionMatchSet.cf +7 -0
- data/specs/WAF-WebACL.cf +9 -0
- data/specs/WAF-XssMatchSet.cf +7 -0
- data/specs/WorkSpaces-Workspace.cf +11 -0
- metadata +356 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"Type" : "AWS::RDS::DBCluster",
|
3
|
+
"Properties" :
|
4
|
+
{
|
5
|
+
"AvailabilityZones" : [ String, ... ],
|
6
|
+
"BackupRetentionPeriod" : Integer,
|
7
|
+
"DatabaseName" : String,
|
8
|
+
"DBClusterParameterGroupName" : String,
|
9
|
+
"DBSubnetGroupName" : String,
|
10
|
+
"Engine" : String,
|
11
|
+
"EngineVersion" : String,
|
12
|
+
"KmsKeyId" : String,
|
13
|
+
"MasterUsername" : String,
|
14
|
+
"MasterUserPassword" : String,
|
15
|
+
"Port" : Integer,
|
16
|
+
"PreferredBackupWindow" : String,
|
17
|
+
"PreferredMaintenanceWindow" : String,
|
18
|
+
"SnapshotIdentifier" : String,
|
19
|
+
"StorageEncrypted" : Boolean,
|
20
|
+
"Tags" : [ Resource Tag, ... ],
|
21
|
+
"VpcSecurityGroupIds" : [ String, ... ]
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"Type" : "AWS::RDS::DBInstance",
|
3
|
+
"Properties" :
|
4
|
+
{
|
5
|
+
"AllocatedStorage" : String,
|
6
|
+
"AllowMajorVersionUpgrade" : Boolean,
|
7
|
+
"AutoMinorVersionUpgrade" : Boolean,
|
8
|
+
"AvailabilityZone" : String,
|
9
|
+
"BackupRetentionPeriod" : String,
|
10
|
+
"CharacterSetName" : String,
|
11
|
+
"DBClusterIdentifier" : String,
|
12
|
+
"DBInstanceClass" : String,
|
13
|
+
"DBInstanceIdentifier" : String,
|
14
|
+
"DBName" : String,
|
15
|
+
"DBParameterGroupName" : String,
|
16
|
+
"DBSecurityGroups" : [ String, ... ],
|
17
|
+
"DBSnapshotIdentifier" : String,
|
18
|
+
"DBSubnetGroupName" : String,
|
19
|
+
"Engine" : String,
|
20
|
+
"EngineVersion" : String,
|
21
|
+
"Iops" : Number,
|
22
|
+
"KmsKeyId" : String,
|
23
|
+
"LicenseModel" : String,
|
24
|
+
"MasterUsername" : String,
|
25
|
+
"MasterUserPassword" : String,
|
26
|
+
"MultiAZ" : Boolean,
|
27
|
+
"OptionGroupName" : String,
|
28
|
+
"Port" : String,
|
29
|
+
"PreferredBackupWindow" : String,
|
30
|
+
"PreferredMaintenanceWindow" : String,
|
31
|
+
"PubliclyAccessible" : Boolean,
|
32
|
+
"SourceDBInstanceIdentifier" : String,
|
33
|
+
"StorageEncrypted" : Boolean,
|
34
|
+
"StorageType" : String,
|
35
|
+
"Tags" : [ Resource Tag, ..., ],
|
36
|
+
"VPCSecurityGroups" : [ String, ... ]
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"Type": "AWS::Redshift::Cluster",
|
3
|
+
"Properties": {
|
4
|
+
"AllowVersionUpgrade" : Boolean,
|
5
|
+
"AutomatedSnapshotRetentionPeriod" : Integer,
|
6
|
+
"AvailabilityZone" : String,
|
7
|
+
"ClusterParameterGroupName" : String,
|
8
|
+
"ClusterSecurityGroups" : [ String, ... ],
|
9
|
+
"ClusterSubnetGroupName" : String,
|
10
|
+
"ClusterType" : String,
|
11
|
+
"ClusterVersion" : String,
|
12
|
+
"DBName" : String,
|
13
|
+
"ElasticIp" : String,
|
14
|
+
"Encrypted" : Boolean,
|
15
|
+
"HsmClientCertificateIdentifier" : String,
|
16
|
+
"HsmConfigurationIdentifier" : String,
|
17
|
+
"KmsKeyId" : String,
|
18
|
+
"MasterUsername" : String,
|
19
|
+
"MasterUserPassword" : String,
|
20
|
+
"NodeType" : String,
|
21
|
+
"NumberOfNodes" : Integer,
|
22
|
+
"OwnerAccount" : String,
|
23
|
+
"Port" : Integer,
|
24
|
+
"PreferredMaintenanceWindow" : String,
|
25
|
+
"PubliclyAccessible" : Boolean,
|
26
|
+
"SnapshotClusterIdentifier" : String,
|
27
|
+
"SnapshotIdentifier" : String,
|
28
|
+
"VpcSecurityGroupIds" : [ String, ... ]
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"Type" : "AWS::Route53::RecordSet",
|
3
|
+
"Properties" : {
|
4
|
+
"AliasTarget" : AliasTarget,
|
5
|
+
"Comment" : String,
|
6
|
+
"Failover" : String,
|
7
|
+
"GeoLocation" : { GeoLocation },
|
8
|
+
"HealthCheckId" : String,
|
9
|
+
"HostedZoneId" : String,
|
10
|
+
"HostedZoneName" : String,
|
11
|
+
"Name" : String,
|
12
|
+
"Region" : String,
|
13
|
+
"ResourceRecords" : [ String ],
|
14
|
+
"SetIdentifier" : String,
|
15
|
+
"TTL" : String,
|
16
|
+
"Type" : String,
|
17
|
+
"Weight" : Integer
|
18
|
+
}
|
19
|
+
}
|
data/specs/S3-Bucket.cf
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"Type" : "AWS::S3::Bucket",
|
3
|
+
"Properties" : {
|
4
|
+
"AccessControl" : String,
|
5
|
+
"BucketName" : String,
|
6
|
+
"CorsConfiguration" : CORS Configuration,
|
7
|
+
"LifecycleConfiguration" : Lifecycle Configuration,
|
8
|
+
"LoggingConfiguration" : Logging Configuration,
|
9
|
+
"NotificationConfiguration" : Notification Configuration,
|
10
|
+
"ReplicationConfiguration" : Replication Configuration,
|
11
|
+
"Tags" : [ Resource Tag, ... ],
|
12
|
+
"VersioningConfiguration" : Versioning Configuration,
|
13
|
+
"WebsiteConfiguration" : Website Configuration Type
|
14
|
+
}
|
15
|
+
}
|
data/specs/SDB-Domain.cf
ADDED
data/specs/SNS-Topic.cf
ADDED
data/specs/SQS-Queue.cf
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"Type": "AWS::SQS::Queue",
|
3
|
+
"Properties": {
|
4
|
+
"DelaySeconds": Integer,
|
5
|
+
"MaximumMessageSize": Integer,
|
6
|
+
"MessageRetentionPeriod": Integer,
|
7
|
+
"QueueName": String,
|
8
|
+
"ReceiveMessageWaitTimeSeconds": Integer,
|
9
|
+
"RedrivePolicy": RedrivePolicy,
|
10
|
+
"VisibilityTimeout": Integer
|
11
|
+
}
|
12
|
+
}
|
data/specs/WAF-IPSet.cf
ADDED
data/specs/WAF-Rule.cf
ADDED
data/specs/WAF-WebACL.cf
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"Type" : "AWS::WorkSpaces::Workspace",
|
3
|
+
"Properties" : {
|
4
|
+
"BundleId" : String,
|
5
|
+
"DirectoryId" : String,
|
6
|
+
"UserName" : String,
|
7
|
+
"RootVolumeEncryptionEnabled" : Boolean,
|
8
|
+
"UserVolumeEncryptionEnabled" : Boolean,
|
9
|
+
"VolumeEncryptionKey" : String
|
10
|
+
}
|
11
|
+
}
|