1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #8902 from mathieumd/devel

Remove namespace restrictions in ec2_metric_alarm
This commit is contained in:
James Cammarata 2014-09-08 14:48:52 -05:00
commit b71bcb04f9

View file

@ -39,9 +39,8 @@ options:
required: false required: false
namespace: namespace:
description: description:
- Name of the appropriate namespace, which determines the category it will appear under in cloudwatch - Name of the appropriate namespace ('AWS/EC2', 'System/Linux', etc.), which determines the category it will appear under in cloudwatch
required: false required: false
options: ['AWS/AutoScaling','AWS/Billing','AWS/DynamoDB','AWS/ElastiCache','AWS/EBS','AWS/EC2','AWS/ELB','AWS/ElasticMapReduce','AWS/OpsWorks','AWS/Redshift','AWS/RDS','AWS/Route53','AWS/SNS','AWS/SQS','AWS/StorageGateway']
statistic: statistic:
description: description:
- Operation applied to the metric - Operation applied to the metric
@ -248,8 +247,8 @@ def main():
dict( dict(
name=dict(required=True, type='str'), name=dict(required=True, type='str'),
metric=dict(type='str'), metric=dict(type='str'),
namespace=dict(type='str', choices=['AWS/AutoScaling', 'AWS/Billing', 'AWS/DynamoDB', 'AWS/ElastiCache', 'AWS/EBS', 'AWS/EC2', namespace=dict(type='str'),
'AWS/ELB', 'AWS/ElasticMapReduce', 'AWS/OpsWorks', 'AWS/Redshift', 'AWS/RDS', 'AWS/Route53', 'AWS/SNS', 'AWS/SQS', 'AWS/StorageGateway']), statistic=dict(type='str', choices=['SampleCount', 'Average', 'Sum', 'Minimum', 'Maximum']), statistic=dict(type='str', choices=['SampleCount', 'Average', 'Sum', 'Minimum', 'Maximum']),
comparison=dict(type='str', choices=['<=', '<', '>', '>=']), comparison=dict(type='str', choices=['<=', '<', '>', '>=']),
threshold=dict(type='float'), threshold=dict(type='float'),
period=dict(type='int'), period=dict(type='int'),