awspec 1.34.0 → 1.36.0

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.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.tagpr +2 -0
  3. data/CHANGELOG.md +9 -0
  4. data/doc/resource_types.md +24 -40
  5. data/lib/awspec/generator/doc/type/account.rb +1 -1
  6. data/lib/awspec/generator/doc/type/account_attribute.rb +2 -1
  7. data/lib/awspec/generator/doc/type/base.rb +1 -1
  8. data/lib/awspec/generator/doc/type.rb +1 -1
  9. data/lib/awspec/generator/spec/acm.rb +1 -1
  10. data/lib/awspec/generator/spec/alb.rb +1 -1
  11. data/lib/awspec/generator/spec/alb_listener.rb +1 -1
  12. data/lib/awspec/generator/spec/autoscaling_group.rb +1 -1
  13. data/lib/awspec/generator/spec/cloudwatch_alarm.rb +1 -1
  14. data/lib/awspec/generator/spec/cloudwatch_event.rb +1 -1
  15. data/lib/awspec/generator/spec/cloudwatch_logs.rb +1 -1
  16. data/lib/awspec/generator/spec/codebuild.rb +1 -1
  17. data/lib/awspec/generator/spec/codepipeline.rb +1 -1
  18. data/lib/awspec/generator/spec/directconnect.rb +1 -1
  19. data/lib/awspec/generator/spec/ebs.rb +2 -2
  20. data/lib/awspec/generator/spec/ec2.rb +1 -1
  21. data/lib/awspec/generator/spec/efs.rb +1 -1
  22. data/lib/awspec/generator/spec/eip.rb +1 -1
  23. data/lib/awspec/generator/spec/elasticache.rb +1 -1
  24. data/lib/awspec/generator/spec/elasticsearch.rb +1 -1
  25. data/lib/awspec/generator/spec/elb.rb +1 -1
  26. data/lib/awspec/generator/spec/iam_group.rb +1 -1
  27. data/lib/awspec/generator/spec/iam_policy.rb +1 -1
  28. data/lib/awspec/generator/spec/iam_role.rb +1 -1
  29. data/lib/awspec/generator/spec/iam_user.rb +1 -1
  30. data/lib/awspec/generator/spec/internet_gateway.rb +1 -1
  31. data/lib/awspec/generator/spec/kms.rb +1 -1
  32. data/lib/awspec/generator/spec/lambda.rb +1 -1
  33. data/lib/awspec/generator/spec/managed_prefix_list.rb +1 -1
  34. data/lib/awspec/generator/spec/nat_gateway.rb +1 -1
  35. data/lib/awspec/generator/spec/network_acl.rb +1 -1
  36. data/lib/awspec/generator/spec/network_interface.rb +1 -1
  37. data/lib/awspec/generator/spec/nlb.rb +1 -1
  38. data/lib/awspec/generator/spec/nlb_listener.rb +1 -1
  39. data/lib/awspec/generator/spec/rds.rb +1 -1
  40. data/lib/awspec/generator/spec/rds_db_cluster.rb +1 -1
  41. data/lib/awspec/generator/spec/rds_db_cluster_parameter_group.rb +1 -1
  42. data/lib/awspec/generator/spec/rds_db_parameter_group.rb +1 -1
  43. data/lib/awspec/generator/spec/rds_global_cluster.rb +1 -1
  44. data/lib/awspec/generator/spec/rds_proxy.rb +1 -1
  45. data/lib/awspec/generator/spec/redshift.rb +1 -1
  46. data/lib/awspec/generator/spec/redshift_cluster_parameter_group.rb +1 -1
  47. data/lib/awspec/generator/spec/route53_hosted_zone.rb +2 -2
  48. data/lib/awspec/generator/spec/route_table.rb +10 -6
  49. data/lib/awspec/generator/spec/s3_bucket.rb +3 -3
  50. data/lib/awspec/generator/spec/security_group.rb +3 -3
  51. data/lib/awspec/generator/spec/subnet.rb +1 -1
  52. data/lib/awspec/generator/spec/vpc.rb +1 -1
  53. data/lib/awspec/generator/spec/wafv2_ip_set.rb +1 -1
  54. data/lib/awspec/generator/spec/wafv2_web_acl.rb +1 -1
  55. data/lib/awspec/helper/finder/iam.rb +17 -1
  56. data/lib/awspec/helper/finder.rb +0 -3
  57. data/lib/awspec/helper/type.rb +1 -1
  58. data/lib/awspec/matcher/have_plan_rule.rb +18 -27
  59. data/lib/awspec/stub/iam_policy.rb +15 -1
  60. data/lib/awspec/stub/iam_role.rb +11 -1
  61. data/lib/awspec/version.rb +1 -1
  62. metadata +1 -6
  63. data/doc/_resource_types/elastictranscoder_pipeline.md +0 -15
  64. data/lib/awspec/generator/doc/type/elastictranscoder_pipeline.rb +0 -23
  65. data/lib/awspec/helper/finder/elastictranscoder.rb +0 -24
  66. data/lib/awspec/stub/elastictranscoder_pipeline.rb +0 -65
  67. data/lib/awspec/type/elastictranscoder_pipeline.rb +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d65a2f5aea6df138e2c8ddef3a36092fc2760f40086c4129ca4f639281b83e52
4
- data.tar.gz: d9c213638e77e674dd5fd8b08648ec52956855285253330db732877cd40350ff
3
+ metadata.gz: 66d529594d56834efa90b96da78ef6fc1c91d292729632ea1e63f42aa7d1d62d
4
+ data.tar.gz: e72f806491446966ac64923808c5dae95f0c451c4fd8e6ea234a370c60f74c39
5
5
  SHA512:
6
- metadata.gz: e7972b92325855e58d1c950192b49d477c2d913251c4577371b9f0a2ff593c56a839472cd42c44295562aaef5d9b74445392de9c8fe06ddd4c676962b425ca0f
7
- data.tar.gz: 99d9f6df0b85b122550f4c07dfcfd2544a1ddb2a8bf17fc09588f53653a086d6caf851ca78663149a130da766e11afdf2ae6e3210987b0443608f09003122457
6
+ metadata.gz: 27358e3cf721685110cc63fc87f56590c116717bc6c376894fbd3d99cd25f65060be97cbcaeff90d1cc5388a525689e002003b46ace1d8dcdf9f06b83aaf65b9
7
+ data.tar.gz: 36751fc5ecfa7fcd58e4607ffd99d581bda4b586138a30e68c98ff766c495f12271e8215ef777aba0b5ab4a8569602d2b2bf94cbc7bd47741c51b156de945fd1
data/.tagpr CHANGED
@@ -33,3 +33,5 @@
33
33
  vPrefix = true
34
34
  releaseBranch = main
35
35
  versionFile = lib/awspec/version.rb
36
+ majorLabels = "tagpr:major"
37
+ minorLabels = "tagpr:minor"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [v1.36.0](https://github.com/k1LoW/awspec/compare/v1.35.0...v1.36.0) - 2026-02-03
4
+ - Remove `elastictranscoder_pipeline` type by @alexjfisher in https://github.com/k1LoW/awspec/pull/614
5
+
6
+ ## [v1.35.0](https://github.com/k1LoW/awspec/compare/v1.34.0...v1.35.0) - 2025-11-10
7
+ - Improve backup plan rules output by @endemics in https://github.com/k1LoW/awspec/pull/611
8
+ - Add missing details for IAM roles and policies by @endemics in https://github.com/k1LoW/awspec/pull/609
9
+ - chore: remove ERB trim fix warnings by @endemics in https://github.com/k1LoW/awspec/pull/610
10
+ - chore: setup tagpr labels by @k1LoW in https://github.com/k1LoW/awspec/pull/608
11
+
3
12
  ## [v1.34.0](https://github.com/k1LoW/awspec/compare/v1.33.0...v1.34.0) - 2025-10-18
4
13
  - Add support for aws backup rules (under backup plan) by @endemics in https://github.com/k1LoW/awspec/pull/605
5
14
  - feat: setup tagpr by @k1LoW in https://github.com/k1LoW/awspec/pull/606
@@ -42,7 +42,6 @@
42
42
  | [elasticache](#elasticache)
43
43
  | [elasticache_cache_parameter_group](#elasticache_cache_parameter_group)
44
44
  | [elasticsearch](#elasticsearch)
45
- | [elastictranscoder_pipeline](#elastictranscoder_pipeline)
46
45
  | [elb](#elb)
47
46
  | [emr](#emr)
48
47
  | [firehose](#firehose)
@@ -260,7 +259,7 @@ end
260
259
  ```
261
260
 
262
261
 
263
- ### its(:target_group_arn), its(:target_group_name), its(:protocol), its(:port), its(:vpc_id), its(:health_check_protocol), its(:health_check_port), its(:health_check_enabled), its(:health_check_interval_seconds), its(:health_check_timeout_seconds), its(:healthy_threshold_count), its(:unhealthy_threshold_count), its(:health_check_path), its(:load_balancer_arns), its(:target_type), its(:protocol_version), its(:ip_address_type)
262
+ ### its(:target_group_arn), its(:target_group_name), its(:protocol), its(:port), its(:vpc_id), its(:health_check_protocol), its(:health_check_port), its(:health_check_enabled), its(:health_check_interval_seconds), its(:health_check_timeout_seconds), its(:healthy_threshold_count), its(:unhealthy_threshold_count), its(:health_check_path), its(:load_balancer_arns), its(:target_type), its(:protocol_version), its(:ip_address_type), its(:target_control_port)
264
263
  ## <a name="ami">ami</a>
265
264
 
266
265
  AMI resource type.
@@ -310,7 +309,7 @@ end
310
309
 
311
310
  ### have_path
312
311
 
313
- ### its(:id), its(:name), its(:description), its(:created_date), its(:version), its(:warnings), its(:binary_media_types), its(:minimum_compression_size), its(:api_key_source), its(:policy), its(:tags), its(:disable_execute_api_endpoint), its(:root_resource_id)
312
+ ### its(:id), its(:name), its(:description), its(:created_date), its(:version), its(:warnings), its(:binary_media_types), its(:minimum_compression_size), its(:api_key_source), its(:policy), its(:tags), its(:disable_execute_api_endpoint), its(:root_resource_id), its(:security_policy), its(:endpoint_access_mode), its(:api_status), its(:api_status_message)
314
313
  ## <a name="autoscaling_group">autoscaling_group</a>
315
314
 
316
315
  AutoscalingGroup resource type.
@@ -372,7 +371,7 @@ describe autoscaling_group('my-auto-scaling-group') do
372
371
  end
373
372
  ```
374
373
 
375
- ### its(:auto_scaling_group_name), its(:auto_scaling_group_arn), its(:launch_configuration_name), its(:launch_template), its(:mixed_instances_policy), its(:min_size), its(:max_size), its(:desired_capacity), its(:predicted_capacity), its(:default_cooldown), its(:availability_zones), its(:load_balancer_names), its(:target_group_arns), its(:health_check_type), its(:health_check_grace_period), its(:created_time), its(:placement_group), its(:vpc_zone_identifier), its(:enabled_metrics), its(:status), its(:termination_policies), its(:new_instances_protected_from_scale_in), its(:service_linked_role_arn), its(:max_instance_lifetime), its(:capacity_rebalance), its(:warm_pool_configuration), its(:warm_pool_size), its(:context), its(:desired_capacity_type), its(:default_instance_warmup), its(:traffic_sources), its(:instance_maintenance_policy), its(:availability_zone_distribution), its(:availability_zone_impairment_policy), its(:capacity_reservation_specification)
374
+ ### its(:auto_scaling_group_name), its(:auto_scaling_group_arn), its(:launch_configuration_name), its(:launch_template), its(:mixed_instances_policy), its(:min_size), its(:max_size), its(:desired_capacity), its(:predicted_capacity), its(:default_cooldown), its(:availability_zones), its(:load_balancer_names), its(:target_group_arns), its(:health_check_type), its(:health_check_grace_period), its(:created_time), its(:placement_group), its(:vpc_zone_identifier), its(:enabled_metrics), its(:status), its(:termination_policies), its(:new_instances_protected_from_scale_in), its(:service_linked_role_arn), its(:max_instance_lifetime), its(:capacity_rebalance), its(:warm_pool_configuration), its(:warm_pool_size), its(:context), its(:desired_capacity_type), its(:default_instance_warmup), its(:traffic_sources), its(:instance_maintenance_policy), its(:availability_zone_distribution), its(:availability_zone_impairment_policy), its(:capacity_reservation_specification), its(:instance_lifecycle_policy)
376
375
  ## <a name="backup_plan">backup_plan</a>
377
376
 
378
377
  BackupPlan resource type.
@@ -414,7 +413,7 @@ end
414
413
  ```
415
414
 
416
415
 
417
- ### its(:backup_vault_name), its(:backup_vault_arn), its(:vault_type), its(:vault_state), its(:creation_date), its(:encryption_key_arn), its(:creator_request_id), its(:number_of_recovery_points), its(:locked), its(:min_retention_days), its(:max_retention_days), its(:lock_date)
416
+ ### its(:backup_vault_name), its(:backup_vault_arn), its(:vault_type), its(:vault_state), its(:creation_date), its(:encryption_key_arn), its(:creator_request_id), its(:number_of_recovery_points), its(:locked), its(:min_retention_days), its(:max_retention_days), its(:lock_date), its(:encryption_key_type)
418
417
  ## <a name="batch_compute_environment">batch_compute_environment</a>
419
418
 
420
419
  BatchComputeEnvironment resource type.
@@ -515,7 +514,7 @@ describe cloudformation_stack('my-cloudformation-stack') do
515
514
  end
516
515
  ```
517
516
 
518
- ### its(:stack_id), its(:stack_name), its(:change_set_id), its(:description), its(:parameters), its(:creation_time), its(:deletion_time), its(:last_updated_time), its(:rollback_configuration), its(:stack_status), its(:stack_status_reason), its(:disable_rollback), its(:notification_arns), its(:timeout_in_minutes), its(:capabilities), its(:role_arn), its(:enable_termination_protection), its(:parent_id), its(:root_id), its(:drift_information), its(:retain_except_on_create), its(:deletion_mode), its(:detailed_status)
517
+ ### its(:stack_id), its(:stack_name), its(:change_set_id), its(:description), its(:parameters), its(:creation_time), its(:deletion_time), its(:last_updated_time), its(:rollback_configuration), its(:stack_status), its(:stack_status_reason), its(:disable_rollback), its(:notification_arns), its(:timeout_in_minutes), its(:capabilities), its(:role_arn), its(:enable_termination_protection), its(:parent_id), its(:root_id), its(:drift_information), its(:retain_except_on_create), its(:deletion_mode), its(:detailed_status), its(:last_operations)
519
518
  ## <a name="cloudfront_distribution">cloudfront_distribution</a>
520
519
 
521
520
  CloudfrontDistribution resource type.
@@ -593,7 +592,7 @@ describe cloudfront_distribution('123456789zyxw.cloudfront.net') do
593
592
  end
594
593
  ```
595
594
 
596
- ### its(:id), its(:arn), its(:etag), its(:status), its(:last_modified_time), its(:domain_name), its(:origin_groups), its(:comment), its(:price_class), its(:enabled), its(:web_acl_id), its(:http_version), its(:is_ipv6_enabled), its(:alias_icp_recordals), its(:staging), its(:connection_mode), its(:anycast_ip_list_id)
595
+ ### its(:id), its(:arn), its(:etag), its(:status), its(:last_modified_time), its(:domain_name), its(:origin_groups), its(:comment), its(:price_class), its(:enabled), its(:web_acl_id), its(:http_version), its(:is_ipv6_enabled), its(:alias_icp_recordals), its(:staging), its(:connection_mode), its(:anycast_ip_list_id), its(:viewer_mtls_config), its(:connection_function_association)
597
596
  ## <a name="cloudtrail">cloudtrail</a>
598
597
 
599
598
  Cloudtrail resource type.
@@ -778,7 +777,7 @@ describe cloudwatch_logs('my-cloudwatch-logs-group') do
778
777
  end
779
778
  ```
780
779
 
781
- ### its(:log_group_name), its(:creation_time), its(:retention_in_days), its(:metric_filter_count), its(:arn), its(:stored_bytes), its(:kms_key_id), its(:data_protection_status), its(:inherited_properties), its(:log_group_class), its(:log_group_arn)
780
+ ### its(:log_group_name), its(:creation_time), its(:retention_in_days), its(:metric_filter_count), its(:arn), its(:stored_bytes), its(:kms_key_id), its(:data_protection_status), its(:inherited_properties), its(:log_group_class), its(:log_group_arn), its(:deletion_protection_enabled)
782
781
  ## <a name="codebuild">codebuild</a>
783
782
 
784
783
  Codebuild resource type.
@@ -1375,7 +1374,7 @@ describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
1375
1374
  end
1376
1375
  ```
1377
1376
 
1378
- ### its(:service_arn), its(:service_name), its(:cluster_arn), its(:load_balancers), its(:service_registries), its(:status), its(:desired_count), its(:running_count), its(:pending_count), its(:launch_type), its(:capacity_provider_strategy), its(:platform_version), its(:platform_family), its(:task_definition), its(:task_sets), its(:role_arn), its(:created_at), its(:placement_constraints), its(:placement_strategy), its(:network_configuration), its(:health_check_grace_period_seconds), its(:scheduling_strategy), its(:deployment_controller), its(:tags), its(:created_by), its(:enable_ecs_managed_tags), its(:propagate_tags), its(:enable_execute_command), its(:availability_zone_rebalancing)
1377
+ ### its(:service_arn), its(:service_name), its(:cluster_arn), its(:load_balancers), its(:service_registries), its(:status), its(:desired_count), its(:running_count), its(:pending_count), its(:launch_type), its(:capacity_provider_strategy), its(:platform_version), its(:platform_family), its(:task_definition), its(:task_sets), its(:role_arn), its(:created_at), its(:current_service_deployment), its(:current_service_revisions), its(:placement_constraints), its(:placement_strategy), its(:network_configuration), its(:health_check_grace_period_seconds), its(:scheduling_strategy), its(:deployment_controller), its(:tags), its(:created_by), its(:enable_ecs_managed_tags), its(:propagate_tags), its(:enable_execute_command), its(:availability_zone_rebalancing), its(:resource_management_type)
1379
1378
  ## <a name="ecs_task_definition">ecs_task_definition</a>
1380
1379
 
1381
1380
  ECS Task Definition resource type.
@@ -1471,7 +1470,7 @@ describe eks('my-eks') do
1471
1470
  end
1472
1471
  ```
1473
1472
 
1474
- ### its(:name), its(:arn), its(:created_at), its(:version), its(:endpoint), its(:role_arn), its(:kubernetes_network_config), its(:logging), its(:identity), its(:status), its(:client_request_token), its(:platform_version), its(:tags), its(:encryption_config), its(:connector_config), its(:id), its(:health), its(:outpost_config), its(:access_config), its(:upgrade_policy), its(:zonal_shift_config), its(:remote_network_config), its(:compute_config), its(:storage_config), its(:deletion_protection)
1473
+ ### its(:name), its(:arn), its(:created_at), its(:version), its(:endpoint), its(:role_arn), its(:kubernetes_network_config), its(:logging), its(:identity), its(:status), its(:client_request_token), its(:platform_version), its(:tags), its(:encryption_config), its(:connector_config), its(:id), its(:health), its(:outpost_config), its(:access_config), its(:upgrade_policy), its(:zonal_shift_config), its(:remote_network_config), its(:compute_config), its(:storage_config), its(:deletion_protection), its(:control_plane_scaling_config)
1475
1474
  ## <a name="eks_nodegroup">eks_nodegroup</a>
1476
1475
 
1477
1476
  EksNodegroup resource type.
@@ -1679,21 +1678,6 @@ end
1679
1678
 
1680
1679
 
1681
1680
  ### its(:domain_id), its(:domain_name), its(:arn), its(:created), its(:deleted), its(:endpoint), its(:endpoints), its(:processing), its(:upgrade_processing), its(:elasticsearch_version), its(:access_policies), its(:snapshot_options), its(:vpc_options), its(:cognito_options), its(:encryption_at_rest_options), its(:node_to_node_encryption_options), its(:advanced_options), its(:log_publishing_options), its(:service_software_options), its(:domain_endpoint_options), its(:advanced_security_options), its(:auto_tune_options), its(:change_progress_details), its(:domain_processing_status), its(:modifying_properties)
1682
- ## <a name="elastictranscoder_pipeline">elastictranscoder_pipeline</a>
1683
-
1684
- ElastictranscoderPipeline resource type.
1685
-
1686
- ### exist
1687
-
1688
- ### be_active, be_paused
1689
-
1690
- ```ruby
1691
- describe elastictranscoder_pipeline('my-elastictranscoder-pipeline') do
1692
- it { should be_active }
1693
- end
1694
- ```
1695
-
1696
-
1697
1681
  ## <a name="elb">elb</a>
1698
1682
 
1699
1683
  ELB resource type.
@@ -1823,7 +1807,7 @@ describe emr('my-emr') do
1823
1807
  end
1824
1808
  ```
1825
1809
 
1826
- ### its(:id), its(:name), its(:instance_collection_type), its(:log_uri), its(:log_encryption_kms_key_id), its(:requested_ami_version), its(:running_ami_version), its(:release_label), its(:auto_terminate), its(:termination_protected), its(:unhealthy_node_replacement), its(:visible_to_all_users), its(:service_role), its(:normalized_instance_hours), its(:master_public_dns_name), its(:configurations), its(:security_configuration), its(:auto_scaling_role), its(:scale_down_behavior), its(:custom_ami_id), its(:ebs_root_volume_size), its(:repo_upgrade_on_boot), its(:cluster_arn), its(:outpost_arn), its(:step_concurrency_level), its(:placement_groups), its(:os_release_label), its(:ebs_root_volume_iops), its(:ebs_root_volume_throughput), its(:extended_support)
1810
+ ### its(:id), its(:name), its(:instance_collection_type), its(:log_uri), its(:log_encryption_kms_key_id), its(:requested_ami_version), its(:running_ami_version), its(:release_label), its(:auto_terminate), its(:termination_protected), its(:unhealthy_node_replacement), its(:visible_to_all_users), its(:service_role), its(:normalized_instance_hours), its(:master_public_dns_name), its(:configurations), its(:security_configuration), its(:auto_scaling_role), its(:scale_down_behavior), its(:custom_ami_id), its(:ebs_root_volume_size), its(:repo_upgrade_on_boot), its(:cluster_arn), its(:outpost_arn), its(:step_concurrency_level), its(:placement_groups), its(:os_release_label), its(:ebs_root_volume_iops), its(:ebs_root_volume_throughput), its(:extended_support), its(:monitoring_configuration)
1827
1811
  ## <a name="firehose">firehose</a>
1828
1812
 
1829
1813
  Firehose resource type.
@@ -2117,7 +2101,7 @@ end
2117
2101
  ```
2118
2102
 
2119
2103
 
2120
- ### its(:path), its(:role_name), its(:role_id), its(:arn), its(:create_date), its(:assume_role_policy_document), its(:description), its(:max_session_duration), its(:permissions_boundary), its(:tags), its(:role_last_used)
2104
+ ### its(:path), its(:role_name), its(:role_id), its(:arn), its(:create_date), its(:assume_role_policy_document), its(:description), its(:max_session_duration), its(:tags)
2121
2105
  ### :unlock: Advanced use
2122
2106
 
2123
2107
  `iam_role` can use `Aws::IAM::Role` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/IAM/Role.html).
@@ -2284,7 +2268,7 @@ describe kinesis('my-kinesis') do
2284
2268
  end
2285
2269
  ```
2286
2270
 
2287
- ### its(:stream_name), its(:stream_arn), its(:stream_status), its(:stream_mode_details), its(:retention_period_hours), its(:stream_creation_timestamp), its(:encryption_type), its(:key_id), its(:open_shard_count), its(:consumer_count)
2271
+ ### its(:stream_name), its(:stream_arn), its(:stream_status), its(:stream_mode_details), its(:retention_period_hours), its(:stream_creation_timestamp), its(:encryption_type), its(:key_id), its(:open_shard_count), its(:consumer_count), its(:warm_throughput), its(:max_record_size_in_ki_b)
2288
2272
  ## <a name="kms">kms</a>
2289
2273
 
2290
2274
  Kms resource type.
@@ -2411,7 +2395,7 @@ end
2411
2395
 
2412
2396
  This matcher does not support Amazon S3 event sources ([see SDK doc](http://docs.aws.amazon.com/sdkforruby/api/Aws/Lambda/Client.html#list_event_source_mappings-instance_method)).
2413
2397
 
2414
- ### its(:function_name), its(:function_arn), its(:runtime), its(:role), its(:handler), its(:code_size), its(:description), its(:timeout), its(:memory_size), its(:last_modified), its(:code_sha_256), its(:version), its(:vpc_config), its(:dead_letter_config), its(:kms_key_arn), its(:master_arn), its(:revision_id), its(:layers), its(:state), its(:state_reason), its(:state_reason_code), its(:last_update_status), its(:last_update_status_reason), its(:last_update_status_reason_code), its(:file_system_configs), its(:package_type), its(:image_config_response), its(:signing_profile_version_arn), its(:signing_job_arn), its(:architectures), its(:ephemeral_storage), its(:snap_start), its(:runtime_version_config), its(:logging_config)
2398
+ ### its(:function_name), its(:function_arn), its(:runtime), its(:role), its(:handler), its(:code_size), its(:description), its(:timeout), its(:memory_size), its(:last_modified), its(:code_sha_256), its(:version), its(:vpc_config), its(:dead_letter_config), its(:kms_key_arn), its(:master_arn), its(:revision_id), its(:layers), its(:state), its(:state_reason), its(:state_reason_code), its(:last_update_status), its(:last_update_status_reason), its(:last_update_status_reason_code), its(:file_system_configs), its(:package_type), its(:image_config_response), its(:signing_profile_version_arn), its(:signing_job_arn), its(:architectures), its(:ephemeral_storage), its(:snap_start), its(:runtime_version_config), its(:logging_config), its(:capacity_provider_config), its(:config_sha_256), its(:durable_config), its(:tenancy_config)
2415
2399
  ## <a name="launch_configuration">launch_configuration</a>
2416
2400
 
2417
2401
  LaunchConfiguration resource type.
@@ -2532,7 +2516,7 @@ end
2532
2516
  ```
2533
2517
 
2534
2518
 
2535
- ### its(:prefix_list_id), its(:address_family), its(:state), its(:state_message), its(:prefix_list_arn), its(:prefix_list_name), its(:max_entries), its(:version), its(:owner_id)
2519
+ ### its(:prefix_list_id), its(:address_family), its(:state), its(:state_message), its(:prefix_list_arn), its(:prefix_list_name), its(:max_entries), its(:version), its(:owner_id), its(:ipam_prefix_list_resolver_target_id), its(:ipam_prefix_list_resolver_sync_enabled)
2536
2520
  ## <a name="mq">mq</a>
2537
2521
 
2538
2522
  MQ resource type.
@@ -2594,7 +2578,7 @@ end
2594
2578
 
2595
2579
  ### be_updating
2596
2580
 
2597
- ### its(:active_operation_arn), its(:client_authentication), its(:cluster_arn), its(:cluster_name), its(:creation_time), its(:current_version), its(:enhanced_monitoring), its(:number_of_broker_nodes), its(:state), its(:state_info), its(:zookeeper_connect_string), its(:zookeeper_connect_string_tls), its(:storage_mode), its(:customer_action_status)
2581
+ ### its(:active_operation_arn), its(:client_authentication), its(:cluster_arn), its(:cluster_name), its(:creation_time), its(:current_version), its(:enhanced_monitoring), its(:number_of_broker_nodes), its(:state), its(:state_info), its(:zookeeper_connect_string), its(:zookeeper_connect_string_tls), its(:storage_mode), its(:rebalancing), its(:customer_action_status)
2598
2582
  ## <a name="nat_gateway">nat_gateway</a>
2599
2583
 
2600
2584
  NatGateway resource type.
@@ -2644,7 +2628,7 @@ end
2644
2628
  ```
2645
2629
 
2646
2630
 
2647
- ### its(:create_time), its(:delete_time), its(:failure_code), its(:failure_message), its(:nat_gateway_id), its(:provisioned_bandwidth), its(:state), its(:subnet_id), its(:vpc_id), its(:connectivity_type)
2631
+ ### its(:create_time), its(:delete_time), its(:failure_code), its(:failure_message), its(:nat_gateway_id), its(:provisioned_bandwidth), its(:state), its(:subnet_id), its(:vpc_id), its(:connectivity_type), its(:availability_mode), its(:auto_scaling_ips), its(:auto_provision_zones), its(:attached_appliances), its(:route_table_id)
2648
2632
  ## <a name="network_acl">network_acl</a>
2649
2633
 
2650
2634
  NetworkAcl resource type.
@@ -2795,7 +2779,7 @@ describe network_interface('eni-12ab3cde') do
2795
2779
  end
2796
2780
  ```
2797
2781
 
2798
- ### its(:association), its(:availability_zone), its(:connection_tracking_configuration), its(:description), its(:interface_type), its(:ipv_6_addresses), its(:mac_address), its(:network_interface_id), its(:outpost_arn), its(:owner_id), its(:private_dns_name), its(:public_dns_name), its(:public_ip_dns_name_options), its(:private_ip_address), its(:ipv_4_prefixes), its(:ipv_6_prefixes), its(:requester_id), its(:requester_managed), its(:source_dest_check), its(:status), its(:subnet_id), its(:vpc_id), its(:deny_all_igw_traffic), its(:ipv_6_native), its(:ipv_6_address), its(:operator), its(:associated_subnets)
2782
+ ### its(:association), its(:availability_zone), its(:connection_tracking_configuration), its(:description), its(:interface_type), its(:ipv_6_addresses), its(:mac_address), its(:network_interface_id), its(:outpost_arn), its(:owner_id), its(:private_dns_name), its(:public_dns_name), its(:public_ip_dns_name_options), its(:private_ip_address), its(:ipv_4_prefixes), its(:ipv_6_prefixes), its(:requester_id), its(:requester_managed), its(:source_dest_check), its(:status), its(:subnet_id), its(:vpc_id), its(:deny_all_igw_traffic), its(:ipv_6_native), its(:ipv_6_address), its(:operator), its(:associated_subnets), its(:availability_zone_id)
2799
2783
  ## <a name="nlb">nlb</a>
2800
2784
 
2801
2785
  NLB resource type.
@@ -2926,7 +2910,7 @@ end
2926
2910
  ```
2927
2911
 
2928
2912
 
2929
- ### its(:target_group_arn), its(:target_group_name), its(:protocol), its(:port), its(:vpc_id), its(:health_check_protocol), its(:health_check_port), its(:health_check_enabled), its(:health_check_interval_seconds), its(:health_check_timeout_seconds), its(:healthy_threshold_count), its(:unhealthy_threshold_count), its(:health_check_path), its(:load_balancer_arns), its(:target_type), its(:protocol_version), its(:ip_address_type)
2913
+ ### its(:target_group_arn), its(:target_group_name), its(:protocol), its(:port), its(:vpc_id), its(:health_check_protocol), its(:health_check_port), its(:health_check_enabled), its(:health_check_interval_seconds), its(:health_check_timeout_seconds), its(:healthy_threshold_count), its(:unhealthy_threshold_count), its(:health_check_path), its(:load_balancer_arns), its(:target_type), its(:protocol_version), its(:ip_address_type), its(:target_control_port)
2930
2914
  ## <a name="rds">rds</a>
2931
2915
 
2932
2916
  RDS resource type.
@@ -3023,7 +3007,7 @@ end
3023
3007
  ```
3024
3008
 
3025
3009
 
3026
- ### its(:vpc_id), its(:db_instance_identifier), its(:db_instance_class), its(:engine), its(:db_instance_status), its(:master_username), its(:db_name), its(:endpoint), its(:allocated_storage), its(:instance_create_time), its(:preferred_backup_window), its(:backup_retention_period), its(:db_security_groups), its(:availability_zone), its(:preferred_maintenance_window), its(:pending_modified_values), its(:latest_restorable_time), its(:multi_az), its(:engine_version), its(:auto_minor_version_upgrade), its(:read_replica_source_db_instance_identifier), its(:read_replica_db_instance_identifiers), its(:read_replica_db_cluster_identifiers), its(:replica_mode), its(:license_model), its(:iops), its(:storage_throughput), its(:character_set_name), its(:nchar_character_set_name), its(:secondary_availability_zone), its(:publicly_accessible), its(:status_infos), its(:storage_type), its(:tde_credential_arn), its(:db_instance_port), its(:db_cluster_identifier), its(:storage_encrypted), its(:kms_key_id), its(:dbi_resource_id), its(:ca_certificate_identifier), its(:domain_memberships), its(:copy_tags_to_snapshot), its(:monitoring_interval), its(:enhanced_monitoring_resource_arn), its(:monitoring_role_arn), its(:promotion_tier), its(:db_instance_arn), its(:timezone), its(:iam_database_authentication_enabled), its(:database_insights_mode), its(:performance_insights_enabled), its(:performance_insights_kms_key_id), its(:performance_insights_retention_period), its(:enabled_cloudwatch_logs_exports), its(:processor_features), its(:deletion_protection), its(:associated_roles), its(:listener_endpoint), its(:max_allocated_storage), its(:tag_list), its(:automation_mode), its(:resume_full_automation_mode_time), its(:customer_owned_ip_enabled), its(:network_type), its(:activity_stream_status), its(:activity_stream_kms_key_id), its(:activity_stream_kinesis_stream_name), its(:activity_stream_mode), its(:activity_stream_engine_native_audit_fields_included), its(:aws_backup_recovery_point_arn), its(:db_instance_automated_backups_replications), its(:backup_target), its(:automatic_restart_time), its(:custom_iam_instance_profile), its(:activity_stream_policy_status), its(:certificate_details), its(:db_system_id), its(:master_user_secret), its(:read_replica_source_db_cluster_identifier), its(:percent_progress), its(:multi_tenant), its(:dedicated_log_volume), its(:is_storage_config_upgrade_available), its(:engine_lifecycle_support)
3010
+ ### its(:vpc_id), its(:db_instance_identifier), its(:db_instance_class), its(:engine), its(:db_instance_status), its(:master_username), its(:db_name), its(:endpoint), its(:allocated_storage), its(:instance_create_time), its(:preferred_backup_window), its(:backup_retention_period), its(:db_security_groups), its(:availability_zone), its(:preferred_maintenance_window), its(:upgrade_rollout_order), its(:pending_modified_values), its(:latest_restorable_time), its(:multi_az), its(:engine_version), its(:auto_minor_version_upgrade), its(:read_replica_source_db_instance_identifier), its(:read_replica_db_instance_identifiers), its(:read_replica_db_cluster_identifiers), its(:replica_mode), its(:license_model), its(:iops), its(:storage_throughput), its(:character_set_name), its(:nchar_character_set_name), its(:secondary_availability_zone), its(:publicly_accessible), its(:status_infos), its(:storage_type), its(:tde_credential_arn), its(:db_instance_port), its(:db_cluster_identifier), its(:storage_encrypted), its(:kms_key_id), its(:dbi_resource_id), its(:ca_certificate_identifier), its(:domain_memberships), its(:copy_tags_to_snapshot), its(:monitoring_interval), its(:enhanced_monitoring_resource_arn), its(:monitoring_role_arn), its(:promotion_tier), its(:db_instance_arn), its(:timezone), its(:iam_database_authentication_enabled), its(:database_insights_mode), its(:performance_insights_enabled), its(:performance_insights_kms_key_id), its(:performance_insights_retention_period), its(:enabled_cloudwatch_logs_exports), its(:processor_features), its(:deletion_protection), its(:associated_roles), its(:listener_endpoint), its(:max_allocated_storage), its(:tag_list), its(:automation_mode), its(:resume_full_automation_mode_time), its(:customer_owned_ip_enabled), its(:network_type), its(:activity_stream_status), its(:activity_stream_kms_key_id), its(:activity_stream_kinesis_stream_name), its(:activity_stream_mode), its(:activity_stream_engine_native_audit_fields_included), its(:aws_backup_recovery_point_arn), its(:db_instance_automated_backups_replications), its(:backup_target), its(:automatic_restart_time), its(:custom_iam_instance_profile), its(:activity_stream_policy_status), its(:certificate_details), its(:db_system_id), its(:master_user_secret), its(:read_replica_source_db_cluster_identifier), its(:percent_progress), its(:multi_tenant), its(:dedicated_log_volume), its(:is_storage_config_upgrade_available), its(:engine_lifecycle_support), its(:additional_storage_volumes), its(:storage_volume_status)
3027
3011
  ### :unlock: Advanced use
3028
3012
 
3029
3013
  `rds` can use `Aws::RDS::DBInstance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/RDS/DBInstance.html).
@@ -3105,7 +3089,7 @@ describe rds_db_cluster('my-rds-db-cluster') do
3105
3089
  end
3106
3090
  ```
3107
3091
 
3108
- ### its(:allocated_storage), its(:availability_zones), its(:backup_retention_period), its(:character_set_name), its(:database_name), its(:db_cluster_identifier), its(:db_cluster_parameter_group), its(:db_subnet_group), its(:status), its(:percent_progress), its(:earliest_restorable_time), its(:endpoint), its(:reader_endpoint), its(:custom_endpoints), its(:multi_az), its(:engine), its(:engine_version), its(:latest_restorable_time), its(:port), its(:master_username), its(:db_cluster_option_group_memberships), its(:preferred_backup_window), its(:preferred_maintenance_window), its(:replication_source_identifier), its(:read_replica_identifiers), its(:status_infos), its(:hosted_zone_id), its(:storage_encrypted), its(:kms_key_id), its(:db_cluster_resource_id), its(:db_cluster_arn), its(:associated_roles), its(:iam_database_authentication_enabled), its(:clone_group_id), its(:cluster_create_time), its(:earliest_backtrack_time), its(:backtrack_window), its(:backtrack_consumed_change_records), its(:enabled_cloudwatch_logs_exports), its(:capacity), its(:pending_modified_values), its(:engine_mode), its(:scaling_configuration_info), its(:rds_custom_cluster_configuration), its(:db_cluster_instance_class), its(:storage_type), its(:iops), its(:storage_throughput), its(:io_optimized_next_allowed_modification_time), its(:publicly_accessible), its(:auto_minor_version_upgrade), its(:deletion_protection), its(:http_endpoint_enabled), its(:activity_stream_mode), its(:activity_stream_status), its(:activity_stream_kms_key_id), its(:activity_stream_kinesis_stream_name), its(:copy_tags_to_snapshot), its(:cross_account_clone), its(:domain_memberships), its(:global_cluster_identifier), its(:global_write_forwarding_status), its(:global_write_forwarding_requested), its(:network_type), its(:automatic_restart_time), its(:serverless_v2_scaling_configuration), its(:serverless_v2_platform_version), its(:monitoring_interval), its(:monitoring_role_arn), its(:database_insights_mode), its(:performance_insights_enabled), its(:performance_insights_kms_key_id), its(:performance_insights_retention_period), its(:db_system_id), its(:master_user_secret), its(:local_write_forwarding_status), its(:aws_backup_recovery_point_arn), its(:limitless_database), its(:cluster_scalability_type), its(:certificate_details), its(:engine_lifecycle_support)
3092
+ ### its(:allocated_storage), its(:availability_zones), its(:backup_retention_period), its(:character_set_name), its(:database_name), its(:db_cluster_identifier), its(:db_cluster_parameter_group), its(:db_subnet_group), its(:status), its(:percent_progress), its(:earliest_restorable_time), its(:endpoint), its(:reader_endpoint), its(:custom_endpoints), its(:multi_az), its(:engine), its(:engine_version), its(:latest_restorable_time), its(:port), its(:master_username), its(:db_cluster_option_group_memberships), its(:preferred_backup_window), its(:preferred_maintenance_window), its(:upgrade_rollout_order), its(:replication_source_identifier), its(:read_replica_identifiers), its(:status_infos), its(:hosted_zone_id), its(:storage_encrypted), its(:kms_key_id), its(:db_cluster_resource_id), its(:db_cluster_arn), its(:associated_roles), its(:iam_database_authentication_enabled), its(:clone_group_id), its(:cluster_create_time), its(:earliest_backtrack_time), its(:backtrack_window), its(:backtrack_consumed_change_records), its(:enabled_cloudwatch_logs_exports), its(:capacity), its(:pending_modified_values), its(:engine_mode), its(:scaling_configuration_info), its(:rds_custom_cluster_configuration), its(:db_cluster_instance_class), its(:storage_type), its(:iops), its(:storage_throughput), its(:io_optimized_next_allowed_modification_time), its(:publicly_accessible), its(:auto_minor_version_upgrade), its(:deletion_protection), its(:http_endpoint_enabled), its(:activity_stream_mode), its(:activity_stream_status), its(:activity_stream_kms_key_id), its(:activity_stream_kinesis_stream_name), its(:copy_tags_to_snapshot), its(:cross_account_clone), its(:domain_memberships), its(:global_cluster_identifier), its(:global_write_forwarding_status), its(:global_write_forwarding_requested), its(:network_type), its(:automatic_restart_time), its(:serverless_v2_scaling_configuration), its(:serverless_v2_platform_version), its(:monitoring_interval), its(:monitoring_role_arn), its(:database_insights_mode), its(:performance_insights_enabled), its(:performance_insights_kms_key_id), its(:performance_insights_retention_period), its(:db_system_id), its(:master_user_secret), its(:local_write_forwarding_status), its(:aws_backup_recovery_point_arn), its(:limitless_database), its(:cluster_scalability_type), its(:certificate_details), its(:engine_lifecycle_support)
3109
3093
  ## <a name="rds_db_cluster_parameter_group">rds_db_cluster_parameter_group</a>
3110
3094
 
3111
3095
  RdsDBClusterParameterGroup resource type.
@@ -3357,7 +3341,7 @@ describe redshift('my-redshift') do
3357
3341
  end
3358
3342
  ```
3359
3343
 
3360
- ### its(:vpc_id), its(:cluster_identifier), its(:node_type), its(:cluster_status), its(:cluster_availability_status), its(:modify_status), its(:master_username), its(:db_name), its(:endpoint), its(:cluster_create_time), its(:automated_snapshot_retention_period), its(:manual_snapshot_retention_period), its(:cluster_security_groups), its(:cluster_subnet_group_name), its(:vpc_id), its(:availability_zone), its(:preferred_maintenance_window), its(:pending_modified_values), its(:cluster_version), its(:allow_version_upgrade), its(:number_of_nodes), its(:publicly_accessible), its(:encrypted), its(:restore_status), its(:data_transfer_progress), its(:hsm_status), its(:cluster_snapshot_copy_status), its(:cluster_public_key), its(:cluster_nodes), its(:elastic_ip_status), its(:cluster_revision_number), its(:kms_key_id), its(:enhanced_vpc_routing), its(:iam_roles), its(:pending_actions), its(:maintenance_track_name), its(:elastic_resize_number_of_node_options), its(:deferred_maintenance_windows), its(:snapshot_schedule_identifier), its(:snapshot_schedule_state), its(:expected_next_snapshot_schedule_time), its(:expected_next_snapshot_schedule_time_status), its(:next_maintenance_window_start_time), its(:resize_info), its(:availability_zone_relocation_status), its(:cluster_namespace_arn), its(:total_storage_capacity_in_mega_bytes), its(:aqua_configuration), its(:default_iam_role_arn), its(:reserved_node_exchange_status), its(:custom_domain_name), its(:custom_domain_certificate_arn), its(:custom_domain_certificate_expiry_date), its(:master_password_secret_arn), its(:master_password_secret_kms_key_id), its(:ip_address_type), its(:multi_az), its(:multi_az_secondary)
3344
+ ### its(:vpc_id), its(:cluster_identifier), its(:node_type), its(:cluster_status), its(:cluster_availability_status), its(:modify_status), its(:master_username), its(:db_name), its(:endpoint), its(:cluster_create_time), its(:automated_snapshot_retention_period), its(:manual_snapshot_retention_period), its(:cluster_security_groups), its(:cluster_subnet_group_name), its(:vpc_id), its(:availability_zone), its(:preferred_maintenance_window), its(:pending_modified_values), its(:cluster_version), its(:allow_version_upgrade), its(:number_of_nodes), its(:publicly_accessible), its(:encrypted), its(:restore_status), its(:data_transfer_progress), its(:hsm_status), its(:cluster_snapshot_copy_status), its(:cluster_public_key), its(:cluster_nodes), its(:elastic_ip_status), its(:cluster_revision_number), its(:kms_key_id), its(:enhanced_vpc_routing), its(:iam_roles), its(:pending_actions), its(:maintenance_track_name), its(:elastic_resize_number_of_node_options), its(:deferred_maintenance_windows), its(:snapshot_schedule_identifier), its(:snapshot_schedule_state), its(:expected_next_snapshot_schedule_time), its(:expected_next_snapshot_schedule_time_status), its(:next_maintenance_window_start_time), its(:resize_info), its(:availability_zone_relocation_status), its(:cluster_namespace_arn), its(:total_storage_capacity_in_mega_bytes), its(:aqua_configuration), its(:default_iam_role_arn), its(:reserved_node_exchange_status), its(:custom_domain_name), its(:custom_domain_certificate_arn), its(:custom_domain_certificate_expiry_date), its(:master_password_secret_arn), its(:master_password_secret_kms_key_id), its(:ip_address_type), its(:multi_az), its(:multi_az_secondary), its(:lakehouse_registration_status), its(:catalog_arn)
3361
3345
  ## <a name="redshift_cluster_parameter_group">redshift_cluster_parameter_group</a>
3362
3346
 
3363
3347
  RedshiftClusterParameterGroup resource type.
@@ -3413,7 +3397,7 @@ ns-890.awsdns-12.com.'
3413
3397
  end
3414
3398
  ```
3415
3399
 
3416
- ### its(:id), its(:name), its(:caller_reference), its(:config), its(:resource_record_set_count), its(:linked_service)
3400
+ ### its(:id), its(:name), its(:caller_reference), its(:config), its(:resource_record_set_count), its(:linked_service), its(:features)
3417
3401
  ## <a name="route_table">route_table</a>
3418
3402
 
3419
3403
  RouteTable resource type.
@@ -3682,7 +3666,7 @@ describe secretsmanager('my-secret') do
3682
3666
  end
3683
3667
  ```
3684
3668
 
3685
- ### its(:arn), its(:name), its(:description), its(:kms_key_id), its(:rotation_enabled), its(:rotation_lambda_arn), its(:last_rotated_date), its(:last_changed_date), its(:last_accessed_date), its(:deleted_date), its(:next_rotation_date), its(:owning_service), its(:created_date), its(:primary_region), its(:replication_status)
3669
+ ### its(:arn), its(:name), its(:type), its(:description), its(:kms_key_id), its(:rotation_enabled), its(:rotation_lambda_arn), its(:external_secret_rotation_metadata), its(:external_secret_rotation_role_arn), its(:last_rotated_date), its(:last_changed_date), its(:last_accessed_date), its(:deleted_date), its(:next_rotation_date), its(:owning_service), its(:created_date), its(:primary_region), its(:replication_status)
3686
3670
  ## <a name="security_group">security_group</a>
3687
3671
 
3688
3672
  SecurityGroup resource type.
@@ -4267,7 +4251,7 @@ end
4267
4251
  ```
4268
4252
 
4269
4253
 
4270
- ### its(:category), its(:transit_gateway_id), its(:core_network_arn), its(:core_network_attachment_arn), its(:gateway_association_state), its(:options), its(:routes), its(:vgw_telemetry), its(:pre_shared_key_arn), its(:vpn_connection_id), its(:state), its(:customer_gateway_configuration), its(:type), its(:customer_gateway_id), its(:vpn_gateway_id)
4254
+ ### its(:category), its(:transit_gateway_id), its(:vpn_concentrator_id), its(:core_network_arn), its(:core_network_attachment_arn), its(:gateway_association_state), its(:options), its(:routes), its(:vgw_telemetry), its(:pre_shared_key_arn), its(:vpn_connection_id), its(:state), its(:customer_gateway_configuration), its(:type), its(:customer_gateway_id), its(:vpn_gateway_id)
4271
4255
  ## <a name="vpn_gateway">vpn_gateway</a>
4272
4256
 
4273
4257
  VpnGateway resource type.
@@ -15,7 +15,7 @@ module Awspec::Generator
15
15
  end
16
16
 
17
17
  def generate_doc
18
- @account_spec = ERB.new(account_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
18
+ @account_spec = ERB.new(account_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
19
19
  super
20
20
  end
21
21
 
@@ -14,8 +14,9 @@ module Awspec::Generator
14
14
  @describes = []
15
15
  end
16
16
 
17
+ # rubocop:disable Layout/LineLength
17
18
  def generate_doc
18
- @account_attribute_spec = ERB.new(account_attribute_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
19
+ @account_attribute_spec = ERB.new(account_attribute_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
19
20
  super
20
21
  end
21
22
 
@@ -48,7 +48,7 @@ module Awspec::Generator
48
48
  @descriptions[matcher] += line
49
49
  end
50
50
  end
51
- ERB.new(doc_template, nil, '-').result(binding)
51
+ ERB.new(doc_template, trim_mode: '-').result(binding)
52
52
  end
53
53
 
54
54
  def collect_matchers
@@ -18,7 +18,7 @@ module Awspec::Generator
18
18
  <%= links.join("\n| ") %>
19
19
 
20
20
  EOF
21
- doc = ERB.new(header, nil, '-').result(binding)
21
+ doc = ERB.new(header, trim_mode: '-').result(binding)
22
22
 
23
23
  types.sort.map do |type|
24
24
  doc += eval "Awspec::Generator::Doc::Type::#{type.camelize}.new.generate_doc"
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  certificates = select_all_certificates
9
9
  raise 'Not Found Certificates' if certificates.empty?
10
10
 
11
- ERB.new(acm_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(acm_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  def acm_spec_template
@@ -16,7 +16,7 @@ module Awspec::Generator
16
16
  albs = select_alb_by_vpc_id(@vpc_id)
17
17
 
18
18
  specs = albs.map do |alb|
19
- content = ERB.new(alb_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
19
+ content = ERB.new(alb_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
20
20
  end
21
21
  specs.join("\n")
22
22
  end
@@ -20,7 +20,7 @@ module Awspec::Generator
20
20
  alb_listeners.map do |listener|
21
21
  rules = select_rule_by_alb_listener_id(listener.listener_arn).map(&:to_h)
22
22
  rules.map do |rule|
23
- content = ERB.new(alb_listener_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
23
+ content = ERB.new(alb_listener_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
24
24
  end
25
25
  end
26
26
  end
@@ -17,7 +17,7 @@ module Awspec::Generator
17
17
  @vpc_tag_name = vpc.tag_name
18
18
  autoscaling_groups = select_autoscaling_group_by_vpc_id(@vpc_id)
19
19
  specs = autoscaling_groups.map do |autoscaling_group|
20
- content = ERB.new(autoscaling_group_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
20
+ content = ERB.new(autoscaling_group_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
21
21
  end
22
22
  specs.join("\n")
23
23
  end
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  alarms = select_all_cloudwatch_alarms
9
9
  raise 'Not Found alarm' if alarms.empty?
10
10
 
11
- ERB.new(alarm_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(alarm_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  def alarm_spec_template
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  events = select_all_cloudwatch_events
9
9
  raise 'Not Found event' if events.empty?
10
10
 
11
- ERB.new(event_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(event_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  def event_spec_template
@@ -12,7 +12,7 @@ module Awspec::Generator
12
12
  log_stream_line = generate_log_stream_spec(log_group.log_group_name)
13
13
  metric_filter_lines = generate_log_metric_filters_specs(log_group.log_group_name)
14
14
  subscription_filter_lines = generate_log_subscription_filters_specs(log_group.log_group_name)
15
- content = ERB.new(cloudwatch_logs_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
15
+ content = ERB.new(cloudwatch_logs_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
16
16
  end
17
17
  specs.join("\n")
18
18
  end
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  projects = select_all_codebuild_projects
9
9
  raise 'Not Found CodeBuild Project' if projects.empty?
10
10
 
11
- ERB.new(codebuild_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(codebuild_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  def codebuild_spec_template
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  pipelines = select_all_codepipelines
9
9
  raise 'Not Found CodePipeline' if pipelines.empty?
10
10
 
11
- ERB.new(codepipeline_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(codepipeline_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  def codepipeline_spec_template
@@ -12,7 +12,7 @@ module Awspec::Generator
12
12
  virtual_interfaces = select_virtual_interfaces
13
13
  raise 'Not Found virtual_interfaces' if virtual_interfaces.empty?
14
14
 
15
- ERB.new(virtual_interface_spec_template, nil, '-').result(binding).chomp
15
+ ERB.new(virtual_interface_spec_template, trim_mode: '-').result(binding).chomp
16
16
  end
17
17
 
18
18
  def virtual_interface_spec_template
@@ -10,7 +10,7 @@ module Awspec::Generator
10
10
 
11
11
  specs = volumes.map do |volume|
12
12
  attachment_specs = generate_attachment_specs(volume)
13
- content = ERB.new(ebs_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
13
+ content = ERB.new(ebs_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
14
14
  end
15
15
  specs.join("\n")
16
16
  end
@@ -19,7 +19,7 @@ module Awspec::Generator
19
19
  linespecs = []
20
20
  volume.attachments.each do |attachment|
21
21
  instance = find_ec2(attachment.instance_id)
22
- linespecs.push(ERB.new(attachment_linetemplate, nil, '-').result(binding)) if attachment.instance_id
22
+ linespecs.push(ERB.new(attachment_linetemplate, trim_mode: '-').result(binding)) if attachment.instance_id
23
23
  end
24
24
  linespecs
25
25
  end
@@ -23,7 +23,7 @@ module Awspec::Generator
23
23
  volumes = select_ebs_by_instance_id(instance_id)
24
24
  network_interfaces = select_network_interface_by_instance_id(instance_id)
25
25
  credit_specification = find_ec2_credit_specifications(instance_id)
26
- content = ERB.new(ec2_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
26
+ content = ERB.new(ec2_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
27
27
  end
28
28
  specs.join("\n")
29
29
  end
@@ -10,7 +10,7 @@ module Awspec::Generator
10
10
 
11
11
  specs = file_systems.map do |file_system|
12
12
  file_system.name = get_name_by_id(file_system.file_system_id)
13
- content = ERB.new(file_system_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
13
+ content = ERB.new(file_system_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
14
14
  end
15
15
  specs.join("\n")
16
16
  end
@@ -13,7 +13,7 @@ module Awspec::Generator
13
13
  eips = select_all_addresses
14
14
  raise 'Not Found Elastic IP addresses.' if eips.empty?
15
15
 
16
- ERB.new(eip_spec_template, nil, '-').result(binding).chomp
16
+ ERB.new(eip_spec_template, trim_mode: '-').result(binding).chomp
17
17
  end
18
18
 
19
19
  def eip_spec_template
@@ -16,7 +16,7 @@ module Awspec::Generator
16
16
  end
17
17
  raise 'Not Found Cache Clusters' if clusters.empty?
18
18
 
19
- ERB.new(cache_clusters_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
19
+ ERB.new(cache_clusters_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
20
20
  end
21
21
 
22
22
  def cache_clusters_spec_template
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  domains = select_all_elasticsearch_domains
9
9
  raise 'Not Found Domain' if domains.empty?
10
10
 
11
- ERB.new(domain_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
11
+ ERB.new(domain_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
12
12
  end
13
13
 
14
14
  def domain_spec_template
@@ -20,7 +20,7 @@ module Awspec::Generator
20
20
  lbs = select_elb_by_vpc_id(@vpc_id)
21
21
 
22
22
  specs = lbs.map do |lb|
23
- content = ERB.new(elb_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
23
+ content = ERB.new(elb_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
24
24
  end
25
25
  specs.join("\n")
26
26
  end
@@ -17,7 +17,7 @@ module Awspec::Generator
17
17
  document = JSON.generate(JSON.parse(URI.decode_www_form_component(res.policy_document)))
18
18
  "it { should have_inline_policy('#{policy_name}').policy_document('#{document}') }"
19
19
  end
20
- content = ERB.new(iam_group_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
20
+ content = ERB.new(iam_group_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
21
21
  end
22
22
  specs.join("\n")
23
23
  end
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  policies = select_all_attached_policies
9
9
  raise 'Not Found policy' if policies.empty?
10
10
 
11
- ERB.new(policy_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(policy_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  # rubocop:disable all
@@ -17,7 +17,7 @@ module Awspec::Generator
17
17
  document = JSON.generate(JSON.parse(URI.decode_www_form_component(res.policy_document)))
18
18
  "it { should have_inline_policy('#{policy_name}').policy_document('#{document}') }"
19
19
  end
20
- content = ERB.new(iam_role_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
20
+ content = ERB.new(iam_role_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
21
21
  end
22
22
  specs.join("\n")
23
23
  end
@@ -17,7 +17,7 @@ module Awspec::Generator
17
17
  document = JSON.generate(JSON.parse(URI.decode_www_form_component(res.policy_document)))
18
18
  "it { should have_inline_policy('#{policy_name}').policy_document('#{document}') }"
19
19
  end
20
- content = ERB.new(iam_user_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
20
+ content = ERB.new(iam_user_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
21
21
  end
22
22
  specs.join("\n")
23
23
  end
@@ -15,7 +15,7 @@ module Awspec::Generator
15
15
  internet_gateways = select_internet_gateway_by_vpc_id(@vpc_id)
16
16
  specs = internet_gateways.map do |internet_gateway|
17
17
  internet_gateway_id = internet_gateway[:internet_gateway_id]
18
- content = ERB.new(internet_gateway_spec_template, nil, '-').result(binding).gsub(/^\n/, '')
18
+ content = ERB.new(internet_gateway_spec_template, trim_mode: '-').result(binding).gsub(/^\n/, '')
19
19
  end
20
20
  specs.join("\n")
21
21
  end
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  aliases = select_all_kms_aliases.select { |kms_alias| customer_managed_key?(kms_alias) }
9
9
  raise 'Not Found alias' if aliases.empty?
10
10
 
11
- ERB.new(keys_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(keys_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  def keys_spec_template
@@ -8,7 +8,7 @@ module Awspec::Generator
8
8
  lambda_functions = select_all_lambda_functions
9
9
  raise 'Not Found lambda' if lambda_functions.empty?
10
10
 
11
- ERB.new(lambda_spec_template, nil, '-').result(binding).chomp
11
+ ERB.new(lambda_spec_template, trim_mode: '-').result(binding).chomp
12
12
  end
13
13
 
14
14
  def lambda_spec_template