cmonson_2ndwatch_awspec 0.85.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +12 -0
- data/.gitignore +10 -0
- data/.rubocop.yml +87 -0
- data/.tachikoma.yml +1 -0
- data/.travis.yml +12 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +126 -0
- data/Rakefile +54 -0
- data/awspec-logo.png +0 -0
- data/awspec.gemspec +35 -0
- data/bin/console +7 -0
- data/bin/setup +5 -0
- data/bin/toolbox +5 -0
- data/doc/_resource_types/acm.md +15 -0
- data/doc/_resource_types/alb.md +39 -0
- data/doc/_resource_types/alb_listener.md +29 -0
- data/doc/_resource_types/alb_target_group.md +35 -0
- data/doc/_resource_types/ami.md +19 -0
- data/doc/_resource_types/autoscaling_group.md +47 -0
- data/doc/_resource_types/cloudformation_stack.md +8 -0
- data/doc/_resource_types/cloudfront_distribution.md +44 -0
- data/doc/_resource_types/cloudtrail.md +39 -0
- data/doc/_resource_types/cloudwatch_alarm.md +39 -0
- data/doc/_resource_types/cloudwatch_logs.md +40 -0
- data/doc/_resource_types/customer_gateway.md +25 -0
- data/doc/_resource_types/directconnect_virtual_interface.md +30 -0
- data/doc/_resource_types/dynamodb_table.md +52 -0
- data/doc/_resource_types/ebs.md +49 -0
- data/doc/_resource_types/ec2.md +153 -0
- data/doc/_resource_types/ec2_account_attributes.md +8 -0
- data/doc/_resource_types/ecs_cluster.md +23 -0
- data/doc/_resource_types/ecs_container_instance.md +18 -0
- data/doc/_resource_types/ecs_service.md +15 -0
- data/doc/_resource_types/ecs_task_definition.md +15 -0
- data/doc/_resource_types/efs.md +15 -0
- data/doc/_resource_types/eip.md +23 -0
- data/doc/_resource_types/elasticache.md +57 -0
- data/doc/_resource_types/elasticache_cache_parameter_group.md +17 -0
- data/doc/_resource_types/elasticsearch.md +48 -0
- data/doc/_resource_types/elastictranscoder_pipeline.md +15 -0
- data/doc/_resource_types/elb.md +49 -0
- data/doc/_resource_types/iam_group.md +86 -0
- data/doc/_resource_types/iam_policy.md +39 -0
- data/doc/_resource_types/iam_role.md +70 -0
- data/doc/_resource_types/iam_user.md +78 -0
- data/doc/_resource_types/internet_gateway.md +31 -0
- data/doc/_resource_types/kms.md +70 -0
- data/doc/_resource_types/lambda.md +11 -0
- data/doc/_resource_types/lambda_account_settings.md +10 -0
- data/doc/_resource_types/launch_configuration.md +15 -0
- data/doc/_resource_types/nat_gateway.md +31 -0
- data/doc/_resource_types/network_acl.md +61 -0
- data/doc/_resource_types/network_interface.md +66 -0
- data/doc/_resource_types/rds.md +92 -0
- data/doc/_resource_types/rds_account_attributes.md +8 -0
- data/doc/_resource_types/rds_db_cluster_parameter_group.md +16 -0
- data/doc/_resource_types/rds_db_parameter_group.md +15 -0
- data/doc/_resource_types/route53_hosted_zone.md +25 -0
- data/doc/_resource_types/route_table.md +53 -0
- data/doc/_resource_types/s3_bucket.md +138 -0
- data/doc/_resource_types/security_group.md +44 -0
- data/doc/_resource_types/ses_identity.md +17 -0
- data/doc/_resource_types/ses_send_quota.md +9 -0
- data/doc/_resource_types/sqs.md +7 -0
- data/doc/_resource_types/subnet.md +41 -0
- data/doc/_resource_types/vpc.md +59 -0
- data/doc/_resource_types/vpn_connection.md +25 -0
- data/doc/_resource_types/vpn_gateway.md +25 -0
- data/doc/_resource_types/waf_web_acl.md +29 -0
- data/doc/contributing.md +36 -0
- data/doc/resource_types.md +2779 -0
- data/exe/awspec +5 -0
- data/lib/awspec.rb +20 -0
- data/lib/awspec/cli.rb +25 -0
- data/lib/awspec/command/generate.rb +57 -0
- data/lib/awspec/error.rb +6 -0
- data/lib/awspec/ext.rb +3 -0
- data/lib/awspec/ext/array.rb +8 -0
- data/lib/awspec/ext/hash.rb +10 -0
- data/lib/awspec/ext/struct.rb +8 -0
- data/lib/awspec/generator.rb +46 -0
- data/lib/awspec/generator/doc/type.rb +60 -0
- data/lib/awspec/generator/doc/type/account.rb +71 -0
- data/lib/awspec/generator/doc/type/account_attribute.rb +69 -0
- data/lib/awspec/generator/doc/type/account_attribute_base.rb +32 -0
- data/lib/awspec/generator/doc/type/acm.rb +19 -0
- data/lib/awspec/generator/doc/type/alb.rb +20 -0
- data/lib/awspec/generator/doc/type/alb_listener.rb +18 -0
- data/lib/awspec/generator/doc/type/alb_target_group.rb +17 -0
- data/lib/awspec/generator/doc/type/ami.rb +19 -0
- data/lib/awspec/generator/doc/type/autoscaling_group.rb +16 -0
- data/lib/awspec/generator/doc/type/base.rb +99 -0
- data/lib/awspec/generator/doc/type/cloudformation_stack.rb +17 -0
- data/lib/awspec/generator/doc/type/cloudfront_distribution.rb +20 -0
- data/lib/awspec/generator/doc/type/cloudtrail.rb +17 -0
- data/lib/awspec/generator/doc/type/cloudwatch_alarm.rb +17 -0
- data/lib/awspec/generator/doc/type/cloudwatch_event.rb +17 -0
- data/lib/awspec/generator/doc/type/cloudwatch_logs.rb +17 -0
- data/lib/awspec/generator/doc/type/customer_gateway.rb +19 -0
- data/lib/awspec/generator/doc/type/directconnect_virtual_interface.rb +21 -0
- data/lib/awspec/generator/doc/type/dynamodb_table.rb +19 -0
- data/lib/awspec/generator/doc/type/ebs.rb +19 -0
- data/lib/awspec/generator/doc/type/ec2.rb +21 -0
- data/lib/awspec/generator/doc/type/ec2_account_attributes.rb +17 -0
- data/lib/awspec/generator/doc/type/ecr_repository.rb +15 -0
- data/lib/awspec/generator/doc/type/ecs_cluster.rb +19 -0
- data/lib/awspec/generator/doc/type/ecs_container_instance.rb +19 -0
- data/lib/awspec/generator/doc/type/ecs_service.rb +19 -0
- data/lib/awspec/generator/doc/type/ecs_task_definition.rb +19 -0
- data/lib/awspec/generator/doc/type/efs.rb +17 -0
- data/lib/awspec/generator/doc/type/eip.rb +17 -0
- data/lib/awspec/generator/doc/type/elasticache.rb +22 -0
- data/lib/awspec/generator/doc/type/elasticache_cache_parameter_group.rb +17 -0
- data/lib/awspec/generator/doc/type/elasticsearch.rb +17 -0
- data/lib/awspec/generator/doc/type/elastictranscoder_pipeline.rb +21 -0
- data/lib/awspec/generator/doc/type/elb.rb +20 -0
- data/lib/awspec/generator/doc/type/iam_group.rb +17 -0
- data/lib/awspec/generator/doc/type/iam_policy.rb +17 -0
- data/lib/awspec/generator/doc/type/iam_role.rb +17 -0
- data/lib/awspec/generator/doc/type/iam_user.rb +17 -0
- data/lib/awspec/generator/doc/type/internet_gateway.rb +17 -0
- data/lib/awspec/generator/doc/type/kms.rb +17 -0
- data/lib/awspec/generator/doc/type/lambda.rb +17 -0
- data/lib/awspec/generator/doc/type/lambda_account_settings.rb +17 -0
- data/lib/awspec/generator/doc/type/launch_configuration.rb +17 -0
- data/lib/awspec/generator/doc/type/nat_gateway.rb +20 -0
- data/lib/awspec/generator/doc/type/network_acl.rb +20 -0
- data/lib/awspec/generator/doc/type/network_interface.rb +21 -0
- data/lib/awspec/generator/doc/type/rds.rb +22 -0
- data/lib/awspec/generator/doc/type/rds_account_attributes.rb +17 -0
- data/lib/awspec/generator/doc/type/rds_db_cluster_parameter_group.rb +15 -0
- data/lib/awspec/generator/doc/type/rds_db_parameter_group.rb +15 -0
- data/lib/awspec/generator/doc/type/route53_hosted_zone.rb +16 -0
- data/lib/awspec/generator/doc/type/route_table.rb +16 -0
- data/lib/awspec/generator/doc/type/s3_bucket.rb +16 -0
- data/lib/awspec/generator/doc/type/security_group.rb +16 -0
- data/lib/awspec/generator/doc/type/ses_identity.rb +22 -0
- data/lib/awspec/generator/doc/type/ses_send_quota.rb +17 -0
- data/lib/awspec/generator/doc/type/sqs.rb +17 -0
- data/lib/awspec/generator/doc/type/subnet.rb +18 -0
- data/lib/awspec/generator/doc/type/vpc.rb +19 -0
- data/lib/awspec/generator/doc/type/vpn_connection.rb +19 -0
- data/lib/awspec/generator/doc/type/vpn_gateway.rb +19 -0
- data/lib/awspec/generator/doc/type/waf_web_acl.rb +17 -0
- data/lib/awspec/generator/spec/acm.rb +27 -0
- data/lib/awspec/generator/spec/alb.rb +38 -0
- data/lib/awspec/generator/spec/cloudwatch_alarm.rb +40 -0
- data/lib/awspec/generator/spec/cloudwatch_event.rb +27 -0
- data/lib/awspec/generator/spec/cloudwatch_logs.rb +68 -0
- data/lib/awspec/generator/spec/directconnect.rb +33 -0
- data/lib/awspec/generator/spec/ebs.rb +55 -0
- data/lib/awspec/generator/spec/ec2.rb +78 -0
- data/lib/awspec/generator/spec/efs.rb +28 -0
- data/lib/awspec/generator/spec/eip.rb +30 -0
- data/lib/awspec/generator/spec/elasticsearch.rb +41 -0
- data/lib/awspec/generator/spec/elb.rb +56 -0
- data/lib/awspec/generator/spec/iam_group.rb +39 -0
- data/lib/awspec/generator/spec/iam_policy.rb +56 -0
- data/lib/awspec/generator/spec/iam_role.rb +39 -0
- data/lib/awspec/generator/spec/iam_user.rb +39 -0
- data/lib/awspec/generator/spec/internet_gateway.rb +35 -0
- data/lib/awspec/generator/spec/kms.rb +26 -0
- data/lib/awspec/generator/spec/lambda.rb +29 -0
- data/lib/awspec/generator/spec/nat_gateway.rb +39 -0
- data/lib/awspec/generator/spec/network_acl.rb +96 -0
- data/lib/awspec/generator/spec/network_interface.rb +80 -0
- data/lib/awspec/generator/spec/rds.rb +62 -0
- data/lib/awspec/generator/spec/route53_hosted_zone.rb +52 -0
- data/lib/awspec/generator/spec/route_table.rb +128 -0
- data/lib/awspec/generator/spec/s3_bucket.rb +70 -0
- data/lib/awspec/generator/spec/security_group.rb +95 -0
- data/lib/awspec/generator/spec/subnet.rb +47 -0
- data/lib/awspec/generator/spec/vpc.rb +57 -0
- data/lib/awspec/generator/template.rb +146 -0
- data/lib/awspec/helper.rb +8 -0
- data/lib/awspec/helper/color.rb +5 -0
- data/lib/awspec/helper/finder.rb +119 -0
- data/lib/awspec/helper/finder/account_attributes.rb +61 -0
- data/lib/awspec/helper/finder/acm.rb +18 -0
- data/lib/awspec/helper/finder/alb.rb +48 -0
- data/lib/awspec/helper/finder/ami.rb +22 -0
- data/lib/awspec/helper/finder/autoscaling.rb +34 -0
- data/lib/awspec/helper/finder/cloudformation.rb +12 -0
- data/lib/awspec/helper/finder/cloudfront.rb +18 -0
- data/lib/awspec/helper/finder/cloudtrail.rb +23 -0
- data/lib/awspec/helper/finder/cloudwatch.rb +30 -0
- data/lib/awspec/helper/finder/cloudwatch_event.rb +15 -0
- data/lib/awspec/helper/finder/cloudwatch_logs.rb +68 -0
- data/lib/awspec/helper/finder/directconnect.rb +19 -0
- data/lib/awspec/helper/finder/dynamodb.rb +10 -0
- data/lib/awspec/helper/finder/ebs.rb +40 -0
- data/lib/awspec/helper/finder/ec2.rb +158 -0
- data/lib/awspec/helper/finder/ecr.rb +10 -0
- data/lib/awspec/helper/finder/ecs.rb +45 -0
- data/lib/awspec/helper/finder/efs.rb +63 -0
- data/lib/awspec/helper/finder/elasticache.rb +21 -0
- data/lib/awspec/helper/finder/elasticsearch.rb +19 -0
- data/lib/awspec/helper/finder/elastictranscoder.rb +18 -0
- data/lib/awspec/helper/finder/elb.rb +21 -0
- data/lib/awspec/helper/finder/iam.rb +108 -0
- data/lib/awspec/helper/finder/kms.rb +22 -0
- data/lib/awspec/helper/finder/lambda.rb +32 -0
- data/lib/awspec/helper/finder/rds.rb +25 -0
- data/lib/awspec/helper/finder/route53.rb +31 -0
- data/lib/awspec/helper/finder/s3.rb +64 -0
- data/lib/awspec/helper/finder/security_group.rb +35 -0
- data/lib/awspec/helper/finder/ses.rb +13 -0
- data/lib/awspec/helper/finder/sqs.rb +12 -0
- data/lib/awspec/helper/finder/subnet.rb +29 -0
- data/lib/awspec/helper/finder/vpc.rb +77 -0
- data/lib/awspec/helper/finder/waf.rb +53 -0
- data/lib/awspec/helper/type.rb +67 -0
- data/lib/awspec/matcher.rb +62 -0
- data/lib/awspec/matcher/be_allowed.rb +25 -0
- data/lib/awspec/matcher/be_allowed_action.rb +19 -0
- data/lib/awspec/matcher/be_attached_to.rb +19 -0
- data/lib/awspec/matcher/be_denied.rb +25 -0
- data/lib/awspec/matcher/be_opened.rb +17 -0
- data/lib/awspec/matcher/be_opened_only.rb +17 -0
- data/lib/awspec/matcher/belong_to_alb.rb +8 -0
- data/lib/awspec/matcher/belong_to_cache_subnet_group.rb +5 -0
- data/lib/awspec/matcher/belong_to_db_subnet_group.rb +5 -0
- data/lib/awspec/matcher/belong_to_domain.rb +5 -0
- data/lib/awspec/matcher/belong_to_iam_group.rb +8 -0
- data/lib/awspec/matcher/belong_to_metric.rb +13 -0
- data/lib/awspec/matcher/belong_to_replication_group.rb +6 -0
- data/lib/awspec/matcher/belong_to_subnet.rb +31 -0
- data/lib/awspec/matcher/belong_to_vpc.rb +8 -0
- data/lib/awspec/matcher/have_attribute_definition.rb +9 -0
- data/lib/awspec/matcher/have_inline_policy.rb +9 -0
- data/lib/awspec/matcher/have_key_policy.rb +9 -0
- data/lib/awspec/matcher/have_key_schema.rb +9 -0
- data/lib/awspec/matcher/have_network_interface.rb +15 -0
- data/lib/awspec/matcher/have_origin.rb +21 -0
- data/lib/awspec/matcher/have_private_ip_address.rb +9 -0
- data/lib/awspec/matcher/have_record_set.rb +32 -0
- data/lib/awspec/matcher/have_route.rb +36 -0
- data/lib/awspec/matcher/have_rule.rb +34 -0
- data/lib/awspec/matcher/have_subscription_filter.rb +9 -0
- data/lib/awspec/matcher/have_tag.rb +9 -0
- data/lib/awspec/resource_reader.rb +54 -0
- data/lib/awspec/setup.rb +84 -0
- data/lib/awspec/shared_context.rb +25 -0
- data/lib/awspec/stub.rb +7 -0
- data/lib/awspec/stub/account.rb +146 -0
- data/lib/awspec/stub/acm.rb +20 -0
- data/lib/awspec/stub/alb.rb +252 -0
- data/lib/awspec/stub/alb_listener.rb +307 -0
- data/lib/awspec/stub/alb_target_group.rb +325 -0
- data/lib/awspec/stub/ami.rb +58 -0
- data/lib/awspec/stub/autoscaling_group.rb +241 -0
- data/lib/awspec/stub/cloudformation_stack.rb +49 -0
- data/lib/awspec/stub/cloudfront_distribution.rb +210 -0
- data/lib/awspec/stub/cloudtrail.rb +17 -0
- data/lib/awspec/stub/cloudwatch_alarm.rb +39 -0
- data/lib/awspec/stub/cloudwatch_event.rb +15 -0
- data/lib/awspec/stub/cloudwatch_logs.rb +34 -0
- data/lib/awspec/stub/customer_gateway.rb +16 -0
- data/lib/awspec/stub/directconnect_virtual_interface.rb +25 -0
- data/lib/awspec/stub/duplicated_resource_type.rb +26 -0
- data/lib/awspec/stub/dynamodb_table.rb +34 -0
- data/lib/awspec/stub/ebs.rb +67 -0
- data/lib/awspec/stub/ec2.rb +227 -0
- data/lib/awspec/stub/ec2_has_multi_security_groups.rb +21 -0
- data/lib/awspec/stub/ecr_repository.rb +13 -0
- data/lib/awspec/stub/ecs.rb +199 -0
- data/lib/awspec/stub/ecs_cluster.rb +99 -0
- data/lib/awspec/stub/ecs_container_instance.rb +78 -0
- data/lib/awspec/stub/ecs_service.rb +51 -0
- data/lib/awspec/stub/ecs_task_definition.rb +58 -0
- data/lib/awspec/stub/efs.rb +33 -0
- data/lib/awspec/stub/eip.rb +13 -0
- data/lib/awspec/stub/elasticache.rb +91 -0
- data/lib/awspec/stub/elasticache_cache_parameter_group.rb +16 -0
- data/lib/awspec/stub/elasticsearch.rb +52 -0
- data/lib/awspec/stub/elastictranscoder_pipeline.rb +63 -0
- data/lib/awspec/stub/elb.rb +129 -0
- data/lib/awspec/stub/iam_group.rb +90 -0
- data/lib/awspec/stub/iam_policy.rb +70 -0
- data/lib/awspec/stub/iam_role.rb +60 -0
- data/lib/awspec/stub/iam_user.rb +71 -0
- data/lib/awspec/stub/internet_gateway.rb +36 -0
- data/lib/awspec/stub/kms.rb +71 -0
- data/lib/awspec/stub/lambda.rb +21 -0
- data/lib/awspec/stub/launch_configuration.rb +56 -0
- data/lib/awspec/stub/nat_gateway.rb +35 -0
- data/lib/awspec/stub/network_acl.rb +97 -0
- data/lib/awspec/stub/network_interface.rb +144 -0
- data/lib/awspec/stub/rds.rb +102 -0
- data/lib/awspec/stub/rds_db_cluster_parameter_group.rb +20 -0
- data/lib/awspec/stub/rds_db_parameter_group.rb +20 -0
- data/lib/awspec/stub/route53_hosted_zone.rb +103 -0
- data/lib/awspec/stub/route_table.rb +207 -0
- data/lib/awspec/stub/s3_bucket.rb +80 -0
- data/lib/awspec/stub/security_group.rb +149 -0
- data/lib/awspec/stub/ses_identity.rb +41 -0
- data/lib/awspec/stub/sqs.rb +25 -0
- data/lib/awspec/stub/subnet.rb +33 -0
- data/lib/awspec/stub/vpc.rb +69 -0
- data/lib/awspec/stub/vpn_connection.rb +20 -0
- data/lib/awspec/stub/vpn_gateway.rb +15 -0
- data/lib/awspec/stub/waf_web_acl.rb +62 -0
- data/lib/awspec/toolbox.rb +18 -0
- data/lib/awspec/type/account.rb +35 -0
- data/lib/awspec/type/account_attribute.rb +28 -0
- data/lib/awspec/type/account_attribute_base.rb +4 -0
- data/lib/awspec/type/acm.rb +27 -0
- data/lib/awspec/type/alb.rb +42 -0
- data/lib/awspec/type/alb_listener.rb +36 -0
- data/lib/awspec/type/alb_target_group.rb +22 -0
- data/lib/awspec/type/ami.rb +25 -0
- data/lib/awspec/type/autoscaling_group.rb +46 -0
- data/lib/awspec/type/base.rb +47 -0
- data/lib/awspec/type/cloudformation_stack.rb +11 -0
- data/lib/awspec/type/cloudfront_distribution.rb +46 -0
- data/lib/awspec/type/cloudtrail.rb +29 -0
- data/lib/awspec/type/cloudwatch_alarm.rb +23 -0
- data/lib/awspec/type/cloudwatch_event.rb +19 -0
- data/lib/awspec/type/cloudwatch_logs.rb +31 -0
- data/lib/awspec/type/customer_gateway.rb +40 -0
- data/lib/awspec/type/directconnect_virtual_interface.rb +27 -0
- data/lib/awspec/type/dynamodb_table.rb +40 -0
- data/lib/awspec/type/ebs.rb +37 -0
- data/lib/awspec/type/ec2.rb +145 -0
- data/lib/awspec/type/ec2_account_attributes.rb +7 -0
- data/lib/awspec/type/ecr_repository.rb +18 -0
- data/lib/awspec/type/ecs_cluster.rb +46 -0
- data/lib/awspec/type/ecs_container_instance.rb +30 -0
- data/lib/awspec/type/ecs_service.rb +24 -0
- data/lib/awspec/type/ecs_task_definition.rb +24 -0
- data/lib/awspec/type/efs.rb +22 -0
- data/lib/awspec/type/eip.rb +16 -0
- data/lib/awspec/type/elasticache.rb +68 -0
- data/lib/awspec/type/elasticache_cache_parameter_group.rb +38 -0
- data/lib/awspec/type/elasticsearch.rb +23 -0
- data/lib/awspec/type/elastictranscoder_pipeline.rb +21 -0
- data/lib/awspec/type/elb.rb +61 -0
- data/lib/awspec/type/iam_group.rb +39 -0
- data/lib/awspec/type/iam_policy.rb +54 -0
- data/lib/awspec/type/iam_role.rb +29 -0
- data/lib/awspec/type/iam_user.rb +29 -0
- data/lib/awspec/type/internet_gateway.rb +20 -0
- data/lib/awspec/type/kms.rb +21 -0
- data/lib/awspec/type/lambda.rb +22 -0
- data/lib/awspec/type/lambda_account_settings.rb +7 -0
- data/lib/awspec/type/launch_configuration.rb +28 -0
- data/lib/awspec/type/nat_gateway.rb +27 -0
- data/lib/awspec/type/network_acl.rb +117 -0
- data/lib/awspec/type/network_interface.rb +56 -0
- data/lib/awspec/type/rds.rb +100 -0
- data/lib/awspec/type/rds_account_attributes.rb +7 -0
- data/lib/awspec/type/rds_db_cluster_parameter_group.rb +34 -0
- data/lib/awspec/type/rds_db_parameter_group.rb +34 -0
- data/lib/awspec/type/resource_base.rb +24 -0
- data/lib/awspec/type/route53_hosted_zone.rb +35 -0
- data/lib/awspec/type/route_table.rb +78 -0
- data/lib/awspec/type/s3_bucket.rb +112 -0
- data/lib/awspec/type/security_group.rb +137 -0
- data/lib/awspec/type/ses_identity.rb +70 -0
- data/lib/awspec/type/ses_send_quota.rb +7 -0
- data/lib/awspec/type/sqs.rb +31 -0
- data/lib/awspec/type/subnet.rb +39 -0
- data/lib/awspec/type/vpc.rb +36 -0
- data/lib/awspec/type/vpn_connection.rb +40 -0
- data/lib/awspec/type/vpn_gateway.rb +40 -0
- data/lib/awspec/type/waf_web_acl.rb +24 -0
- data/lib/awspec/version.rb +3 -0
- metadata +587 -0
@@ -0,0 +1,70 @@
|
|
1
|
+
module Awspec::Type
|
2
|
+
class SesIdentity < ResourceBase
|
3
|
+
def resource_via_client
|
4
|
+
@resource_via_client ||= find_ses_identity(@display_name)
|
5
|
+
end
|
6
|
+
|
7
|
+
def id
|
8
|
+
@id ||= resource_via_client if resource_via_client
|
9
|
+
end
|
10
|
+
|
11
|
+
def has_identity_policy?(name)
|
12
|
+
res = ses_client.list_identity_policies({
|
13
|
+
identity: id
|
14
|
+
})
|
15
|
+
res.policy_names.find do |policy_name|
|
16
|
+
policy_name == name
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
# dkim_attributes
|
21
|
+
dkim_attributes = %w(
|
22
|
+
dkim_enabled dkim_verification_status
|
23
|
+
)
|
24
|
+
|
25
|
+
dkim_attributes.each do |attribute|
|
26
|
+
define_method attribute do
|
27
|
+
res = ses_client.get_identity_dkim_attributes({
|
28
|
+
identities: [id]
|
29
|
+
})
|
30
|
+
res.dkim_attributes[id][attribute.to_sym]
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def has_dkim_tokens?(token)
|
35
|
+
res = ses_client.get_identity_dkim_attributes({
|
36
|
+
identities: [id]
|
37
|
+
})
|
38
|
+
res.dkim_attributes[id][:tokens].include?(token)
|
39
|
+
end
|
40
|
+
|
41
|
+
# notification_attributes
|
42
|
+
notification_attributes = %w(
|
43
|
+
bounce_topic complaint_topic delivery_topic
|
44
|
+
forwarding_enabled
|
45
|
+
)
|
46
|
+
|
47
|
+
notification_attributes.each do |attribute|
|
48
|
+
define_method attribute do
|
49
|
+
res = ses_client.get_identity_notification_attributes({
|
50
|
+
identities: [id]
|
51
|
+
})
|
52
|
+
res.notification_attributes[id][attribute.to_sym]
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# verification_attributes
|
57
|
+
verification_attributes = %w(
|
58
|
+
verification_status verification_token
|
59
|
+
)
|
60
|
+
|
61
|
+
verification_attributes.each do |attribute|
|
62
|
+
define_method attribute do
|
63
|
+
res = ses_client.get_identity_verification_attributes({
|
64
|
+
identities: [id]
|
65
|
+
})
|
66
|
+
res.verification_attributes[id][attribute.to_sym]
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module Awspec::Type
|
2
|
+
class Sqs < ResourceBase
|
3
|
+
def resource_via_client
|
4
|
+
return @resource_via_client if @resource_via_client
|
5
|
+
queue_url = id
|
6
|
+
attributes = {}
|
7
|
+
res = sqs_client.get_queue_attributes({
|
8
|
+
queue_url: queue_url,
|
9
|
+
attribute_names: ['All']
|
10
|
+
})
|
11
|
+
res.attributes.each do |key, value|
|
12
|
+
attributes[key.underscore] = value
|
13
|
+
end
|
14
|
+
attributes['queue_url'] = queue_url
|
15
|
+
@resource_via_client ||= attributes
|
16
|
+
end
|
17
|
+
|
18
|
+
def id
|
19
|
+
@id ||= find_queue(@display_name)
|
20
|
+
end
|
21
|
+
|
22
|
+
def method_missing(name)
|
23
|
+
param_name = name.to_s
|
24
|
+
if resource_via_client.include?(param_name)
|
25
|
+
resource_via_client[param_name]
|
26
|
+
else
|
27
|
+
super
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module Awspec::Type
|
2
|
+
class Subnet < ResourceBase
|
3
|
+
aws_resource Aws::EC2::Subnet
|
4
|
+
tags_allowed
|
5
|
+
|
6
|
+
def resource_via_client
|
7
|
+
@resource_via_client ||= find_subnet(@display_name)
|
8
|
+
end
|
9
|
+
|
10
|
+
def id
|
11
|
+
@id ||= resource_via_client.subnet_id if resource_via_client
|
12
|
+
end
|
13
|
+
|
14
|
+
def associated_to?(route_table_id)
|
15
|
+
res = ec2_client.describe_route_tables({
|
16
|
+
filters:
|
17
|
+
[
|
18
|
+
{
|
19
|
+
name: 'association.subnet-id',
|
20
|
+
values: [id]
|
21
|
+
}
|
22
|
+
]
|
23
|
+
})
|
24
|
+
return false if res[:route_tables].empty?
|
25
|
+
associated_route_table = res[:route_tables].first
|
26
|
+
associated_route_table.route_table_id == route_table_id || associated_route_table.tag_name == route_table_id
|
27
|
+
end
|
28
|
+
|
29
|
+
STATES = %w(
|
30
|
+
available pending
|
31
|
+
)
|
32
|
+
|
33
|
+
STATES.each do |state|
|
34
|
+
define_method state + '?' do
|
35
|
+
resource_via_client.state == state
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module Awspec::Type
|
2
|
+
class Vpc < ResourceBase
|
3
|
+
aws_resource Aws::EC2::Vpc
|
4
|
+
tags_allowed
|
5
|
+
|
6
|
+
def resource_via_client
|
7
|
+
@resource_via_client ||= find_vpc(@display_name)
|
8
|
+
end
|
9
|
+
|
10
|
+
def id
|
11
|
+
@id ||= resource_via_client.vpc_id if resource_via_client
|
12
|
+
end
|
13
|
+
|
14
|
+
STATES = %w(
|
15
|
+
available pending
|
16
|
+
)
|
17
|
+
|
18
|
+
STATES.each do |state|
|
19
|
+
define_method state + '?' do
|
20
|
+
resource_via_client.state == state
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def has_route_table?(table_id)
|
25
|
+
route_table = find_route_table(table_id)
|
26
|
+
return false unless route_table
|
27
|
+
route_table.vpc_id == id
|
28
|
+
end
|
29
|
+
|
30
|
+
def has_network_acl?(table_id)
|
31
|
+
n = find_network_acl(table_id)
|
32
|
+
return false unless n
|
33
|
+
n.vpc_id == id
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Awspec::Type
|
2
|
+
class VpnConnection < ResourceBase
|
3
|
+
tags_allowed
|
4
|
+
|
5
|
+
def initialize(name)
|
6
|
+
super
|
7
|
+
@display_name = name
|
8
|
+
end
|
9
|
+
|
10
|
+
def resource_via_client
|
11
|
+
@resource_via_client ||= find_vpn_connection(@display_name)
|
12
|
+
end
|
13
|
+
|
14
|
+
def id
|
15
|
+
@id ||= resource_via_client.vpn_connection_id if resource_via_client
|
16
|
+
end
|
17
|
+
|
18
|
+
STATES = %w(
|
19
|
+
pending available deleting deleted
|
20
|
+
)
|
21
|
+
|
22
|
+
STATES.each do |state|
|
23
|
+
define_method state.tr('-', '_') + '?' do
|
24
|
+
resource_via_client.state == state
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def customer_gateway_id
|
29
|
+
resource_via_client.customer_gateway_id
|
30
|
+
end
|
31
|
+
|
32
|
+
def vpn_gateway_id
|
33
|
+
resource_via_client.vpn_gateway_id
|
34
|
+
end
|
35
|
+
|
36
|
+
def type
|
37
|
+
resource_via_client.type
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Awspec::Type
|
2
|
+
class VpnGateway < ResourceBase
|
3
|
+
tags_allowed
|
4
|
+
|
5
|
+
def initialize(name)
|
6
|
+
super
|
7
|
+
@display_name = name
|
8
|
+
end
|
9
|
+
|
10
|
+
def resource_via_client
|
11
|
+
@resource_via_client ||= find_vpn_gateway(@display_name)
|
12
|
+
end
|
13
|
+
|
14
|
+
def id
|
15
|
+
@id ||= resource_via_client.vpn_gateway_id if resource_via_client
|
16
|
+
end
|
17
|
+
|
18
|
+
STATES = %w(
|
19
|
+
pending available deleting deleted
|
20
|
+
)
|
21
|
+
|
22
|
+
STATES.each do |state|
|
23
|
+
define_method state.tr('-', '_') + '?' do
|
24
|
+
resource_via_client.state == state
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def availability_zone
|
29
|
+
resource_via_client.availability_zone
|
30
|
+
end
|
31
|
+
|
32
|
+
def vpc_attachments
|
33
|
+
resource_via_client.vpc_attachments
|
34
|
+
end
|
35
|
+
|
36
|
+
def type
|
37
|
+
resource_via_client.type
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Awspec::Type
|
2
|
+
class WafWebAcl < ResourceBase
|
3
|
+
def resource_via_client
|
4
|
+
@resource_via_client ||= find_waf_web_acl(@display_name)
|
5
|
+
end
|
6
|
+
|
7
|
+
def id
|
8
|
+
@id ||= resource_via_client.web_acl_id if resource_via_client
|
9
|
+
end
|
10
|
+
|
11
|
+
def default_action
|
12
|
+
resource_via_client.default_action.type
|
13
|
+
end
|
14
|
+
|
15
|
+
def has_rule?(rule_id, priority = nil, action = nil)
|
16
|
+
resource_via_client.rules.find do |rule|
|
17
|
+
next false if !priority.nil? && rule.priority != priority
|
18
|
+
next false if !action.nil? && rule.action.type != action
|
19
|
+
next true if rule.rule_id == rule_id
|
20
|
+
find_waf_rule(rule_id).name == rule_id
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,587 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cmonson_2ndwatch_awspec
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.85.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- k1LoW
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-09-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec-its
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aws-sdk
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.2'
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '2.11'
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '2.2'
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '2.11'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: cmonson_2ndwatch_awsecrets
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 1.14.0
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 1.14.0
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: thor
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: activesupport
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '4.0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '4.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: term-ansicolor
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: bundler
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '1.9'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '1.9'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: rake
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '12.0'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '12.0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: rubocop
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 0.47.0
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 0.47.0
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: octorelease
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: pry
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
description: RSpec tests for your AWS resources.
|
188
|
+
email:
|
189
|
+
- k1lowxb@gmail.com
|
190
|
+
executables:
|
191
|
+
- awspec
|
192
|
+
extensions: []
|
193
|
+
extra_rdoc_files: []
|
194
|
+
files:
|
195
|
+
- ".editorconfig"
|
196
|
+
- ".gitignore"
|
197
|
+
- ".rubocop.yml"
|
198
|
+
- ".tachikoma.yml"
|
199
|
+
- ".travis.yml"
|
200
|
+
- Gemfile
|
201
|
+
- LICENSE.txt
|
202
|
+
- README.md
|
203
|
+
- Rakefile
|
204
|
+
- awspec-logo.png
|
205
|
+
- awspec.gemspec
|
206
|
+
- bin/console
|
207
|
+
- bin/setup
|
208
|
+
- bin/toolbox
|
209
|
+
- doc/_resource_types/acm.md
|
210
|
+
- doc/_resource_types/alb.md
|
211
|
+
- doc/_resource_types/alb_listener.md
|
212
|
+
- doc/_resource_types/alb_target_group.md
|
213
|
+
- doc/_resource_types/ami.md
|
214
|
+
- doc/_resource_types/autoscaling_group.md
|
215
|
+
- doc/_resource_types/cloudformation_stack.md
|
216
|
+
- doc/_resource_types/cloudfront_distribution.md
|
217
|
+
- doc/_resource_types/cloudtrail.md
|
218
|
+
- doc/_resource_types/cloudwatch_alarm.md
|
219
|
+
- doc/_resource_types/cloudwatch_logs.md
|
220
|
+
- doc/_resource_types/customer_gateway.md
|
221
|
+
- doc/_resource_types/directconnect_virtual_interface.md
|
222
|
+
- doc/_resource_types/dynamodb_table.md
|
223
|
+
- doc/_resource_types/ebs.md
|
224
|
+
- doc/_resource_types/ec2.md
|
225
|
+
- doc/_resource_types/ec2_account_attributes.md
|
226
|
+
- doc/_resource_types/ecs_cluster.md
|
227
|
+
- doc/_resource_types/ecs_container_instance.md
|
228
|
+
- doc/_resource_types/ecs_service.md
|
229
|
+
- doc/_resource_types/ecs_task_definition.md
|
230
|
+
- doc/_resource_types/efs.md
|
231
|
+
- doc/_resource_types/eip.md
|
232
|
+
- doc/_resource_types/elasticache.md
|
233
|
+
- doc/_resource_types/elasticache_cache_parameter_group.md
|
234
|
+
- doc/_resource_types/elasticsearch.md
|
235
|
+
- doc/_resource_types/elastictranscoder_pipeline.md
|
236
|
+
- doc/_resource_types/elb.md
|
237
|
+
- doc/_resource_types/iam_group.md
|
238
|
+
- doc/_resource_types/iam_policy.md
|
239
|
+
- doc/_resource_types/iam_role.md
|
240
|
+
- doc/_resource_types/iam_user.md
|
241
|
+
- doc/_resource_types/internet_gateway.md
|
242
|
+
- doc/_resource_types/kms.md
|
243
|
+
- doc/_resource_types/lambda.md
|
244
|
+
- doc/_resource_types/lambda_account_settings.md
|
245
|
+
- doc/_resource_types/launch_configuration.md
|
246
|
+
- doc/_resource_types/nat_gateway.md
|
247
|
+
- doc/_resource_types/network_acl.md
|
248
|
+
- doc/_resource_types/network_interface.md
|
249
|
+
- doc/_resource_types/rds.md
|
250
|
+
- doc/_resource_types/rds_account_attributes.md
|
251
|
+
- doc/_resource_types/rds_db_cluster_parameter_group.md
|
252
|
+
- doc/_resource_types/rds_db_parameter_group.md
|
253
|
+
- doc/_resource_types/route53_hosted_zone.md
|
254
|
+
- doc/_resource_types/route_table.md
|
255
|
+
- doc/_resource_types/s3_bucket.md
|
256
|
+
- doc/_resource_types/security_group.md
|
257
|
+
- doc/_resource_types/ses_identity.md
|
258
|
+
- doc/_resource_types/ses_send_quota.md
|
259
|
+
- doc/_resource_types/sqs.md
|
260
|
+
- doc/_resource_types/subnet.md
|
261
|
+
- doc/_resource_types/vpc.md
|
262
|
+
- doc/_resource_types/vpn_connection.md
|
263
|
+
- doc/_resource_types/vpn_gateway.md
|
264
|
+
- doc/_resource_types/waf_web_acl.md
|
265
|
+
- doc/contributing.md
|
266
|
+
- doc/resource_types.md
|
267
|
+
- exe/awspec
|
268
|
+
- lib/awspec.rb
|
269
|
+
- lib/awspec/cli.rb
|
270
|
+
- lib/awspec/command/generate.rb
|
271
|
+
- lib/awspec/error.rb
|
272
|
+
- lib/awspec/ext.rb
|
273
|
+
- lib/awspec/ext/array.rb
|
274
|
+
- lib/awspec/ext/hash.rb
|
275
|
+
- lib/awspec/ext/struct.rb
|
276
|
+
- lib/awspec/generator.rb
|
277
|
+
- lib/awspec/generator/doc/type.rb
|
278
|
+
- lib/awspec/generator/doc/type/account.rb
|
279
|
+
- lib/awspec/generator/doc/type/account_attribute.rb
|
280
|
+
- lib/awspec/generator/doc/type/account_attribute_base.rb
|
281
|
+
- lib/awspec/generator/doc/type/acm.rb
|
282
|
+
- lib/awspec/generator/doc/type/alb.rb
|
283
|
+
- lib/awspec/generator/doc/type/alb_listener.rb
|
284
|
+
- lib/awspec/generator/doc/type/alb_target_group.rb
|
285
|
+
- lib/awspec/generator/doc/type/ami.rb
|
286
|
+
- lib/awspec/generator/doc/type/autoscaling_group.rb
|
287
|
+
- lib/awspec/generator/doc/type/base.rb
|
288
|
+
- lib/awspec/generator/doc/type/cloudformation_stack.rb
|
289
|
+
- lib/awspec/generator/doc/type/cloudfront_distribution.rb
|
290
|
+
- lib/awspec/generator/doc/type/cloudtrail.rb
|
291
|
+
- lib/awspec/generator/doc/type/cloudwatch_alarm.rb
|
292
|
+
- lib/awspec/generator/doc/type/cloudwatch_event.rb
|
293
|
+
- lib/awspec/generator/doc/type/cloudwatch_logs.rb
|
294
|
+
- lib/awspec/generator/doc/type/customer_gateway.rb
|
295
|
+
- lib/awspec/generator/doc/type/directconnect_virtual_interface.rb
|
296
|
+
- lib/awspec/generator/doc/type/dynamodb_table.rb
|
297
|
+
- lib/awspec/generator/doc/type/ebs.rb
|
298
|
+
- lib/awspec/generator/doc/type/ec2.rb
|
299
|
+
- lib/awspec/generator/doc/type/ec2_account_attributes.rb
|
300
|
+
- lib/awspec/generator/doc/type/ecr_repository.rb
|
301
|
+
- lib/awspec/generator/doc/type/ecs_cluster.rb
|
302
|
+
- lib/awspec/generator/doc/type/ecs_container_instance.rb
|
303
|
+
- lib/awspec/generator/doc/type/ecs_service.rb
|
304
|
+
- lib/awspec/generator/doc/type/ecs_task_definition.rb
|
305
|
+
- lib/awspec/generator/doc/type/efs.rb
|
306
|
+
- lib/awspec/generator/doc/type/eip.rb
|
307
|
+
- lib/awspec/generator/doc/type/elasticache.rb
|
308
|
+
- lib/awspec/generator/doc/type/elasticache_cache_parameter_group.rb
|
309
|
+
- lib/awspec/generator/doc/type/elasticsearch.rb
|
310
|
+
- lib/awspec/generator/doc/type/elastictranscoder_pipeline.rb
|
311
|
+
- lib/awspec/generator/doc/type/elb.rb
|
312
|
+
- lib/awspec/generator/doc/type/iam_group.rb
|
313
|
+
- lib/awspec/generator/doc/type/iam_policy.rb
|
314
|
+
- lib/awspec/generator/doc/type/iam_role.rb
|
315
|
+
- lib/awspec/generator/doc/type/iam_user.rb
|
316
|
+
- lib/awspec/generator/doc/type/internet_gateway.rb
|
317
|
+
- lib/awspec/generator/doc/type/kms.rb
|
318
|
+
- lib/awspec/generator/doc/type/lambda.rb
|
319
|
+
- lib/awspec/generator/doc/type/lambda_account_settings.rb
|
320
|
+
- lib/awspec/generator/doc/type/launch_configuration.rb
|
321
|
+
- lib/awspec/generator/doc/type/nat_gateway.rb
|
322
|
+
- lib/awspec/generator/doc/type/network_acl.rb
|
323
|
+
- lib/awspec/generator/doc/type/network_interface.rb
|
324
|
+
- lib/awspec/generator/doc/type/rds.rb
|
325
|
+
- lib/awspec/generator/doc/type/rds_account_attributes.rb
|
326
|
+
- lib/awspec/generator/doc/type/rds_db_cluster_parameter_group.rb
|
327
|
+
- lib/awspec/generator/doc/type/rds_db_parameter_group.rb
|
328
|
+
- lib/awspec/generator/doc/type/route53_hosted_zone.rb
|
329
|
+
- lib/awspec/generator/doc/type/route_table.rb
|
330
|
+
- lib/awspec/generator/doc/type/s3_bucket.rb
|
331
|
+
- lib/awspec/generator/doc/type/security_group.rb
|
332
|
+
- lib/awspec/generator/doc/type/ses_identity.rb
|
333
|
+
- lib/awspec/generator/doc/type/ses_send_quota.rb
|
334
|
+
- lib/awspec/generator/doc/type/sqs.rb
|
335
|
+
- lib/awspec/generator/doc/type/subnet.rb
|
336
|
+
- lib/awspec/generator/doc/type/vpc.rb
|
337
|
+
- lib/awspec/generator/doc/type/vpn_connection.rb
|
338
|
+
- lib/awspec/generator/doc/type/vpn_gateway.rb
|
339
|
+
- lib/awspec/generator/doc/type/waf_web_acl.rb
|
340
|
+
- lib/awspec/generator/spec/acm.rb
|
341
|
+
- lib/awspec/generator/spec/alb.rb
|
342
|
+
- lib/awspec/generator/spec/cloudwatch_alarm.rb
|
343
|
+
- lib/awspec/generator/spec/cloudwatch_event.rb
|
344
|
+
- lib/awspec/generator/spec/cloudwatch_logs.rb
|
345
|
+
- lib/awspec/generator/spec/directconnect.rb
|
346
|
+
- lib/awspec/generator/spec/ebs.rb
|
347
|
+
- lib/awspec/generator/spec/ec2.rb
|
348
|
+
- lib/awspec/generator/spec/efs.rb
|
349
|
+
- lib/awspec/generator/spec/eip.rb
|
350
|
+
- lib/awspec/generator/spec/elasticsearch.rb
|
351
|
+
- lib/awspec/generator/spec/elb.rb
|
352
|
+
- lib/awspec/generator/spec/iam_group.rb
|
353
|
+
- lib/awspec/generator/spec/iam_policy.rb
|
354
|
+
- lib/awspec/generator/spec/iam_role.rb
|
355
|
+
- lib/awspec/generator/spec/iam_user.rb
|
356
|
+
- lib/awspec/generator/spec/internet_gateway.rb
|
357
|
+
- lib/awspec/generator/spec/kms.rb
|
358
|
+
- lib/awspec/generator/spec/lambda.rb
|
359
|
+
- lib/awspec/generator/spec/nat_gateway.rb
|
360
|
+
- lib/awspec/generator/spec/network_acl.rb
|
361
|
+
- lib/awspec/generator/spec/network_interface.rb
|
362
|
+
- lib/awspec/generator/spec/rds.rb
|
363
|
+
- lib/awspec/generator/spec/route53_hosted_zone.rb
|
364
|
+
- lib/awspec/generator/spec/route_table.rb
|
365
|
+
- lib/awspec/generator/spec/s3_bucket.rb
|
366
|
+
- lib/awspec/generator/spec/security_group.rb
|
367
|
+
- lib/awspec/generator/spec/subnet.rb
|
368
|
+
- lib/awspec/generator/spec/vpc.rb
|
369
|
+
- lib/awspec/generator/template.rb
|
370
|
+
- lib/awspec/helper.rb
|
371
|
+
- lib/awspec/helper/color.rb
|
372
|
+
- lib/awspec/helper/finder.rb
|
373
|
+
- lib/awspec/helper/finder/account_attributes.rb
|
374
|
+
- lib/awspec/helper/finder/acm.rb
|
375
|
+
- lib/awspec/helper/finder/alb.rb
|
376
|
+
- lib/awspec/helper/finder/ami.rb
|
377
|
+
- lib/awspec/helper/finder/autoscaling.rb
|
378
|
+
- lib/awspec/helper/finder/cloudformation.rb
|
379
|
+
- lib/awspec/helper/finder/cloudfront.rb
|
380
|
+
- lib/awspec/helper/finder/cloudtrail.rb
|
381
|
+
- lib/awspec/helper/finder/cloudwatch.rb
|
382
|
+
- lib/awspec/helper/finder/cloudwatch_event.rb
|
383
|
+
- lib/awspec/helper/finder/cloudwatch_logs.rb
|
384
|
+
- lib/awspec/helper/finder/directconnect.rb
|
385
|
+
- lib/awspec/helper/finder/dynamodb.rb
|
386
|
+
- lib/awspec/helper/finder/ebs.rb
|
387
|
+
- lib/awspec/helper/finder/ec2.rb
|
388
|
+
- lib/awspec/helper/finder/ecr.rb
|
389
|
+
- lib/awspec/helper/finder/ecs.rb
|
390
|
+
- lib/awspec/helper/finder/efs.rb
|
391
|
+
- lib/awspec/helper/finder/elasticache.rb
|
392
|
+
- lib/awspec/helper/finder/elasticsearch.rb
|
393
|
+
- lib/awspec/helper/finder/elastictranscoder.rb
|
394
|
+
- lib/awspec/helper/finder/elb.rb
|
395
|
+
- lib/awspec/helper/finder/iam.rb
|
396
|
+
- lib/awspec/helper/finder/kms.rb
|
397
|
+
- lib/awspec/helper/finder/lambda.rb
|
398
|
+
- lib/awspec/helper/finder/rds.rb
|
399
|
+
- lib/awspec/helper/finder/route53.rb
|
400
|
+
- lib/awspec/helper/finder/s3.rb
|
401
|
+
- lib/awspec/helper/finder/security_group.rb
|
402
|
+
- lib/awspec/helper/finder/ses.rb
|
403
|
+
- lib/awspec/helper/finder/sqs.rb
|
404
|
+
- lib/awspec/helper/finder/subnet.rb
|
405
|
+
- lib/awspec/helper/finder/vpc.rb
|
406
|
+
- lib/awspec/helper/finder/waf.rb
|
407
|
+
- lib/awspec/helper/type.rb
|
408
|
+
- lib/awspec/matcher.rb
|
409
|
+
- lib/awspec/matcher/be_allowed.rb
|
410
|
+
- lib/awspec/matcher/be_allowed_action.rb
|
411
|
+
- lib/awspec/matcher/be_attached_to.rb
|
412
|
+
- lib/awspec/matcher/be_denied.rb
|
413
|
+
- lib/awspec/matcher/be_opened.rb
|
414
|
+
- lib/awspec/matcher/be_opened_only.rb
|
415
|
+
- lib/awspec/matcher/belong_to_alb.rb
|
416
|
+
- lib/awspec/matcher/belong_to_cache_subnet_group.rb
|
417
|
+
- lib/awspec/matcher/belong_to_db_subnet_group.rb
|
418
|
+
- lib/awspec/matcher/belong_to_domain.rb
|
419
|
+
- lib/awspec/matcher/belong_to_iam_group.rb
|
420
|
+
- lib/awspec/matcher/belong_to_metric.rb
|
421
|
+
- lib/awspec/matcher/belong_to_replication_group.rb
|
422
|
+
- lib/awspec/matcher/belong_to_subnet.rb
|
423
|
+
- lib/awspec/matcher/belong_to_vpc.rb
|
424
|
+
- lib/awspec/matcher/have_attribute_definition.rb
|
425
|
+
- lib/awspec/matcher/have_inline_policy.rb
|
426
|
+
- lib/awspec/matcher/have_key_policy.rb
|
427
|
+
- lib/awspec/matcher/have_key_schema.rb
|
428
|
+
- lib/awspec/matcher/have_network_interface.rb
|
429
|
+
- lib/awspec/matcher/have_origin.rb
|
430
|
+
- lib/awspec/matcher/have_private_ip_address.rb
|
431
|
+
- lib/awspec/matcher/have_record_set.rb
|
432
|
+
- lib/awspec/matcher/have_route.rb
|
433
|
+
- lib/awspec/matcher/have_rule.rb
|
434
|
+
- lib/awspec/matcher/have_subscription_filter.rb
|
435
|
+
- lib/awspec/matcher/have_tag.rb
|
436
|
+
- lib/awspec/resource_reader.rb
|
437
|
+
- lib/awspec/setup.rb
|
438
|
+
- lib/awspec/shared_context.rb
|
439
|
+
- lib/awspec/stub.rb
|
440
|
+
- lib/awspec/stub/account.rb
|
441
|
+
- lib/awspec/stub/acm.rb
|
442
|
+
- lib/awspec/stub/alb.rb
|
443
|
+
- lib/awspec/stub/alb_listener.rb
|
444
|
+
- lib/awspec/stub/alb_target_group.rb
|
445
|
+
- lib/awspec/stub/ami.rb
|
446
|
+
- lib/awspec/stub/autoscaling_group.rb
|
447
|
+
- lib/awspec/stub/cloudformation_stack.rb
|
448
|
+
- lib/awspec/stub/cloudfront_distribution.rb
|
449
|
+
- lib/awspec/stub/cloudtrail.rb
|
450
|
+
- lib/awspec/stub/cloudwatch_alarm.rb
|
451
|
+
- lib/awspec/stub/cloudwatch_event.rb
|
452
|
+
- lib/awspec/stub/cloudwatch_logs.rb
|
453
|
+
- lib/awspec/stub/customer_gateway.rb
|
454
|
+
- lib/awspec/stub/directconnect_virtual_interface.rb
|
455
|
+
- lib/awspec/stub/duplicated_resource_type.rb
|
456
|
+
- lib/awspec/stub/dynamodb_table.rb
|
457
|
+
- lib/awspec/stub/ebs.rb
|
458
|
+
- lib/awspec/stub/ec2.rb
|
459
|
+
- lib/awspec/stub/ec2_has_multi_security_groups.rb
|
460
|
+
- lib/awspec/stub/ecr_repository.rb
|
461
|
+
- lib/awspec/stub/ecs.rb
|
462
|
+
- lib/awspec/stub/ecs_cluster.rb
|
463
|
+
- lib/awspec/stub/ecs_container_instance.rb
|
464
|
+
- lib/awspec/stub/ecs_service.rb
|
465
|
+
- lib/awspec/stub/ecs_task_definition.rb
|
466
|
+
- lib/awspec/stub/efs.rb
|
467
|
+
- lib/awspec/stub/eip.rb
|
468
|
+
- lib/awspec/stub/elasticache.rb
|
469
|
+
- lib/awspec/stub/elasticache_cache_parameter_group.rb
|
470
|
+
- lib/awspec/stub/elasticsearch.rb
|
471
|
+
- lib/awspec/stub/elastictranscoder_pipeline.rb
|
472
|
+
- lib/awspec/stub/elb.rb
|
473
|
+
- lib/awspec/stub/iam_group.rb
|
474
|
+
- lib/awspec/stub/iam_policy.rb
|
475
|
+
- lib/awspec/stub/iam_role.rb
|
476
|
+
- lib/awspec/stub/iam_user.rb
|
477
|
+
- lib/awspec/stub/internet_gateway.rb
|
478
|
+
- lib/awspec/stub/kms.rb
|
479
|
+
- lib/awspec/stub/lambda.rb
|
480
|
+
- lib/awspec/stub/launch_configuration.rb
|
481
|
+
- lib/awspec/stub/nat_gateway.rb
|
482
|
+
- lib/awspec/stub/network_acl.rb
|
483
|
+
- lib/awspec/stub/network_interface.rb
|
484
|
+
- lib/awspec/stub/rds.rb
|
485
|
+
- lib/awspec/stub/rds_db_cluster_parameter_group.rb
|
486
|
+
- lib/awspec/stub/rds_db_parameter_group.rb
|
487
|
+
- lib/awspec/stub/route53_hosted_zone.rb
|
488
|
+
- lib/awspec/stub/route_table.rb
|
489
|
+
- lib/awspec/stub/s3_bucket.rb
|
490
|
+
- lib/awspec/stub/security_group.rb
|
491
|
+
- lib/awspec/stub/ses_identity.rb
|
492
|
+
- lib/awspec/stub/sqs.rb
|
493
|
+
- lib/awspec/stub/subnet.rb
|
494
|
+
- lib/awspec/stub/vpc.rb
|
495
|
+
- lib/awspec/stub/vpn_connection.rb
|
496
|
+
- lib/awspec/stub/vpn_gateway.rb
|
497
|
+
- lib/awspec/stub/waf_web_acl.rb
|
498
|
+
- lib/awspec/toolbox.rb
|
499
|
+
- lib/awspec/type/account.rb
|
500
|
+
- lib/awspec/type/account_attribute.rb
|
501
|
+
- lib/awspec/type/account_attribute_base.rb
|
502
|
+
- lib/awspec/type/acm.rb
|
503
|
+
- lib/awspec/type/alb.rb
|
504
|
+
- lib/awspec/type/alb_listener.rb
|
505
|
+
- lib/awspec/type/alb_target_group.rb
|
506
|
+
- lib/awspec/type/ami.rb
|
507
|
+
- lib/awspec/type/autoscaling_group.rb
|
508
|
+
- lib/awspec/type/base.rb
|
509
|
+
- lib/awspec/type/cloudformation_stack.rb
|
510
|
+
- lib/awspec/type/cloudfront_distribution.rb
|
511
|
+
- lib/awspec/type/cloudtrail.rb
|
512
|
+
- lib/awspec/type/cloudwatch_alarm.rb
|
513
|
+
- lib/awspec/type/cloudwatch_event.rb
|
514
|
+
- lib/awspec/type/cloudwatch_logs.rb
|
515
|
+
- lib/awspec/type/customer_gateway.rb
|
516
|
+
- lib/awspec/type/directconnect_virtual_interface.rb
|
517
|
+
- lib/awspec/type/dynamodb_table.rb
|
518
|
+
- lib/awspec/type/ebs.rb
|
519
|
+
- lib/awspec/type/ec2.rb
|
520
|
+
- lib/awspec/type/ec2_account_attributes.rb
|
521
|
+
- lib/awspec/type/ecr_repository.rb
|
522
|
+
- lib/awspec/type/ecs_cluster.rb
|
523
|
+
- lib/awspec/type/ecs_container_instance.rb
|
524
|
+
- lib/awspec/type/ecs_service.rb
|
525
|
+
- lib/awspec/type/ecs_task_definition.rb
|
526
|
+
- lib/awspec/type/efs.rb
|
527
|
+
- lib/awspec/type/eip.rb
|
528
|
+
- lib/awspec/type/elasticache.rb
|
529
|
+
- lib/awspec/type/elasticache_cache_parameter_group.rb
|
530
|
+
- lib/awspec/type/elasticsearch.rb
|
531
|
+
- lib/awspec/type/elastictranscoder_pipeline.rb
|
532
|
+
- lib/awspec/type/elb.rb
|
533
|
+
- lib/awspec/type/iam_group.rb
|
534
|
+
- lib/awspec/type/iam_policy.rb
|
535
|
+
- lib/awspec/type/iam_role.rb
|
536
|
+
- lib/awspec/type/iam_user.rb
|
537
|
+
- lib/awspec/type/internet_gateway.rb
|
538
|
+
- lib/awspec/type/kms.rb
|
539
|
+
- lib/awspec/type/lambda.rb
|
540
|
+
- lib/awspec/type/lambda_account_settings.rb
|
541
|
+
- lib/awspec/type/launch_configuration.rb
|
542
|
+
- lib/awspec/type/nat_gateway.rb
|
543
|
+
- lib/awspec/type/network_acl.rb
|
544
|
+
- lib/awspec/type/network_interface.rb
|
545
|
+
- lib/awspec/type/rds.rb
|
546
|
+
- lib/awspec/type/rds_account_attributes.rb
|
547
|
+
- lib/awspec/type/rds_db_cluster_parameter_group.rb
|
548
|
+
- lib/awspec/type/rds_db_parameter_group.rb
|
549
|
+
- lib/awspec/type/resource_base.rb
|
550
|
+
- lib/awspec/type/route53_hosted_zone.rb
|
551
|
+
- lib/awspec/type/route_table.rb
|
552
|
+
- lib/awspec/type/s3_bucket.rb
|
553
|
+
- lib/awspec/type/security_group.rb
|
554
|
+
- lib/awspec/type/ses_identity.rb
|
555
|
+
- lib/awspec/type/ses_send_quota.rb
|
556
|
+
- lib/awspec/type/sqs.rb
|
557
|
+
- lib/awspec/type/subnet.rb
|
558
|
+
- lib/awspec/type/vpc.rb
|
559
|
+
- lib/awspec/type/vpn_connection.rb
|
560
|
+
- lib/awspec/type/vpn_gateway.rb
|
561
|
+
- lib/awspec/type/waf_web_acl.rb
|
562
|
+
- lib/awspec/version.rb
|
563
|
+
homepage: https://github.com/k1LoW/awspec
|
564
|
+
licenses:
|
565
|
+
- MIT
|
566
|
+
metadata: {}
|
567
|
+
post_install_message:
|
568
|
+
rdoc_options: []
|
569
|
+
require_paths:
|
570
|
+
- lib
|
571
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
572
|
+
requirements:
|
573
|
+
- - ">="
|
574
|
+
- !ruby/object:Gem::Version
|
575
|
+
version: '2.1'
|
576
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
577
|
+
requirements:
|
578
|
+
- - ">="
|
579
|
+
- !ruby/object:Gem::Version
|
580
|
+
version: '0'
|
581
|
+
requirements: []
|
582
|
+
rubyforge_project:
|
583
|
+
rubygems_version: 2.6.10
|
584
|
+
signing_key:
|
585
|
+
specification_version: 4
|
586
|
+
summary: RSpec tests for your AWS resources.
|
587
|
+
test_files: []
|