cfnlego 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59ad14b928a13adc1f51587008b1516ecc9fffbc
4
- data.tar.gz: 3ed5d27e3f6289cb2c1356b9f2eed8e963e875a6
3
+ metadata.gz: 91d5bb36fd4268b21c16d1360abe3258173bc11b
4
+ data.tar.gz: 18f76e8ce03f8ed7b8f5f43ad726c2e7512e188a
5
5
  SHA512:
6
- metadata.gz: 8131b92152afd233408d31b66efc84d934e6608a37dd6e1a285404ba8fefb82b692fd37116190ccb031726953bcc2961d5a72af6cb0cb3b0dd9dd67e977d1846
7
- data.tar.gz: 5522a4b06adc044518164194a146b443820d76935ce6df020560964dd89a8b66a33edfc256ed42c12d7f4c52daf570e7baba6eb13254859956581f0bf024557f
6
+ metadata.gz: 5e7640745057d9c6474a1e9926d836d408f51cc94cbd76a1ffc1cb324d82510993f35bcb0a85086e4cbb922170a2859a5e65885ae42d2eaff08c88cf25bd91ae
7
+ data.tar.gz: ab7f477cb97c9df5174968cf18e99e3b0d512834849caeaef58ce4f8d5b0455538073c289a6d2d2224a897a5e278b055bc28cda9be0191dc3c800efce8b82184
data/README.md CHANGED
@@ -51,6 +51,7 @@ Example:
51
51
  - AWS::EC2::SecurityGroup
52
52
  - AWS::EC2::SpotFleet
53
53
  - AWS::EC2::Subnet
54
+ - AWS::EC2::SubnetNetworkAclAssociation
54
55
  - AWS::EC2::SubnetRouteTableAssociation
55
56
  - AWS::EC2::VPC
56
57
  - AWS::EC2::VPCDHCPOptionsAssociation
@@ -63,15 +64,21 @@ Example:
63
64
  - AWS::IAM::InstanceProfile
64
65
  - AWS::IAM::ManagedPolicy
65
66
  - AWS::IAM::Role
66
- - AWS::Kinesis::Stream
67
67
  - AWS::KMS::Key
68
+ - AWS::Kinesis::Stream
68
69
  - AWS::Lambda::EventSourceMapping
69
70
  - AWS::Lambda::Function
70
71
  - AWS::Lambda::Permission
72
+ - AWS::Logs::Destination
73
+ - AWS::Logs::LogGroup
74
+ - AWS::Logs::LogStream
75
+ - AWS::Logs::MetricFilter
76
+ - AWS::Logs::SubscriptionFilter
71
77
  - AWS::Route53::HealthCheck
72
78
  - AWS::Route53::HostedZone
73
79
  - AWS::Route53::RecordSet
74
80
  - AWS::Route53::RecordSetGroup
81
+ - AWS::S3::Bucket
75
82
  - AWS::SNS::Topic
76
83
  - AWS::SNS::TopicPolicy
77
84
 
@@ -11,7 +11,7 @@ AWS::AutoScaling::AutoScalingGroup:
11
11
  {
12
12
  "MaxBatchSize" => "1",
13
13
  "MinInstancesInService" => "1",
14
- "PauseTime" => "300",
14
+ "PauseTime" => "PT1M0S",
15
15
  "SuspendProcesses" => ["Launch", "Terminate", "HealthCheck", "ReplaceUnhealthy", "AZRebalance", "AlarmNotification", "ScheduledActions", "AddToLoadBalancer"],
16
16
  "WaitOnResourceSignals" => true
17
17
  }
@@ -29,10 +29,10 @@ AWS::AutoScaling::AutoScalingGroup:
29
29
  ["lb-xxxx"] #[Ref("LoadBalancer")]
30
30
  MaxSize: "2"
31
31
  MetricsCollection: |
32
- {
32
+ [{
33
33
  "Granularity" => "1Minute",
34
- "Metrics" => [] #all metrics will be sent to cloudwatch by default
35
- }
34
+ "Metrics" => [ "GroupMinSize", "GroupMaxSize", "GroupDesiredCapacity", "GroupInServiceInstances", "GroupPendingInstances", "GroupStandbyInstances", "GroupTerminatingInstances", "GroupTotalInstances " ]
35
+ }]
36
36
  MinSize: "1"
37
37
  NotificationConfigurations: |
38
38
  [{
@@ -3,7 +3,13 @@ AWS::ECS::Service:
3
3
  Cluster: "String"
4
4
  DesiredCounti: "Integer"
5
5
  LoadBalancers: |
6
- [ "elb" ] # Ref("elb")
6
+ [
7
+ {
8
+ "ContainerName" => "Name",
9
+ "ContainerPort" => "8080",
10
+ "LoadBalancerName" => "ELB Name"
11
+ }
12
+ ]
7
13
  Role: "\"The name or ARN of an AWS Identity and Access Management (IAM) role that allows your Amazon ECS container agent to make calls to your load balancer\""
8
14
  TaskDefinition: "\"task-def # Ref(task) The family, family and revision (family:revision), or ARN of the task definition that you want to run on the cluster.\""
9
15
 
@@ -1,3 +1,3 @@
1
1
  module Cfnlego
2
- VERSION='0.2.8'
2
+ VERSION='0.2.9'
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.8
4
+ version: 0.2.9
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-02-11 00:00:00.000000000 Z
11
+ date: 2016-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-beautify