awspec 1.32.0 → 1.33.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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -0
  3. data/doc/_resource_types/backup_plan.md +7 -0
  4. data/doc/_resource_types/backup_selection.md +7 -0
  5. data/doc/_resource_types/backup_vault.md +35 -0
  6. data/doc/_resource_types/rds_db_cluster.md +8 -0
  7. data/doc/_resource_types/rds_global_cluster.md +8 -0
  8. data/doc/_resource_types/transfer_server.md +4 -0
  9. data/doc/_resource_types/wafv2_ip_set.md +6 -2
  10. data/doc/_resource_types/wafv2_web_acl.md +25 -0
  11. data/doc/contributing.md +2 -2
  12. data/doc/resource_types.md +125 -29
  13. data/lib/awspec/generator/doc/type/backup_plan.rb +19 -0
  14. data/lib/awspec/generator/doc/type/backup_selection.rb +19 -0
  15. data/lib/awspec/generator/doc/type/backup_vault.rb +19 -0
  16. data/lib/awspec/generator/doc/type/wafv2_ip_set.rb +1 -1
  17. data/lib/awspec/generator/doc/type/wafv2_web_acl.rb +19 -0
  18. data/lib/awspec/generator/spec/wafv2_web_acl.rb +39 -0
  19. data/lib/awspec/generator.rb +1 -0
  20. data/lib/awspec/helper/finder/backup.rb +88 -0
  21. data/lib/awspec/helper/finder/transfer.rb +21 -1
  22. data/lib/awspec/helper/finder/wafv2.rb +20 -0
  23. data/lib/awspec/helper/finder.rb +4 -1
  24. data/lib/awspec/helper/type.rb +2 -1
  25. data/lib/awspec/matcher/belong_to_backup_plan.rb +12 -0
  26. data/lib/awspec/matcher/have_rule.rb +5 -0
  27. data/lib/awspec/matcher.rb +3 -0
  28. data/lib/awspec/stub/backup_plan.rb +33 -0
  29. data/lib/awspec/stub/backup_selection.rb +33 -0
  30. data/lib/awspec/stub/backup_vault.rb +53 -0
  31. data/lib/awspec/stub/rds_db_cluster.rb +6 -1
  32. data/lib/awspec/stub/rds_global_cluster.rb +7 -1
  33. data/lib/awspec/stub/transfer_server.rb +25 -6
  34. data/lib/awspec/stub/wafv2_ip_set.rb +7 -5
  35. data/lib/awspec/stub/wafv2_web_acl.rb +151 -0
  36. data/lib/awspec/type/backup_plan.rb +13 -0
  37. data/lib/awspec/type/backup_selection.rb +13 -0
  38. data/lib/awspec/type/backup_vault.rb +13 -0
  39. data/lib/awspec/type/base.rb +5 -1
  40. data/lib/awspec/type/codepipeline.rb +1 -1
  41. data/lib/awspec/type/rds_db_cluster.rb +1 -0
  42. data/lib/awspec/type/rds_global_cluster.rb +1 -0
  43. data/lib/awspec/type/transfer_server.rb +4 -7
  44. data/lib/awspec/type/wafv2_web_acl.rb +33 -0
  45. data/lib/awspec/version.rb +1 -1
  46. metadata +21 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fda6baa9048249f77fa2fbc686a010ce8c64f9a2cc950707d6dacb99c2a352d
4
- data.tar.gz: 9b52e0bd5e2d586207a4be29d37321158f037af215615ce791797e43cd118569
3
+ metadata.gz: 415e195d37897b2cd7332fcf58389e5482d586eedd613fc4bd620cd1ce68abc9
4
+ data.tar.gz: acb522d0bdadd04bd940489689dad8fe5e3bc7778dd26331b133e281da0c39b1
5
5
  SHA512:
6
- metadata.gz: 4fcf1543ec18e1fe32468e48d20df072a5a53e1ef90394b451e4a383f438d49c167ba3a041073a0a118ffd46bd031ca547583732ec9d0254fb806f711f72d546
7
- data.tar.gz: 7b6b59e791056334e52ad28da2ab62cf95cd7703e3e026a82d518ec0b1f1017c1aa7434ed1cb568879a544ab09bdb14f7cc0dbd3cd051df21f02a529e83f7286
6
+ metadata.gz: e4515a1b2cd370d7b9ba19a4b7b560682aa3d6a88da28dc1f822e9d3e19926fd56108c2b5442d3b0cfdfa0e62dc8c6ba0d00b061837dbf7ba136a3ea708db759
7
+ data.tar.gz: 1f4400835b5683c698be17ae67e6b0e009ea7dfbe02abed60eb6bf191a6f962af73c1669944b66748f905ce797ceb71f8575fe039fc92b3405ec3041ee7b7059
data/.rubocop.yml CHANGED
@@ -21,6 +21,7 @@ Lint/DuplicateMethods:
21
21
  - 'lib/awspec/type/eks_nodegroup.rb'
22
22
  - 'lib/awspec/type/resource_base.rb'
23
23
  - 'lib/awspec/type/wafv2_ip_set.rb'
24
+ - 'lib/awspec/type/wafv2_web_acl.rb'
24
25
 
25
26
  Lint/ErbNewArguments:
26
27
  Enabled: false
@@ -0,0 +1,7 @@
1
+ ### exist
2
+
3
+ ```ruby
4
+ describe backup_plan('my-backup-plan') do
5
+ it { should exist }
6
+ end
7
+ ```
@@ -0,0 +1,7 @@
1
+ ### exist
2
+
3
+ ```ruby
4
+ describe backup_selection('my-backup-selection') do
5
+ it { should exist }
6
+ end
7
+ ```
@@ -0,0 +1,35 @@
1
+ ### exist
2
+
3
+ ```ruby
4
+ describe backup_vault('my-backup-vault') do
5
+ it { should exist }
6
+ end
7
+ ```
8
+
9
+ ### 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)
10
+
11
+ ```ruby
12
+ describe backup_vault('my-backup-vault') do
13
+ it { should exist }
14
+ its(:locked) { should be true }
15
+ its(:lock_date) { should be < (Time.now - 60*60*24*30) }
16
+ its(:vault_state) { should eq "AVAILABLE" }
17
+ its(:vault_type) { should eq "BACKUP_VAULT" }
18
+ its(:min_retention_days) { should be 7 }
19
+ its(:max_retention_days) { should be 35 }
20
+ its(:lock_date) { should eq(Time.new(2024, 10, 4, 9, 00, 00, '+00:00')) }
21
+ its(:encryption_key_arn) { should eq 'arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab' }
22
+ its(:number_of_recovery_points) { should be > 100 }
23
+ end
24
+
25
+ describe backup_vault('my-airgapped-vault') do
26
+ it { should exist }
27
+ its(:locked) { should be false }
28
+ its(:creation_date) { should be > Time.new(2016, 4, 4, 9, 00, 00, '+00:00') }
29
+ its(:vault_state) { should eq "AVAILABLE" }
30
+ its(:vault_type) { should eq "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" }
31
+ its(:backup_vault_arn) { should match /:111122223333:/ }
32
+ its(:backup_vault_arn) { should match /:us-west-2:/ }
33
+ its(:number_of_recovery_points) { should be > 10 }
34
+ end
35
+ ```
@@ -45,3 +45,11 @@ describe rds_db_cluster('my-rds-db-cluster') do
45
45
  it { should have_security_group('my-db-sg') }
46
46
  end
47
47
  ```
48
+
49
+ ### have_tag
50
+
51
+ ```ruby
52
+ describe rds_db_cluster('my-rds-db-cluster') do
53
+ it { should have_tag('env').value('dev') }
54
+ end
55
+ ```
@@ -35,3 +35,11 @@ describe rds_global_cluster('my-rds-global-cluster') do
35
35
  it { should have_cluster_member('arn:aws:rds:ap-northeast-3:123456789012:cluster:my-secondary-cluster').is_writer(false) }
36
36
  end
37
37
  ```
38
+
39
+ ### have_tag
40
+
41
+ ```ruby
42
+ describe rds_global_cluster('my-rds-global-cluster') do
43
+ it { should have_tag('env').value('dev') }
44
+ end
45
+ ```
@@ -4,6 +4,10 @@
4
4
  describe transfer_server('s-4dc0a424f0154fa89') do
5
5
  it { should exist }
6
6
  end
7
+
8
+ describe transfer_server('my-transfer-server') do
9
+ it { should exist }
10
+ end
7
11
  ```
8
12
 
9
13
  ### be_offline, be_online, be_starting, be_stopping, be_start_failed, be_stop_failed
@@ -3,7 +3,11 @@
3
3
  You can set `scope` to CLOUDFRONT or REGIONAL ( default: `REGIONAL` ).
4
4
 
5
5
  ```ruby
6
- describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
6
+ describe wafv2_ip_set('my-wafv2-ip-set'), scope: 'REGIONAL' do
7
+ it { should exist }
8
+ end
9
+
10
+ describe wafv2_ip_set('my-wafv2-ip-set'), scope: 'CLOUDFRONT', region: 'us-east-1' do
7
11
  it { should exist }
8
12
  end
9
13
  ```
@@ -11,7 +15,7 @@ end
11
15
  ### have_ip_address
12
16
 
13
17
  ```ruby
14
- describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
18
+ describe wafv2_ip_set('my-wafv2-ip-set'), scope: 'REGIONAL' do
15
19
  it { should have_ip_address('10.0.0.0/32') }
16
20
  end
17
21
  ```
@@ -0,0 +1,25 @@
1
+ ### exist
2
+
3
+ You can set `scope` to CLOUDFRONT or REGIONAL ( default: `REGIONAL` ).
4
+
5
+ ```ruby
6
+ describe wafv2_web_acl('my-wafv2-web-acl'), scope: 'REGIONAL' do
7
+ it { should exist }
8
+ its(:default_action) { should eq 'ALLOW' }
9
+ end
10
+
11
+ describe wafv2_web_acl('my-wafv2-web-acl'), scope: 'CLOUDFRONT', region: 'us-east-1' do
12
+ it { should exist }
13
+ its(:default_action) { should eq 'ALLOW' }
14
+ end
15
+ ```
16
+
17
+ ### have_rule
18
+
19
+ ```ruby
20
+ describe wafv2_web_acl('my-wafv2-web-acl'), scope: 'REGIONAL' do
21
+ it { should have_rule('AWS-AWSManagedRulesCommonRuleSet') }
22
+ it { should have_rule('AWS-AWSManagedRulesKnownBadInputsRuleSet').order(1) }
23
+ it { should have_rule('AWS-AWSManagedRulesLinuxRuleSet').order(2).override_action('NONE') }
24
+ end
25
+ ```
data/doc/contributing.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  1. Create your feature branch (`git checkout -b add-type-redshift`)
6
6
  2. Generate template files (`bundle exec bin/toolbox template redshift`)
7
- 3. Fill files with code.
7
+ 3. Fill files with code and test your code regularly (`bundle exec rspec spec/type/redshift_spec.rb`)
8
8
  4. `bundle update` to update gems.
9
9
  5. Generate [doc/resource_types.md](resource_types.md) (`bundle exec rake generate_docs`)
10
- 6. Run test (`bundle exec rake spec`)
10
+ 6. Run all tests (`bundle exec rake spec`)
11
11
  7. Push to the branch (`git push origin add-type-redshift`)
12
12
  8. Create a new Pull Request
13
13
 
@@ -7,6 +7,9 @@
7
7
  | [ami](#ami)
8
8
  | [apigateway](#apigateway)
9
9
  | [autoscaling_group](#autoscaling_group)
10
+ | [backup_plan](#backup_plan)
11
+ | [backup_selection](#backup_selection)
12
+ | [backup_vault](#backup_vault)
10
13
  | [batch_compute_environment](#batch_compute_environment)
11
14
  | [batch_job_definition](#batch_job_definition)
12
15
  | [batch_job_queue](#batch_job_queue)
@@ -90,6 +93,7 @@
90
93
  | [waf_web_acl](#waf_web_acl)
91
94
  | [wafregional_web_acl](#wafregional_web_acl)
92
95
  | [wafv2_ip_set](#wafv2_ip_set)
96
+ | [wafv2_web_acl](#wafv2_web_acl)
93
97
  | [account](#account)
94
98
 
95
99
  ## <a name="acm">acm</a>
@@ -118,7 +122,7 @@ describe acm('example.com') do
118
122
  end
119
123
  ```
120
124
 
121
- ### its(:certificate_arn), its(:domain_name), its(:subject_alternative_names), its(:serial), its(:subject), its(:issuer), its(:created_at), its(:issued_at), its(:imported_at), its(:status), its(:revoked_at), its(:revocation_reason), its(:not_before), its(:not_after), its(:key_algorithm), its(:signature_algorithm), its(:in_use_by), its(:failure_reason), its(:type), its(:renewal_summary), its(:key_usages), its(:extended_key_usages), its(:certificate_authority_arn), its(:renewal_eligibility), its(:options)
125
+ ### its(:certificate_arn), its(:domain_name), its(:subject_alternative_names), its(:managed_by), its(:serial), its(:subject), its(:issuer), its(:created_at), its(:issued_at), its(:imported_at), its(:status), its(:revoked_at), its(:revocation_reason), its(:not_before), its(:not_after), its(:key_algorithm), its(:signature_algorithm), its(:in_use_by), its(:failure_reason), its(:type), its(:renewal_summary), its(:key_usages), its(:extended_key_usages), its(:certificate_authority_arn), its(:renewal_eligibility), its(:options)
122
126
  ## <a name="alb">alb</a>
123
127
 
124
128
  ALB resource type.
@@ -176,7 +180,7 @@ describe alb('my-alb') do
176
180
  end
177
181
  ```
178
182
 
179
- ### its(:load_balancer_arn), its(:dns_name), its(:canonical_hosted_zone_id), its(:created_time), its(:load_balancer_name), its(:scheme), its(:vpc_id), its(:type), its(:security_groups), its(:ip_address_type), its(:customer_owned_ipv_4_pool), its(:enforce_security_group_inbound_rules_on_private_link_traffic), its(:enable_prefix_for_ipv_6_source_nat)
183
+ ### its(:load_balancer_arn), its(:dns_name), its(:canonical_hosted_zone_id), its(:created_time), its(:load_balancer_name), its(:scheme), its(:vpc_id), its(:type), its(:security_groups), its(:ip_address_type), its(:customer_owned_ipv_4_pool), its(:enforce_security_group_inbound_rules_on_private_link_traffic), its(:enable_prefix_for_ipv_6_source_nat), its(:ipam_pools)
180
184
  ## <a name="alb_listener">alb_listener</a>
181
185
 
182
186
  AlbListener resource type.
@@ -281,7 +285,7 @@ end
281
285
 
282
286
  ### have_tag
283
287
 
284
- ### its(:platform_details), its(:usage_operation), its(:description), its(:ena_support), its(:hypervisor), its(:image_owner_alias), its(:name), its(:root_device_name), its(:root_device_type), its(:sriov_net_support), its(:state_reason), its(:virtualization_type), its(:boot_mode), its(:tpm_support), its(:deprecation_time), its(:imds_support), its(:source_instance_id), its(:deregistration_protection), its(:last_launched_time), its(:image_allowed), its(:source_image_id), its(:source_image_region), its(:image_id), its(:image_location), its(:state), its(:owner_id), its(:creation_date), its(:public), its(:architecture), its(:image_type), its(:kernel_id), its(:ramdisk_id), its(:platform)
288
+ ### its(:platform_details), its(:usage_operation), its(:description), its(:ena_support), its(:hypervisor), its(:image_owner_alias), its(:name), its(:root_device_name), its(:root_device_type), its(:sriov_net_support), its(:state_reason), its(:virtualization_type), its(:boot_mode), its(:tpm_support), its(:deprecation_time), its(:imds_support), its(:source_instance_id), its(:deregistration_protection), its(:last_launched_time), its(:image_allowed), its(:source_image_id), its(:source_image_region), its(:free_tier_eligible), its(:image_id), its(:image_location), its(:state), its(:owner_id), its(:creation_date), its(:public), its(:architecture), its(:image_type), its(:kernel_id), its(:ramdisk_id), its(:platform)
285
289
  ### :unlock: Advanced use
286
290
 
287
291
  `ami` can use `Aws::EC2::Image` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Image.html).
@@ -369,6 +373,46 @@ end
369
373
  ```
370
374
 
371
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)
376
+ ## <a name="backup_plan">backup_plan</a>
377
+
378
+ BackupPlan resource type.
379
+
380
+ ### exist
381
+
382
+ ```ruby
383
+ describe backup_plan('my-backup-plan') do
384
+ it { should exist }
385
+ end
386
+ ```
387
+
388
+ ### its(:backup_plan_arn), its(:backup_plan_id), its(:creation_date), its(:deletion_date), its(:version_id), its(:backup_plan_name), its(:creator_request_id), its(:last_execution_date), its(:advanced_backup_settings)
389
+ ## <a name="backup_selection">backup_selection</a>
390
+
391
+ BackupSelection resource type.
392
+
393
+ ### exist
394
+
395
+ ```ruby
396
+ describe backup_selection('my-backup-selection') do
397
+ it { should exist }
398
+ end
399
+ ```
400
+
401
+ ### its(:selection_id), its(:selection_name), its(:backup_plan_id), its(:creation_date), its(:creator_request_id), its(:iam_role_arn)
402
+ ## <a name="backup_vault">backup_vault</a>
403
+
404
+ BackupVault resource type.
405
+
406
+ ### exist
407
+
408
+ ```ruby
409
+ describe backup_vault('my-backup-vault') do
410
+ it { should exist }
411
+ end
412
+ ```
413
+
414
+
415
+ ### 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)
372
416
  ## <a name="batch_compute_environment">batch_compute_environment</a>
373
417
 
374
418
  BatchComputeEnvironment resource type.
@@ -420,7 +464,7 @@ describe batch_job_definition('my-batch-job-definition') do
420
464
  end
421
465
  ```
422
466
 
423
- ### its(:job_definition_name), its(:job_definition_arn), its(:revision), its(:status), its(:type), its(:scheduling_priority), its(:parameters), its(:retry_strategy), its(:timeout), its(:node_properties), its(:tags), its(:propagate_tags), its(:platform_capabilities), its(:ecs_properties), its(:eks_properties), its(:container_orchestration_type)
467
+ ### its(:job_definition_name), its(:job_definition_arn), its(:revision), its(:status), its(:type), its(:scheduling_priority), its(:parameters), its(:retry_strategy), its(:timeout), its(:node_properties), its(:tags), its(:propagate_tags), its(:platform_capabilities), its(:ecs_properties), its(:eks_properties), its(:container_orchestration_type), its(:consumable_resource_properties)
424
468
  ## <a name="batch_job_queue">batch_job_queue</a>
425
469
 
426
470
  BatchJobQueue resource type.
@@ -446,7 +490,7 @@ describe batch_job_queue('my-batch-job-queue') do
446
490
  end
447
491
  ```
448
492
 
449
- ### its(:job_queue_name), its(:job_queue_arn), its(:state), its(:scheduling_policy_arn), its(:status), its(:status_reason), its(:priority), its(:tags), its(:job_state_time_limit_actions)
493
+ ### its(:job_queue_name), its(:job_queue_arn), its(:state), its(:scheduling_policy_arn), its(:status), its(:status_reason), its(:priority), its(:service_environment_order), its(:job_queue_type), its(:tags), its(:job_state_time_limit_actions)
450
494
  ## <a name="cloudformation_stack">cloudformation_stack</a>
451
495
 
452
496
  CloudformationStack resource type.
@@ -547,7 +591,7 @@ describe cloudfront_distribution('123456789zyxw.cloudfront.net') do
547
591
  end
548
592
  ```
549
593
 
550
- ### its(:id), its(:arn), 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(:anycast_ip_list_id)
594
+ ### 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)
551
595
  ## <a name="cloudtrail">cloudtrail</a>
552
596
 
553
597
  Cloudtrail resource type.
@@ -932,7 +976,7 @@ end
932
976
  ```
933
977
 
934
978
 
935
- ### its(:table_name), its(:table_status), its(:creation_date_time), its(:table_size_bytes), its(:item_count), its(:table_arn), its(:table_id), its(:billing_mode_summary), its(:local_secondary_indexes), its(:global_secondary_indexes), its(:stream_specification), its(:latest_stream_label), its(:latest_stream_arn), its(:global_table_version), its(:replicas), its(:restore_summary), its(:sse_description), its(:archival_summary), its(:table_class_summary), its(:deletion_protection_enabled), its(:on_demand_throughput), its(:warm_throughput), its(:multi_region_consistency)
979
+ ### its(:table_name), its(:table_status), its(:creation_date_time), its(:table_size_bytes), its(:item_count), its(:table_arn), its(:table_id), its(:billing_mode_summary), its(:local_secondary_indexes), its(:global_secondary_indexes), its(:stream_specification), its(:latest_stream_label), its(:latest_stream_arn), its(:global_table_version), its(:replicas), its(:global_table_witnesses), its(:restore_summary), its(:sse_description), its(:archival_summary), its(:table_class_summary), its(:deletion_protection_enabled), its(:on_demand_throughput), its(:warm_throughput), its(:multi_region_consistency)
936
980
  ### :unlock: Advanced use
937
981
 
938
982
  `dynamodb_table` can use `Aws::DynamoDB::Table` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/DynamoDB/Table.html).
@@ -992,7 +1036,7 @@ end
992
1036
  ```
993
1037
 
994
1038
 
995
- ### its(:outpost_arn), its(:iops), its(:volume_type), its(:fast_restored), its(:multi_attach_enabled), its(:throughput), its(:sse_type), its(:operator), its(:volume_id), its(:size), its(:snapshot_id), its(:availability_zone), its(:state), its(:create_time), its(:encrypted), its(:kms_key_id)
1039
+ ### its(:outpost_arn), its(:iops), its(:volume_type), its(:fast_restored), its(:multi_attach_enabled), its(:throughput), its(:sse_type), its(:operator), its(:volume_initialization_rate), its(:volume_id), its(:size), its(:snapshot_id), its(:availability_zone), its(:state), its(:create_time), its(:encrypted), its(:kms_key_id)
996
1040
  ### :unlock: Advanced use
997
1041
 
998
1042
  `ebs` can use `Aws::EC2::Volume` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Volume.html).
@@ -1178,7 +1222,7 @@ end
1178
1222
  ```
1179
1223
 
1180
1224
 
1181
- ### its(:architecture), its(:client_token), its(:ebs_optimized), its(:ena_support), its(:hypervisor), its(:instance_lifecycle), its(:elastic_gpu_associations), its(:elastic_inference_accelerator_associations), its(:outpost_arn), its(:root_device_name), its(:root_device_type), its(:source_dest_check), its(:spot_instance_request_id), its(:sriov_net_support), its(:state_reason), its(:virtualization_type), its(:cpu_options), its(:capacity_reservation_id), its(:capacity_reservation_specification), its(:hibernation_options), its(:licenses), its(:metadata_options), its(:enclave_options), its(:boot_mode), its(:platform_details), its(:usage_operation), its(:usage_operation_update_time), its(:private_dns_name_options), its(:ipv_6_address), its(:tpm_support), its(:maintenance_options), its(:current_instance_boot_mode), its(:network_performance_options), its(:operator), its(:instance_id), its(:image_id), its(:private_dns_name), its(:public_dns_name), its(:state_transition_reason), its(:key_name), its(:ami_launch_index), its(:product_codes), its(:instance_type), its(:launch_time), its(:placement), its(:kernel_id), its(:ramdisk_id), its(:platform), its(:monitoring), its(:subnet_id), its(:vpc_id), its(:private_ip_address), its(:public_ip_address)
1225
+ ### its(:architecture), its(:client_token), its(:ebs_optimized), its(:ena_support), its(:hypervisor), its(:instance_lifecycle), its(:elastic_gpu_associations), its(:elastic_inference_accelerator_associations), its(:outpost_arn), its(:root_device_name), its(:root_device_type), its(:source_dest_check), its(:spot_instance_request_id), its(:sriov_net_support), its(:state_reason), its(:virtualization_type), its(:cpu_options), its(:capacity_block_id), its(:capacity_reservation_id), its(:capacity_reservation_specification), its(:hibernation_options), its(:licenses), its(:metadata_options), its(:enclave_options), its(:boot_mode), its(:platform_details), its(:usage_operation), its(:usage_operation_update_time), its(:private_dns_name_options), its(:ipv_6_address), its(:tpm_support), its(:maintenance_options), its(:current_instance_boot_mode), its(:network_performance_options), its(:operator), its(:instance_id), its(:image_id), its(:private_dns_name), its(:public_dns_name), its(:state_transition_reason), its(:key_name), its(:ami_launch_index), its(:product_codes), its(:instance_type), its(:launch_time), its(:placement), its(:kernel_id), its(:ramdisk_id), its(:platform), its(:monitoring), its(:subnet_id), its(:vpc_id), its(:private_ip_address), its(:public_ip_address)
1182
1226
  ### :unlock: Advanced use
1183
1227
 
1184
1228
  `ec2` can use `Aws::EC2::Instance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Instance.html).
@@ -1249,7 +1293,7 @@ describe ecr_repository('my-ecr-repository') do
1249
1293
  end
1250
1294
  ```
1251
1295
 
1252
- ### its(:repository_arn), its(:registry_id), its(:repository_name), its(:repository_uri), its(:created_at), its(:image_tag_mutability), its(:image_scanning_configuration), its(:encryption_configuration)
1296
+ ### its(:repository_arn), its(:registry_id), its(:repository_name), its(:repository_uri), its(:created_at), its(:image_tag_mutability), its(:image_tag_mutability_exclusion_filters), its(:image_scanning_configuration), its(:encryption_configuration)
1253
1297
  ## <a name="ecs_cluster">ecs_cluster</a>
1254
1298
 
1255
1299
  ECS Cluster resource type.
@@ -1404,7 +1448,7 @@ describe eip('123.0.456.789') do
1404
1448
  end
1405
1449
  ```
1406
1450
 
1407
- ### its(:allocation_id), its(:association_id), its(:domain), its(:network_interface_id), its(:network_interface_owner_id), its(:private_ip_address), its(:public_ipv_4_pool), its(:network_border_group), its(:customer_owned_ip), its(:customer_owned_ipv_4_pool), its(:carrier_ip), its(:instance_id), its(:public_ip)
1451
+ ### its(:allocation_id), its(:association_id), its(:domain), its(:network_interface_id), its(:network_interface_owner_id), its(:private_ip_address), its(:public_ipv_4_pool), its(:network_border_group), its(:customer_owned_ip), its(:customer_owned_ipv_4_pool), its(:carrier_ip), its(:subnet_id), its(:service_managed), its(:instance_id), its(:public_ip)
1408
1452
  ## <a name="eks">eks</a>
1409
1453
 
1410
1454
  Eks resource type.
@@ -1777,7 +1821,7 @@ describe emr('my-emr') do
1777
1821
  end
1778
1822
  ```
1779
1823
 
1780
- ### 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)
1824
+ ### 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)
1781
1825
  ## <a name="firehose">firehose</a>
1782
1826
 
1783
1827
  Firehose resource type.
@@ -1800,8 +1844,6 @@ end
1800
1844
  ```
1801
1845
 
1802
1846
 
1803
- ### be_creating
1804
-
1805
1847
  ### be_deleting
1806
1848
 
1807
1849
  ### have_splunk_destination
@@ -2318,7 +2360,7 @@ DOC
2318
2360
  end
2319
2361
  ```
2320
2362
 
2321
- ### its(:aws_account_id), its(:key_id), its(:arn), its(:creation_date), its(:enabled), its(:description), its(:key_usage), its(:key_state), its(:deletion_date), its(:valid_to), its(:origin), its(:custom_key_store_id), its(:cloud_hsm_cluster_id), its(:expiration_model), its(:key_manager), its(:customer_master_key_spec), its(:key_spec), its(:encryption_algorithms), its(:signing_algorithms), its(:key_agreement_algorithms), its(:multi_region), its(:multi_region_configuration), its(:pending_deletion_window_in_days), its(:mac_algorithms), its(:xks_key_configuration)
2363
+ ### its(:aws_account_id), its(:key_id), its(:arn), its(:creation_date), its(:enabled), its(:description), its(:key_usage), its(:key_state), its(:deletion_date), its(:valid_to), its(:origin), its(:custom_key_store_id), its(:cloud_hsm_cluster_id), its(:expiration_model), its(:key_manager), its(:customer_master_key_spec), its(:key_spec), its(:encryption_algorithms), its(:signing_algorithms), its(:key_agreement_algorithms), its(:multi_region), its(:multi_region_configuration), its(:pending_deletion_window_in_days), its(:mac_algorithms), its(:xks_key_configuration), its(:current_key_material_id)
2322
2364
  ## <a name="lambda">lambda</a>
2323
2365
 
2324
2366
  Lambda resource type.
@@ -2546,12 +2588,8 @@ end
2546
2588
 
2547
2589
  ### be_active
2548
2590
 
2549
- ### be_creating
2550
-
2551
2591
  ### be_deleting
2552
2592
 
2553
- ### be_failed
2554
-
2555
2593
  ### be_updating
2556
2594
 
2557
2595
  ### 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)
@@ -2755,7 +2793,7 @@ describe network_interface('eni-12ab3cde') do
2755
2793
  end
2756
2794
  ```
2757
2795
 
2758
- ### 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(: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)
2796
+ ### 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)
2759
2797
  ## <a name="nlb">nlb</a>
2760
2798
 
2761
2799
  NLB resource type.
@@ -2806,7 +2844,7 @@ describe nlb('my-nlb') do
2806
2844
  end
2807
2845
  ```
2808
2846
 
2809
- ### its(:load_balancer_arn), its(:dns_name), its(:canonical_hosted_zone_id), its(:created_time), its(:load_balancer_name), its(:scheme), its(:vpc_id), its(:type), its(:security_groups), its(:ip_address_type), its(:customer_owned_ipv_4_pool), its(:enforce_security_group_inbound_rules_on_private_link_traffic), its(:enable_prefix_for_ipv_6_source_nat)
2847
+ ### its(:load_balancer_arn), its(:dns_name), its(:canonical_hosted_zone_id), its(:created_time), its(:load_balancer_name), its(:scheme), its(:vpc_id), its(:type), its(:security_groups), its(:ip_address_type), its(:customer_owned_ipv_4_pool), its(:enforce_security_group_inbound_rules_on_private_link_traffic), its(:enable_prefix_for_ipv_6_source_nat), its(:ipam_pools)
2810
2848
  ## <a name="nlb_listener">nlb_listener</a>
2811
2849
 
2812
2850
  NlbListener resource type.
@@ -3056,7 +3094,16 @@ describe rds_db_cluster('my-rds-db-cluster') do
3056
3094
  end
3057
3095
  ```
3058
3096
 
3059
- ### 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(:automatic_restart_time), 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(:engine_mode), its(:scaling_configuration_info), its(:rds_custom_cluster_configuration), 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(:tag_list), its(:global_write_forwarding_status), its(:global_write_forwarding_requested), its(:pending_modified_values), its(:db_cluster_instance_class), its(:storage_type), its(:iops), its(:publicly_accessible), its(:auto_minor_version_upgrade), 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(:serverless_v2_scaling_configuration), its(:network_type), its(:db_system_id), its(:master_user_secret), its(:io_optimized_next_allowed_modification_time), its(:local_write_forwarding_status), its(:aws_backup_recovery_point_arn), its(:limitless_database), its(:storage_throughput), its(:cluster_scalability_type), its(:certificate_details), its(:engine_lifecycle_support)
3097
+
3098
+ ### have_tag
3099
+
3100
+ ```ruby
3101
+ describe rds_db_cluster('my-rds-db-cluster') do
3102
+ it { should have_tag('env').value('dev') }
3103
+ end
3104
+ ```
3105
+
3106
+ ### 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(:automatic_restart_time), 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(:engine_mode), its(:scaling_configuration_info), its(:rds_custom_cluster_configuration), 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(:pending_modified_values), its(:db_cluster_instance_class), its(:storage_type), its(:iops), its(:publicly_accessible), its(:auto_minor_version_upgrade), 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(:serverless_v2_scaling_configuration), its(:network_type), its(:db_system_id), its(:master_user_secret), its(:io_optimized_next_allowed_modification_time), its(:local_write_forwarding_status), its(:aws_backup_recovery_point_arn), its(:limitless_database), its(:storage_throughput), its(:cluster_scalability_type), its(:certificate_details), its(:engine_lifecycle_support)
3060
3107
  ## <a name="rds_db_cluster_parameter_group">rds_db_cluster_parameter_group</a>
3061
3108
 
3062
3109
  RdsDBClusterParameterGroup resource type.
@@ -3174,7 +3221,16 @@ describe rds_global_cluster('my-rds-global-cluster') do
3174
3221
  end
3175
3222
  ```
3176
3223
 
3177
- ### its(:global_cluster_identifier), its(:global_cluster_resource_id), its(:global_cluster_arn), its(:status), its(:engine), its(:engine_version), its(:engine_lifecycle_support), its(:database_name), its(:storage_encrypted), its(:deletion_protection), its(:endpoint), its(:failover_state), its(:tag_list)
3224
+
3225
+ ### have_tag
3226
+
3227
+ ```ruby
3228
+ describe rds_global_cluster('my-rds-global-cluster') do
3229
+ it { should have_tag('env').value('dev') }
3230
+ end
3231
+ ```
3232
+
3233
+ ### its(:global_cluster_identifier), its(:global_cluster_resource_id), its(:global_cluster_arn), its(:status), its(:engine), its(:engine_version), its(:engine_lifecycle_support), its(:database_name), its(:storage_encrypted), its(:deletion_protection), its(:endpoint), its(:failover_state)
3178
3234
  ## <a name="rds_proxy">rds_proxy</a>
3179
3235
 
3180
3236
  RdsProxy resource type.
@@ -3584,7 +3640,7 @@ end
3584
3640
  ```
3585
3641
 
3586
3642
 
3587
- ### its(:acl_grants_count), its(:acl_owner), its(:cors_rules_count), its(:name), its(:creation_date), its(:bucket_region)
3643
+ ### its(:acl_grants_count), its(:acl_owner), its(:cors_rules_count), its(:name), its(:creation_date), its(:bucket_region), its(:bucket_arn)
3588
3644
  ### :unlock: Advanced use
3589
3645
 
3590
3646
  `s3_bucket` can use `Aws::S3::Bucket` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Bucket.html).
@@ -3910,6 +3966,10 @@ TransferServer resource type.
3910
3966
  describe transfer_server('s-4dc0a424f0154fa89') do
3911
3967
  it { should exist }
3912
3968
  end
3969
+
3970
+ describe transfer_server('my-transfer-server') do
3971
+ it { should exist }
3972
+ end
3913
3973
  ```
3914
3974
 
3915
3975
 
@@ -3930,7 +3990,7 @@ end
3930
3990
  ```
3931
3991
 
3932
3992
 
3933
- ### its(:arn), its(:certificate), its(:protocol_details), its(:domain), its(:endpoint_type), its(:host_key_fingerprint), its(:identity_provider_details), its(:identity_provider_type), its(:logging_role), its(:post_authentication_login_banner), its(:pre_authentication_login_banner), its(:protocols), its(:security_policy_name), its(:server_id), its(:state), its(:user_count), its(:workflow_details), its(:structured_log_destinations), its(:s3_storage_options), its(:as_2_service_managed_egress_ip_addresses)
3993
+ ### its(:arn), its(:certificate), its(:protocol_details), its(:domain), its(:endpoint_type), its(:host_key_fingerprint), its(:identity_provider_details), its(:identity_provider_type), its(:logging_role), its(:post_authentication_login_banner), its(:pre_authentication_login_banner), its(:protocols), its(:security_policy_name), its(:server_id), its(:state), its(:user_count), its(:workflow_details), its(:structured_log_destinations), its(:s3_storage_options), its(:as_2_service_managed_egress_ip_addresses), its(:ip_address_type)
3934
3994
  ## <a name="transit_gateway">transit_gateway</a>
3935
3995
 
3936
3996
  TransitGateway resource type.
@@ -4069,7 +4129,7 @@ end
4069
4129
  ```
4070
4130
 
4071
4131
 
4072
- ### its(:owner_id), its(:instance_tenancy), its(:ipv_6_cidr_block_association_set), its(:cidr_block_association_set), its(:is_default), its(:block_public_access_states), its(:vpc_id), its(:state), its(:cidr_block), its(:dhcp_options_id)
4132
+ ### its(:owner_id), its(:instance_tenancy), its(:ipv_6_cidr_block_association_set), its(:cidr_block_association_set), its(:is_default), its(:encryption_control), its(:block_public_access_states), its(:vpc_id), its(:state), its(:cidr_block), its(:dhcp_options_id)
4073
4133
  ### :unlock: Advanced use
4074
4134
 
4075
4135
  `vpc` can use `Aws::EC2::Vpc` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Vpc.html).
@@ -4205,7 +4265,7 @@ end
4205
4265
  ```
4206
4266
 
4207
4267
 
4208
- ### 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(:vpn_connection_id), its(:state), its(:customer_gateway_configuration), its(:type), its(:customer_gateway_id), its(:vpn_gateway_id)
4268
+ ### 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)
4209
4269
  ## <a name="vpn_gateway">vpn_gateway</a>
4210
4270
 
4211
4271
  VpnGateway resource type.
@@ -4310,7 +4370,11 @@ Wafv2IpSet resource type.
4310
4370
  You can set `scope` to CLOUDFRONT or REGIONAL ( default: `REGIONAL` ).
4311
4371
 
4312
4372
  ```ruby
4313
- describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
4373
+ describe wafv2_ip_set('my-wafv2-ip-set'), scope: 'REGIONAL' do
4374
+ it { should exist }
4375
+ end
4376
+
4377
+ describe wafv2_ip_set('my-wafv2-ip-set'), scope: 'CLOUDFRONT', region: 'us-east-1' do
4314
4378
  it { should exist }
4315
4379
  end
4316
4380
  ```
@@ -4319,12 +4383,44 @@ end
4319
4383
  ### have_ip_address
4320
4384
 
4321
4385
  ```ruby
4322
- describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
4386
+ describe wafv2_ip_set('my-wafv2-ip-set'), scope: 'REGIONAL' do
4323
4387
  it { should have_ip_address('10.0.0.0/32') }
4324
4388
  end
4325
4389
  ```
4326
4390
 
4327
4391
  ### its(:name), its(:id), its(:arn), its(:description), its(:ip_address_version), its(:addresses)
4392
+ ## <a name="wafv2_web_acl">wafv2_web_acl</a>
4393
+
4394
+ Wafv2WebAcl resource type.
4395
+
4396
+ ### exist
4397
+
4398
+ You can set `scope` to CLOUDFRONT or REGIONAL ( default: `REGIONAL` ).
4399
+
4400
+ ```ruby
4401
+ describe wafv2_web_acl('my-wafv2-web-acl'), scope: 'REGIONAL' do
4402
+ it { should exist }
4403
+ its(:default_action) { should eq 'ALLOW' }
4404
+ end
4405
+
4406
+ describe wafv2_web_acl('my-wafv2-web-acl'), scope: 'CLOUDFRONT', region: 'us-east-1' do
4407
+ it { should exist }
4408
+ its(:default_action) { should eq 'ALLOW' }
4409
+ end
4410
+ ```
4411
+
4412
+
4413
+ ### have_rule
4414
+
4415
+ ```ruby
4416
+ describe wafv2_web_acl('my-wafv2-web-acl'), scope: 'REGIONAL' do
4417
+ it { should have_rule('AWS-AWSManagedRulesCommonRuleSet') }
4418
+ it { should have_rule('AWS-AWSManagedRulesKnownBadInputsRuleSet').order(1) }
4419
+ it { should have_rule('AWS-AWSManagedRulesLinuxRuleSet').order(2).override_action('NONE') }
4420
+ end
4421
+ ```
4422
+
4423
+ ### its(:name), its(:id), its(:arn), its(:description), its(:data_protection_config), its(:capacity), its(:pre_process_firewall_manager_rule_groups), its(:post_process_firewall_manager_rule_groups), its(:managed_by_firewall_manager), its(:label_namespace), its(:custom_response_bodies), its(:captcha_config), its(:challenge_config), its(:token_domains), its(:association_config), its(:retrofitted_by_firewall_manager), its(:on_source_d_do_s_protection_config), its(:application_config)
4328
4424
  # Account and Attributes
4329
4425
 
4330
4426
  ## <a name="account">account</a>
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Awspec::Generator
4
+ module Doc
5
+ module Type
6
+ class BackupPlan < Base
7
+ def initialize
8
+ super
9
+ @type_name = 'BackupPlan'
10
+ @type = Awspec::Type::BackupPlan.new('my-backup-plan')
11
+ @ret = @type.resource_via_client
12
+ @matchers = []
13
+ @ignore_matchers = []
14
+ @describes = []
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Awspec::Generator
4
+ module Doc
5
+ module Type
6
+ class BackupSelection < Base
7
+ def initialize
8
+ super
9
+ @type_name = 'BackupSelection'
10
+ @type = Awspec::Type::BackupSelection.new('my-backup-selection')
11
+ @ret = @type.resource_via_client
12
+ @matchers = []
13
+ @ignore_matchers = []
14
+ @describes = []
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Awspec::Generator
4
+ module Doc
5
+ module Type
6
+ class BackupVault < Base
7
+ def initialize
8
+ super
9
+ @type_name = 'BackupVault'
10
+ @type = Awspec::Type::BackupVault.new('my-backup-vault')
11
+ @ret = @type.resource_via_client
12
+ @matchers = []
13
+ @ignore_matchers = []
14
+ @describes = []
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -7,7 +7,7 @@ module Awspec::Generator
7
7
  def initialize
8
8
  super
9
9
  @type_name = 'Wafv2IpSet'
10
- @type = Awspec::Type::Wafv2IpSet.new('my-ip-set')
10
+ @type = Awspec::Type::Wafv2IpSet.new('my-wafv2-ip-set')
11
11
  @ret = @type.resource_via_client
12
12
  @matchers = []
13
13
  @ignore_matchers = []
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Awspec::Generator
4
+ module Doc
5
+ module Type
6
+ class Wafv2WebAcl < Base
7
+ def initialize
8
+ super
9
+ @type_name = 'Wafv2WebAcl'
10
+ @type = Awspec::Type::Wafv2WebAcl.new('my-wafv2-web-acl')
11
+ @ret = @type.resource_via_client
12
+ @matchers = []
13
+ @ignore_matchers = []
14
+ @describes = []
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end