cfnlego 0.2.7 → 0.2.8

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: 1fa8f361450fb6248bc0233b28c1d97c5f4b2750
4
- data.tar.gz: 507e7d9a72b7b913285439b5101e3c11399a4ffa
3
+ metadata.gz: 59ad14b928a13adc1f51587008b1516ecc9fffbc
4
+ data.tar.gz: 3ed5d27e3f6289cb2c1356b9f2eed8e963e875a6
5
5
  SHA512:
6
- metadata.gz: 564671093f360d0365f54f8d2ca8e3b3c3b7cafa8b58ea4d2c38d2183028c6dee9d93fdc6231f842379d967ea16d0f564862f06ecf8a203b1d6152de985d712f
7
- data.tar.gz: a11b3efb579369ae446d25b1b58c749ce81b1d7249037dc0cf152a8596a46a1b0af510d6c02ab71d771b61c36ac1e82563ee32730ca52b9dffecc9db345ca407
6
+ metadata.gz: 8131b92152afd233408d31b66efc84d934e6608a37dd6e1a285404ba8fefb82b692fd37116190ccb031726953bcc2961d5a72af6cb0cb3b0dd9dd67e977d1846
7
+ data.tar.gz: 5522a4b06adc044518164194a146b443820d76935ce6df020560964dd89a8b66a33edfc256ed42c12d7f4c52daf570e7baba6eb13254859956581f0bf024557f
@@ -0,0 +1,6 @@
1
+ AWS::Logs::Destination:
2
+ Properties:
3
+ DestinationName: "\"The name of the CloudWatch Logs destination.\""
4
+ DestinationPolicy: "\"An AWS Identity and Access Management (IAM) policy that specifies who can write to your destination.\""
5
+ RoleArn: "\"The Amazon Resource Name (ARN) of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource (TargetArn).\""
6
+ TargetArn: "\"The ARN of the AWS resource that receives log events. Currently, you can specify only an Amazon Kinesis stream.\""
@@ -0,0 +1,3 @@
1
+ AWS::Logs::LogGroup:
2
+ Properties:
3
+ RetentionInDays: "\"Integer, Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653. The number of days log events are kept in CloudWatch Logs. When a log event expires, CloudWatch Logs automatically deletes it.\""
@@ -0,0 +1,4 @@
1
+ AWS::Logs::LogStream:
2
+ Properties:
3
+ LogGroupName: "\"The name of the log group where the log stream is created.\""
4
+ LogStreamName: "\"The name of the log stream to create. The name must be unique within the log group.\""
@@ -0,0 +1,13 @@
1
+ AWS::Logs::MetricFilter:
2
+ Properties:
3
+ FilterPattern: |
4
+ ["timestamps", "ip_addresses", "error_codes = 1234*", "size", "..."]
5
+ LogGroupName: "\"The name of an existing log group that you want to associate with this metric filter.\""
6
+ MetricTransformations: |
7
+ [
8
+ {
9
+ "MetricName" => "The name of the CloudWatch metric to which the log information will be published.",
10
+ "MetricNamespace" => "The destination namespace of the CloudWatch metric. Namespaces are containers for metrics. For example, you can add related metrics in the same namespace.",
11
+ "MetricValue" => "The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like Error, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $ followed by the name of the field that you specified in the filter pattern, such as $size."
12
+ }
13
+ ]
@@ -0,0 +1,6 @@
1
+ AWS::Logs::SubscriptionFilter:
2
+ Properties:
3
+ DestinationArn: "\"The Amazon Resource Name (ARN) of the Amazon Kinesis stream that you want to use as the subscription feed destination\""
4
+ FilterPattern: "\"see syntax in http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html\""
5
+ LogGroupName: "\"The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified Amazon Kinesis stream if the filter pattern matches the log events.\""
6
+ RoleArn: "\"An IAM role that grants CloudWatch Logs permission to put data into the specified Amazon Kinesis stream. Required: Conditional. You must specify this property unless you specify a CloudWatch Logs destination for the DestinationArn property. In this case, do not specify this property.\""
@@ -1,3 +1,3 @@
1
1
  module Cfnlego
2
- VERSION='0.2.7'
2
+ VERSION='0.2.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfnlego
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Yung
@@ -124,6 +124,11 @@ files:
124
124
  - lib/cfnlego/resources/AWS/Lambda/EventSourceMapping.yaml
125
125
  - lib/cfnlego/resources/AWS/Lambda/Function.yaml
126
126
  - lib/cfnlego/resources/AWS/Lambda/Permission.yaml
127
+ - lib/cfnlego/resources/AWS/Logs/Destination.yaml
128
+ - lib/cfnlego/resources/AWS/Logs/LogGroup.yaml
129
+ - lib/cfnlego/resources/AWS/Logs/LogStream.yaml
130
+ - lib/cfnlego/resources/AWS/Logs/MetricFilter.yaml
131
+ - lib/cfnlego/resources/AWS/Logs/SubscriptionFilter.yaml
127
132
  - lib/cfnlego/resources/AWS/Route53/HealthCheck.yaml
128
133
  - lib/cfnlego/resources/AWS/Route53/HostedZone.yaml
129
134
  - lib/cfnlego/resources/AWS/Route53/RecordSet.yaml