cfnlego 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91d5bb36fd4268b21c16d1360abe3258173bc11b
4
- data.tar.gz: 18f76e8ce03f8ed7b8f5f43ad726c2e7512e188a
3
+ metadata.gz: 46716e01f3ed582616d334ab7e4f6301162ba656
4
+ data.tar.gz: ca0ea39c74f2d2764c5212869054e7d6c963ea94
5
5
  SHA512:
6
- metadata.gz: 5e7640745057d9c6474a1e9926d836d408f51cc94cbd76a1ffc1cb324d82510993f35bcb0a85086e4cbb922170a2859a5e65885ae42d2eaff08c88cf25bd91ae
7
- data.tar.gz: ab7f477cb97c9df5174968cf18e99e3b0d512834849caeaef58ce4f8d5b0455538073c289a6d2d2224a897a5e278b055bc28cda9be0191dc3c800efce8b82184
6
+ metadata.gz: 9ab56d5e967a115ab47db4c11240c0e4049b37bbce072006dea36aeeb72a6dbe3bf82e6ff9239eb7f0d811c2ac29c91e811c8153015dc2acd3afeab5c2b8827f
7
+ data.tar.gz: 1dd8cc21dd466efabb258565345654e1dfc8feeb590f7aaeb81526c718bc266534a06e5c1a2c7722ee180e4d9e8b3c9c9759bdb55f1e4cf4c1d68f6e9f79214a
data/README.md CHANGED
@@ -60,6 +60,12 @@ Example:
60
60
  - AWS::ECS::Cluster
61
61
  - AWS::ECS::Service
62
62
  - AWS::ECS::TaskDefinition
63
+ - AWS::ElastiCache::CacheCluster
64
+ - AWS::ElastiCache::ParameterGroup
65
+ - AWS::ElastiCache::ReplicationGroup
66
+ - AWS::ElastiCache::SecurityGroup
67
+ - AWS::ElastiCache::SecurityGroupIngress
68
+ - AWS::ElastiCache::SubnetGroup
63
69
  - AWS::ElasticLoadBalancing::LoadBalancer
64
70
  - AWS::IAM::InstanceProfile
65
71
  - AWS::IAM::ManagedPolicy
@@ -0,0 +1,40 @@
1
+ AWS::ElastiCache::CacheCluster:
2
+ Properties:
3
+ AutoMinorVersionUpgrade: "\"true\""
4
+ AZMode: "\"single-az or cross-az\""
5
+ CacheNodeType: "\"t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge\""
6
+ CacheParameterGroupName: "\"The name of the cache parameter group that is associated with this cache cluster.\""
7
+ CacheSecurityGroupNames: |
8
+ [ "A list of cache security group names that are associated with this cache cluster" ]
9
+ CacheSubnetGroupName: "\"The cache subnet group that you associate with a cache cluster.\""
10
+ ClusterName: "\"A name for the cache cluster. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the cache cluster. The name must contain 1 to 20 alphanumeric characters or hyphens. The name must start with a letter and cannot end with a hyphen or contain two consecutive hyphens.\""
11
+ Engine: "\"memcached or redis\""
12
+ EngineVersion: "\"The version of the cache engine to be used for this cluster.\""
13
+ NotificationTopicArn: "\"The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications\""
14
+ NumCacheNodes: "\"The number of cache nodes that the cache cluster should have.\""
15
+ Port: "\"The port number on which each of the cache nodes will accept connections.\""
16
+ PreferredAvailabilityZone: "\"The Amazon EC2 Availability Zone in which the cache cluster is created.\""
17
+ PreferredAvailabilityZones: |
18
+ [
19
+ "For Memcached cache clusters, the list of Availability Zones in which cache nodes are created. The number of Availability Zones listed must equal the number of cache nodes.",
20
+ "For example, if you want to create three nodes in two different Availability Zones, you can specify [\"us-east-1a\", \"us-east-1a\", \"us-east-1b\"], which would create two nodes in us-east-1a and one node in us-east-1b.",
21
+ "If you specify a subnet group and you're creating your cache cluster in a VPC, you must specify Availability Zones that are associated with the subnets in the subnet group that you've chosen.",
22
+ "If you want all the nodes in the same Availability Zone, use the PreferredAvailabilityZone property or repeat the Availability Zone multiple times in the list."
23
+ ]
24
+ PreferredMaintenanceWindow: "\"The weekly time range (in UTC) during which system maintenance can occur.\""
25
+ SnapshotArns: "\"The ARN of the snapshot file that you want to use to seed a new Redis cache cluster.\""
26
+ SnapshotName: "\"The name of a snapshot from which to restore data into a new Redis cache cluster.\""
27
+ SnapshotRetentionLimit: "\"For Redis cache clusters, the number of days for which ElastiCache retains automatic snapshots before deleting them. \""
28
+ SnapshotWindow: "\"For Redis cache clusters, the daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your node group. For example, you can specify 05:00-09:00.\""
29
+ Tags: |
30
+ [
31
+ {
32
+ "Key" => "Name",
33
+ "Value" => "A Cluster"
34
+ }
35
+ ]
36
+ VpcSecurityGroupIds: |
37
+ [
38
+ "A list of VPC security group IDs. If your cache cluster isn't in a VPC, specify the CacheSecurityGroupNames property instead",
39
+ "You must use the AWS::EC2::SecurityGroup resource instead of the AWS::ElastiCache::SecurityGroup resource in order to specify an ElastiCache security group that is in a VPC. In addition, if you use the default VPC for your AWS account, you must use the Fn::GetAtt function and the GroupId attribute to retrieve security group IDs (instead of the Ref function). To see a sample template, see the Template Snippet section."
40
+ ]
@@ -0,0 +1,10 @@
1
+ AWS::ElastiCache::ParameterGroup:
2
+ Properties:
3
+ CacheParameterGroupFamily: "\"The name of the cache parameter group family that the cache parameter group can be used with.\""
4
+ Description: "\"The description for the Cache Parameter Group.\""
5
+ Properties: |
6
+ {
7
+ "cas_disabled" => "1",
8
+ "chunk_size_growth_factor" => "1.02"
9
+ }
10
+
@@ -0,0 +1,33 @@
1
+ AWS::ElastiCache::ReplicationGroup:
2
+ Properties:
3
+ AutomaticFailoverEnabled: "\"true or false. Currently, replication groups are supported only for Redis clusters. \""
4
+ AutoMinorVersionUpgrade: "\"true of false\""
5
+ CacheNodeType: "\"Current generation: cache.t2.micro, cache.t2.small, cache.t2.medium, cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge\""
6
+ CacheParameterGroupName: "\"The name of the parameter group to associate with this replication group.\""
7
+ CacheSecurityGroupNames: |
8
+ [
9
+ "A list of cache security group names to associate with this replication group.",
10
+ "If you specify the SecurityGroupIds property, do not specify this property; you can specify only one."
11
+ ]
12
+ CacheSubnetGroupName: "\"The name of a cache subnet group to use for this replication group.\""
13
+ Engine: "\"Currently, you can specify only redis.\""
14
+ EngineVersion: "\"The version number of the cache engine to use for the cache clusters in this replication group.\""
15
+ NotificationTopicArn: "\"The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic to which notifications are sent.\""
16
+ NumCacheClusters: "\"The number of cache clusters for this replication group. If automatic failover is enabled, you must specify a value greater than 1.\""
17
+ Port: "\"The port number on which each member of the replication group accepts connections.\""
18
+ PreferredCacheClusterAZs: |
19
+ [
20
+ "A list of Availability Zones (AZs) in which the cache clusters in this replication group are created."
21
+ ]
22
+ PreferredMaintenanceWindow: "\"Not Required. The weekly time range during which system maintenance can occur. Use the following format to specify a time range: ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). For example, you can specify sun:22:00-sun:23:30 for Sunday from 10 PM to 11:30 PM.\""
23
+ ReplicationGroupDescription: "\"Required: The description of the replication group.\""
24
+ SecurityGroupIds: |
25
+ [
26
+ "A list of Amazon Virtual Private Cloud (Amazon VPC) security groups to associate with this replication group. Use this property only when you are creating a replication group in a VPC. If you specify the CacheSecurityGroupNames property, do not specify this property; you can specify only one."
27
+ ]
28
+ SnapshotArns: |
29
+ [
30
+ "A single-element string list that specifies an ARN of a Redis .rdb snapshot file that is stored in Amazon Simple Storage Service (Amazon S3). The snapshot file populates the node group. The Amazon S3 object name in the ARN cannot contain commas. For example, you can specify arn:aws:s3:::my_bucket/snapshot1.rdb."
31
+ ]
32
+ SnapshotRetentionLimit: "\"The number of days that ElastiCache retains automatic snapshots before deleting them.\""
33
+ SnapshotWindow: "\"The time range (in UTC) when ElastiCache takes a daily snapshot of your node group. For example, you can specify 05:00-09:00.\""
@@ -0,0 +1,3 @@
1
+ AWS::ElastiCache::SecurityGroup:
2
+ Properties:
3
+ Description: "\"A description for the cache security group.\""
@@ -0,0 +1,5 @@
1
+ AWS::ElastiCache::SecurityGroupIngress:
2
+ Properties:
3
+ CacheSecurityGroupName: "\"The name of the Cache Security Group to authorize.\""
4
+ EC2SecurityGroupName: "\"Name of the EC2 Security Group to include in the authorization.\""
5
+ EC2SecurityGroupOwnerId: "\"Specifies the AWS Account ID of the owner of the EC2 security group specified in the EC2SecurityGroupName property. The AWS access key ID is not an acceptable value.\""
@@ -0,0 +1,5 @@
1
+ AWS::ElastiCache::SubnetGroup:
2
+ Properties:
3
+ Description: "\"The description for the cache subnet group.\""
4
+ SubnetIds: |
5
+ [ "The Amazon EC2 subnet IDs for the cache subnet group." ]
@@ -1,3 +1,3 @@
1
1
  module Cfnlego
2
- VERSION='0.2.9'
2
+ VERSION='0.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfnlego
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Yung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2016-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-beautify
@@ -115,6 +115,12 @@ files:
115
115
  - lib/cfnlego/resources/AWS/ECS/Cluster.yaml
116
116
  - lib/cfnlego/resources/AWS/ECS/Service.yaml
117
117
  - lib/cfnlego/resources/AWS/ECS/TaskDefinition.yaml
118
+ - lib/cfnlego/resources/AWS/ElastiCache/CacheCluster.yaml
119
+ - lib/cfnlego/resources/AWS/ElastiCache/ParameterGroup.yaml
120
+ - lib/cfnlego/resources/AWS/ElastiCache/ReplicationGroup.yaml
121
+ - lib/cfnlego/resources/AWS/ElastiCache/SecurityGroup.yaml
122
+ - lib/cfnlego/resources/AWS/ElastiCache/SecurityGroupIngress.yaml
123
+ - lib/cfnlego/resources/AWS/ElastiCache/SubnetGroup.yaml
118
124
  - lib/cfnlego/resources/AWS/ElasticLoadBalancing/LoadBalancer.yaml
119
125
  - lib/cfnlego/resources/AWS/IAM/InstanceProfile.yaml
120
126
  - lib/cfnlego/resources/AWS/IAM/ManagedPolicy.yaml