awspec 1.30.0 → 1.32.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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -5
- data/.rubocop.yml +1 -0
- data/Rakefile +0 -1
- data/awspec.gemspec +3 -1
- data/doc/_resource_types/codebuild.md +14 -0
- data/doc/_resource_types/codedeploy.md +6 -0
- data/doc/_resource_types/codepipeline.md +7 -0
- data/doc/_resource_types/wafv2_ip_set.md +17 -0
- data/doc/resource_types.md +92 -32
- data/lib/awspec/command/generate.rb +12 -0
- data/lib/awspec/generator/doc/type/codepipeline.rb +19 -0
- data/lib/awspec/generator/doc/type/rds_db_cluster.rb +5 -5
- data/lib/awspec/generator/doc/type/rds_db_cluster_parameter_group.rb +2 -2
- data/lib/awspec/generator/doc/type/rds_db_parameter_group.rb +2 -2
- data/lib/awspec/generator/doc/type/rds_db_subnet_group.rb +3 -3
- data/lib/awspec/generator/doc/type/wafv2_ip_set.rb +19 -0
- data/lib/awspec/generator/spec/codepipeline.rb +29 -0
- data/lib/awspec/generator/spec/iam_group.rb +1 -1
- data/lib/awspec/generator/spec/iam_policy.rb +1 -1
- data/lib/awspec/generator/spec/iam_role.rb +1 -1
- data/lib/awspec/generator/spec/iam_user.rb +1 -1
- data/lib/awspec/generator/spec/rds_db_cluster.rb +1 -1
- data/lib/awspec/generator/spec/rds_db_cluster_parameter_group.rb +1 -1
- data/lib/awspec/generator/spec/rds_db_parameter_group.rb +1 -1
- data/lib/awspec/generator/spec/wafv2_ip_set.rb +35 -0
- data/lib/awspec/generator.rb +2 -0
- data/lib/awspec/helper/finder/codebuild.rb +2 -4
- data/lib/awspec/helper/finder/codepipeline.rb +25 -0
- data/lib/awspec/helper/finder/vpc_endpoints.rb +3 -5
- data/lib/awspec/helper/finder/wafv2.rb +27 -0
- data/lib/awspec/helper/finder.rb +7 -1
- data/lib/awspec/helper/type.rb +1 -1
- data/lib/awspec/matcher/belong_to_subnet.rb +1 -1
- data/lib/awspec/shared_context.rb +6 -0
- data/lib/awspec/stub/cloudfront_distribution.rb +0 -2
- data/lib/awspec/stub/codebuild.rb +56 -0
- data/lib/awspec/stub/codepipeline.rb +104 -0
- data/lib/awspec/stub/wafv2_ip_set.rb +32 -0
- data/lib/awspec/type/codebuild.rb +3 -0
- data/lib/awspec/type/codepipeline.rb +13 -0
- data/lib/awspec/type/rds_db_cluster.rb +1 -1
- data/lib/awspec/type/rds_db_cluster_parameter_group.rb +1 -1
- data/lib/awspec/type/rds_db_parameter_group.rb +4 -4
- data/lib/awspec/type/rds_db_subnet_group.rb +1 -1
- data/lib/awspec/type/wafv2_ip_set.rb +23 -0
- data/lib/awspec/version.rb +2 -2
- metadata +44 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fda6baa9048249f77fa2fbc686a010ce8c64f9a2cc950707d6dacb99c2a352d
|
4
|
+
data.tar.gz: 9b52e0bd5e2d586207a4be29d37321158f037af215615ce791797e43cd118569
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fcf1543ec18e1fe32468e48d20df072a5a53e1ef90394b451e4a383f438d49c167ba3a041073a0a118ffd46bd031ca547583732ec9d0254fb806f711f72d546
|
7
|
+
data.tar.gz: 7b6b59e791056334e52ad28da2ab62cf95cd7703e3e026a82d518ec0b1f1017c1aa7434ed1cb568879a544ab09bdb14f7cc0dbd3cd051df21f02a529e83f7286
|
data/.github/workflows/ci.yml
CHANGED
data/.rubocop.yml
CHANGED
data/Rakefile
CHANGED
data/awspec.gemspec
CHANGED
@@ -20,12 +20,14 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.required_ruby_version = '>=
|
23
|
+
spec.required_ruby_version = '>= 3.0'
|
24
24
|
spec.add_runtime_dependency 'addressable'
|
25
25
|
spec.add_runtime_dependency 'awsecrets', '~> 1'
|
26
26
|
spec.add_runtime_dependency 'aws-sdk', '~> 3'
|
27
|
+
spec.add_runtime_dependency 'base64', '~> 0.1.0'
|
27
28
|
spec.add_runtime_dependency 'dry-inflector'
|
28
29
|
spec.add_runtime_dependency 'ipaddress'
|
30
|
+
spec.add_runtime_dependency 'ostruct', '~> 0.6.1'
|
29
31
|
spec.add_runtime_dependency 'rspec', '~> 3.0'
|
30
32
|
spec.add_runtime_dependency 'rspec-its'
|
31
33
|
spec.add_runtime_dependency 'term-ansicolor'
|
@@ -0,0 +1,17 @@
|
|
1
|
+
### exist
|
2
|
+
|
3
|
+
You can set `scope` to CLOUDFRONT or REGIONAL ( default: `REGIONAL` ).
|
4
|
+
|
5
|
+
```ruby
|
6
|
+
describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
|
7
|
+
it { should exist }
|
8
|
+
end
|
9
|
+
```
|
10
|
+
|
11
|
+
### have_ip_address
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
|
15
|
+
it { should have_ip_address('10.0.0.0/32') }
|
16
|
+
end
|
17
|
+
```
|
data/doc/resource_types.md
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
| [codebuild](#codebuild)
|
20
20
|
| [codedeploy](#codedeploy)
|
21
21
|
| [codedeploy_deployment_group](#codedeploy_deployment_group)
|
22
|
+
| [codepipeline](#codepipeline)
|
22
23
|
| [cognito_identity_pool](#cognito_identity_pool)
|
23
24
|
| [cognito_user_pool](#cognito_user_pool)
|
24
25
|
| [customer_gateway](#customer_gateway)
|
@@ -88,6 +89,7 @@
|
|
88
89
|
| [vpn_gateway](#vpn_gateway)
|
89
90
|
| [waf_web_acl](#waf_web_acl)
|
90
91
|
| [wafregional_web_acl](#wafregional_web_acl)
|
92
|
+
| [wafv2_ip_set](#wafv2_ip_set)
|
91
93
|
| [account](#account)
|
92
94
|
|
93
95
|
## <a name="acm">acm</a>
|
@@ -174,7 +176,7 @@ describe alb('my-alb') do
|
|
174
176
|
end
|
175
177
|
```
|
176
178
|
|
177
|
-
### 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)
|
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)
|
178
180
|
## <a name="alb_listener">alb_listener</a>
|
179
181
|
|
180
182
|
AlbListener resource type.
|
@@ -279,7 +281,7 @@ end
|
|
279
281
|
|
280
282
|
### have_tag
|
281
283
|
|
282
|
-
### its(:
|
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)
|
283
285
|
### :unlock: Advanced use
|
284
286
|
|
285
287
|
`ami` can use `Aws::EC2::Image` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Image.html).
|
@@ -366,7 +368,7 @@ describe autoscaling_group('my-auto-scaling-group') do
|
|
366
368
|
end
|
367
369
|
```
|
368
370
|
|
369
|
-
### 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)
|
371
|
+
### 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)
|
370
372
|
## <a name="batch_compute_environment">batch_compute_environment</a>
|
371
373
|
|
372
374
|
BatchComputeEnvironment resource type.
|
@@ -405,7 +407,7 @@ end
|
|
405
407
|
|
406
408
|
### be_unmanaged
|
407
409
|
|
408
|
-
### its(:compute_environment_name), its(:compute_environment_arn), its(:unmanagedv_cpus), its(:ecs_cluster_arn), its(:tags), its(:type), its(:state), its(:status), its(:status_reason), its(:service_role), its(:update_policy), its(:eks_configuration), its(:container_orchestration_type), its(:uuid)
|
410
|
+
### its(:compute_environment_name), its(:compute_environment_arn), its(:unmanagedv_cpus), its(:ecs_cluster_arn), its(:tags), its(:type), its(:state), its(:status), its(:status_reason), its(:service_role), its(:update_policy), its(:eks_configuration), its(:container_orchestration_type), its(:uuid), its(:context)
|
409
411
|
## <a name="batch_job_definition">batch_job_definition</a>
|
410
412
|
|
411
413
|
BatchJobDefinition resource type.
|
@@ -467,7 +469,7 @@ describe cloudformation_stack('my-cloudformation-stack') do
|
|
467
469
|
end
|
468
470
|
```
|
469
471
|
|
470
|
-
### 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(:detailed_status)
|
472
|
+
### 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)
|
471
473
|
## <a name="cloudfront_distribution">cloudfront_distribution</a>
|
472
474
|
|
473
475
|
CloudfrontDistribution resource type.
|
@@ -545,7 +547,7 @@ describe cloudfront_distribution('123456789zyxw.cloudfront.net') do
|
|
545
547
|
end
|
546
548
|
```
|
547
549
|
|
548
|
-
### 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)
|
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)
|
549
551
|
## <a name="cloudtrail">cloudtrail</a>
|
550
552
|
|
551
553
|
Cloudtrail resource type.
|
@@ -737,13 +739,34 @@ Codebuild resource type.
|
|
737
739
|
|
738
740
|
### exist
|
739
741
|
|
742
|
+
```ruby
|
743
|
+
describe codebuild('my-codebuild1') do
|
744
|
+
it { should exist }
|
745
|
+
end
|
746
|
+
```
|
747
|
+
|
740
748
|
|
749
|
+
### have_tag
|
750
|
+
|
751
|
+
```ruby
|
752
|
+
describe codebuild('my-codebuild1') do
|
753
|
+
it { should have_tag('env').value('dev') }
|
754
|
+
end
|
755
|
+
```
|
756
|
+
|
757
|
+
### its(:name), its(:arn), its(:description), its(:secondary_sources), its(:source_version), its(:secondary_source_versions), its(:secondary_artifacts), its(:service_role), its(:timeout_in_minutes), its(:queued_timeout_in_minutes), its(:encryption_key), its(:created), its(:last_modified), its(:webhook), its(:vpc_config), its(:file_system_locations), its(:build_batch_config), its(:concurrent_build_limit), its(:project_visibility), its(:public_project_alias), its(:resource_access_role), its(:auto_retry_limit)
|
741
758
|
## <a name="codedeploy">codedeploy</a>
|
742
759
|
|
743
760
|
Codedeploy resource type.
|
744
761
|
|
745
762
|
### exist
|
746
763
|
|
764
|
+
```ruby
|
765
|
+
describe codedeploy('my-codedeploy') do
|
766
|
+
it { should exist }
|
767
|
+
end
|
768
|
+
```
|
769
|
+
|
747
770
|
### its(:application_id), its(:application_name), its(:create_time), its(:linked_to_git_hub), its(:git_hub_account_name), its(:compute_platform)
|
748
771
|
## <a name="codedeploy_deployment_group">codedeploy_deployment_group</a>
|
749
772
|
|
@@ -769,6 +792,19 @@ end
|
|
769
792
|
```
|
770
793
|
|
771
794
|
### its(:application_name), its(:deployment_group_id), its(:deployment_group_name), its(:deployment_config_name), its(:on_premises_instance_tag_filters), its(:service_role_arn), its(:target_revision), its(:trigger_configurations), its(:alarm_configuration), its(:deployment_style), its(:outdated_instances_strategy), its(:load_balancer_info), its(:last_successful_deployment), its(:last_attempted_deployment), its(:ec2_tag_set), its(:on_premises_tag_set), its(:compute_platform), its(:ecs_services), its(:termination_hook_enabled)
|
795
|
+
## <a name="codepipeline">codepipeline</a>
|
796
|
+
|
797
|
+
Codepipeline resource type.
|
798
|
+
|
799
|
+
### exist
|
800
|
+
|
801
|
+
```ruby
|
802
|
+
describe codepipeline('my-codepipeline') do
|
803
|
+
it { should exist }
|
804
|
+
end
|
805
|
+
```
|
806
|
+
|
807
|
+
### its(:name), its(:role_arn), its(:artifact_stores), its(:version), its(:execution_mode), its(:pipeline_type), its(:variables), its(:triggers)
|
772
808
|
## <a name="cognito_identity_pool">cognito_identity_pool</a>
|
773
809
|
|
774
810
|
CognitoIdentityPool resource type.
|
@@ -824,7 +860,7 @@ end
|
|
824
860
|
```
|
825
861
|
|
826
862
|
|
827
|
-
### its(:
|
863
|
+
### its(:certificate_arn), its(:device_name), its(:tags), its(:bgp_asn_extended), its(:customer_gateway_id), its(:state), its(:type), its(:ip_address), its(:bgp_asn)
|
828
864
|
## <a name="directconnect_virtual_interface">directconnect_virtual_interface</a>
|
829
865
|
|
830
866
|
DirectconnectVirtualInterface resource type.
|
@@ -896,7 +932,7 @@ end
|
|
896
932
|
```
|
897
933
|
|
898
934
|
|
899
|
-
### 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)
|
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)
|
900
936
|
### :unlock: Advanced use
|
901
937
|
|
902
938
|
`dynamodb_table` can use `Aws::DynamoDB::Table` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/DynamoDB/Table.html).
|
@@ -956,7 +992,7 @@ end
|
|
956
992
|
```
|
957
993
|
|
958
994
|
|
959
|
-
### its(:
|
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)
|
960
996
|
### :unlock: Advanced use
|
961
997
|
|
962
998
|
`ebs` can use `Aws::EC2::Volume` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Volume.html).
|
@@ -1142,7 +1178,7 @@ end
|
|
1142
1178
|
```
|
1143
1179
|
|
1144
1180
|
|
1145
|
-
### its(:
|
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)
|
1146
1182
|
### :unlock: Advanced use
|
1147
1183
|
|
1148
1184
|
`ec2` can use `Aws::EC2::Instance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Instance.html).
|
@@ -1293,7 +1329,7 @@ describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
|
|
1293
1329
|
end
|
1294
1330
|
```
|
1295
1331
|
|
1296
|
-
### 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)
|
1332
|
+
### 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)
|
1297
1333
|
## <a name="ecs_task_definition">ecs_task_definition</a>
|
1298
1334
|
|
1299
1335
|
ECS Task Definition resource type.
|
@@ -1315,7 +1351,7 @@ describe ecs_task_definition('my-ecs-task-definition') do
|
|
1315
1351
|
end
|
1316
1352
|
```
|
1317
1353
|
|
1318
|
-
### its(:task_definition_arn), its(:family), its(:task_role_arn), its(:execution_role_arn), its(:network_mode), its(:revision), its(:volumes), its(:status), its(:requires_attributes), its(:placement_constraints), its(:compatibilities), its(:runtime_platform), its(:requires_compatibilities), its(:cpu), its(:memory), its(:inference_accelerators), its(:pid_mode), its(:ipc_mode), its(:proxy_configuration), its(:registered_at), its(:deregistered_at), its(:registered_by), its(:ephemeral_storage)
|
1354
|
+
### its(:task_definition_arn), its(:family), its(:task_role_arn), its(:execution_role_arn), its(:network_mode), its(:revision), its(:volumes), its(:status), its(:requires_attributes), its(:placement_constraints), its(:compatibilities), its(:runtime_platform), its(:requires_compatibilities), its(:cpu), its(:memory), its(:inference_accelerators), its(:pid_mode), its(:ipc_mode), its(:proxy_configuration), its(:registered_at), its(:deregistered_at), its(:registered_by), its(:ephemeral_storage), its(:enable_fault_injection)
|
1319
1355
|
## <a name="efs">efs</a>
|
1320
1356
|
|
1321
1357
|
EFS resource type.
|
@@ -1368,7 +1404,7 @@ describe eip('123.0.456.789') do
|
|
1368
1404
|
end
|
1369
1405
|
```
|
1370
1406
|
|
1371
|
-
### its(:
|
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)
|
1372
1408
|
## <a name="eks">eks</a>
|
1373
1409
|
|
1374
1410
|
Eks resource type.
|
@@ -1389,7 +1425,7 @@ describe eks('my-eks') do
|
|
1389
1425
|
end
|
1390
1426
|
```
|
1391
1427
|
|
1392
|
-
### 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)
|
1428
|
+
### 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)
|
1393
1429
|
## <a name="eks_nodegroup">eks_nodegroup</a>
|
1394
1430
|
|
1395
1431
|
EksNodegroup resource type.
|
@@ -1448,7 +1484,7 @@ end
|
|
1448
1484
|
```
|
1449
1485
|
|
1450
1486
|
|
1451
|
-
### its(:nodegroup_name), its(:nodegroup_arn), its(:cluster_name), its(:version), its(:release_version), its(:created_at), its(:modified_at), its(:status), its(:capacity_type), its(:instance_types), its(:subnets), its(:remote_access), its(:ami_type), its(:node_role), its(:labels), its(:taints), its(:resources), its(:disk_size), its(:health), its(:update_config), its(:launch_template), its(:tags)
|
1487
|
+
### its(:nodegroup_name), its(:nodegroup_arn), its(:cluster_name), its(:version), its(:release_version), its(:created_at), its(:modified_at), its(:status), its(:capacity_type), its(:instance_types), its(:subnets), its(:remote_access), its(:ami_type), its(:node_role), its(:labels), its(:taints), its(:resources), its(:disk_size), its(:health), its(:update_config), its(:node_repair_config), its(:launch_template), its(:tags)
|
1452
1488
|
## <a name="elasticache">elasticache</a>
|
1453
1489
|
|
1454
1490
|
Elasticache resource type.
|
@@ -2282,7 +2318,7 @@ DOC
|
|
2282
2318
|
end
|
2283
2319
|
```
|
2284
2320
|
|
2285
|
-
### 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(:multi_region), its(:multi_region_configuration), its(:pending_deletion_window_in_days), its(:mac_algorithms), its(:xks_key_configuration)
|
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)
|
2286
2322
|
## <a name="lambda">lambda</a>
|
2287
2323
|
|
2288
2324
|
Lambda resource type.
|
@@ -2411,7 +2447,7 @@ describe launch_template('my-launch-template') do
|
|
2411
2447
|
end
|
2412
2448
|
```
|
2413
2449
|
|
2414
|
-
### its(:launch_template_id), its(:launch_template_name), its(:create_time), its(:created_by), its(:default_version_number), its(:latest_version_number), its(:tags)
|
2450
|
+
### its(:launch_template_id), its(:launch_template_name), its(:create_time), its(:created_by), its(:default_version_number), its(:latest_version_number), its(:tags), its(:operator)
|
2415
2451
|
## <a name="managed_prefix_list">managed_prefix_list</a>
|
2416
2452
|
|
2417
2453
|
ManagedPrefixList resource type.
|
@@ -2719,7 +2755,7 @@ describe network_interface('eni-12ab3cde') do
|
|
2719
2755
|
end
|
2720
2756
|
```
|
2721
2757
|
|
2722
|
-
### 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)
|
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)
|
2723
2759
|
## <a name="nlb">nlb</a>
|
2724
2760
|
|
2725
2761
|
NLB resource type.
|
@@ -2770,7 +2806,7 @@ describe nlb('my-nlb') do
|
|
2770
2806
|
end
|
2771
2807
|
```
|
2772
2808
|
|
2773
|
-
### 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)
|
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)
|
2774
2810
|
## <a name="nlb_listener">nlb_listener</a>
|
2775
2811
|
|
2776
2812
|
NlbListener resource type.
|
@@ -2947,7 +2983,7 @@ end
|
|
2947
2983
|
```
|
2948
2984
|
|
2949
2985
|
|
2950
|
-
### its(:vpc_id), its(:db_instance_identifier), its(:db_instance_class), its(:engine), its(:db_instance_status), its(:automatic_restart_time), 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(: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(: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(:db_instance_automated_backups_replications), its(:customer_owned_ip_enabled), its(:aws_backup_recovery_point_arn), 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(:automation_mode), its(:resume_full_automation_mode_time), its(:custom_iam_instance_profile), its(:backup_target), its(:network_type), its(:activity_stream_policy_status), its(:storage_throughput), its(:db_system_id), its(:master_user_secret), its(:certificate_details), its(:read_replica_source_db_cluster_identifier), its(:percent_progress), its(:dedicated_log_volume), its(:is_storage_config_upgrade_available), its(:multi_tenant)
|
2986
|
+
### its(:vpc_id), its(:db_instance_identifier), its(:db_instance_class), its(:engine), its(:db_instance_status), its(:automatic_restart_time), 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(: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(:db_instance_automated_backups_replications), its(:customer_owned_ip_enabled), its(:aws_backup_recovery_point_arn), 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(:automation_mode), its(:resume_full_automation_mode_time), its(:custom_iam_instance_profile), its(:backup_target), its(:network_type), its(:activity_stream_policy_status), its(:storage_throughput), its(:db_system_id), its(:master_user_secret), its(:certificate_details), its(:read_replica_source_db_cluster_identifier), its(:percent_progress), its(:dedicated_log_volume), its(:is_storage_config_upgrade_available), its(:multi_tenant), its(:engine_lifecycle_support)
|
2951
2987
|
### :unlock: Advanced use
|
2952
2988
|
|
2953
2989
|
`rds` can use `Aws::RDS::DBInstance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/RDS/DBInstance.html).
|
@@ -2968,7 +3004,7 @@ end
|
|
2968
3004
|
|
2969
3005
|
## <a name="rds_db_cluster">rds_db_cluster</a>
|
2970
3006
|
|
2971
|
-
|
3007
|
+
RdsDBCluster resource type.
|
2972
3008
|
|
2973
3009
|
```ruby
|
2974
3010
|
describe rds_db_cluster('my-rds-db-cluster') do
|
@@ -3020,10 +3056,10 @@ describe rds_db_cluster('my-rds-db-cluster') do
|
|
3020
3056
|
end
|
3021
3057
|
```
|
3022
3058
|
|
3023
|
-
### 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(: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(:certificate_details)
|
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)
|
3024
3060
|
## <a name="rds_db_cluster_parameter_group">rds_db_cluster_parameter_group</a>
|
3025
3061
|
|
3026
|
-
|
3062
|
+
RdsDBClusterParameterGroup resource type.
|
3027
3063
|
|
3028
3064
|
```ruby
|
3029
3065
|
describe rds_db_cluster_parameter_group('my-rds-db-cluster-parameter-group') do
|
@@ -3044,7 +3080,7 @@ end
|
|
3044
3080
|
|
3045
3081
|
## <a name="rds_db_parameter_group">rds_db_parameter_group</a>
|
3046
3082
|
|
3047
|
-
|
3083
|
+
RdsDBParameterGroup resource type.
|
3048
3084
|
|
3049
3085
|
```ruby
|
3050
3086
|
describe rds_db_parameter_group('my-rds-db-parameter-group') do
|
@@ -3064,7 +3100,7 @@ end
|
|
3064
3100
|
|
3065
3101
|
## <a name="rds_db_subnet_group">rds_db_subnet_group</a>
|
3066
3102
|
|
3067
|
-
|
3103
|
+
RdsDBSubnetGroup resource type.
|
3068
3104
|
|
3069
3105
|
### exist
|
3070
3106
|
|
@@ -3138,7 +3174,7 @@ describe rds_global_cluster('my-rds-global-cluster') do
|
|
3138
3174
|
end
|
3139
3175
|
```
|
3140
3176
|
|
3141
|
-
### its(:global_cluster_identifier), its(:global_cluster_resource_id), its(:global_cluster_arn), its(:status), its(:engine), its(:engine_version), its(:database_name), its(:storage_encrypted), its(:deletion_protection), its(:failover_state)
|
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)
|
3142
3178
|
## <a name="rds_proxy">rds_proxy</a>
|
3143
3179
|
|
3144
3180
|
RdsProxy resource type.
|
@@ -3548,7 +3584,7 @@ end
|
|
3548
3584
|
```
|
3549
3585
|
|
3550
3586
|
|
3551
|
-
### its(:acl_grants_count), its(:acl_owner), its(:cors_rules_count), its(:name), its(:creation_date)
|
3587
|
+
### its(:acl_grants_count), its(:acl_owner), its(:cors_rules_count), its(:name), its(:creation_date), its(:bucket_region)
|
3552
3588
|
### :unlock: Advanced use
|
3553
3589
|
|
3554
3590
|
`s3_bucket` can use `Aws::S3::Bucket` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Bucket.html).
|
@@ -3633,7 +3669,7 @@ end
|
|
3633
3669
|
```
|
3634
3670
|
|
3635
3671
|
|
3636
|
-
### its(:inbound_rule_count), its(:outbound_rule_count), its(:inbound_permissions_count), its(:outbound_permissions_count), its(:
|
3672
|
+
### its(:inbound_rule_count), its(:outbound_rule_count), its(:inbound_permissions_count), its(:outbound_permissions_count), its(:group_id), its(:vpc_id), its(:security_group_arn), its(:owner_id), its(:group_name), its(:description)
|
3637
3673
|
### :unlock: Advanced use
|
3638
3674
|
|
3639
3675
|
`security_group` can use `Aws::EC2::SecurityGroup` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/SecurityGroup.html).
|
@@ -4033,7 +4069,7 @@ end
|
|
4033
4069
|
```
|
4034
4070
|
|
4035
4071
|
|
4036
|
-
### its(:
|
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)
|
4037
4073
|
### :unlock: Advanced use
|
4038
4074
|
|
4039
4075
|
`vpc` can use `Aws::EC2::Vpc` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Vpc.html).
|
@@ -4124,7 +4160,7 @@ end
|
|
4124
4160
|
```
|
4125
4161
|
|
4126
4162
|
|
4127
|
-
### its(:vpc_endpoint_id), its(:vpc_endpoint_type), its(:vpc_id), its(:service_name), its(:state), its(:policy_document), its(:route_table_ids), its(:subnet_ids), its(:groups), its(:ip_address_type), its(:dns_options), its(:private_dns_enabled), its(:requester_managed), its(:network_interface_ids), its(:dns_entries), its(:creation_timestamp), its(:owner_id), its(:last_error)
|
4163
|
+
### its(:vpc_endpoint_id), its(:vpc_endpoint_type), its(:vpc_id), its(:service_name), its(:state), its(:policy_document), its(:route_table_ids), its(:subnet_ids), its(:groups), its(:ip_address_type), its(:dns_options), its(:private_dns_enabled), its(:requester_managed), its(:network_interface_ids), its(:dns_entries), its(:creation_timestamp), its(:owner_id), its(:last_error), its(:ipv_4_prefixes), its(:ipv_6_prefixes), its(:failure_reason), its(:service_network_arn), its(:resource_configuration_arn), its(:service_region)
|
4128
4164
|
### :unlock: Advanced use
|
4129
4165
|
|
4130
4166
|
`vpc_endpoints` can use `Aws::EC2::Types::VpcEndpoint` resource (see https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Types/VpcEndpoint.html).
|
@@ -4169,7 +4205,7 @@ end
|
|
4169
4205
|
```
|
4170
4206
|
|
4171
4207
|
|
4172
|
-
### its(:
|
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)
|
4173
4209
|
## <a name="vpn_gateway">vpn_gateway</a>
|
4174
4210
|
|
4175
4211
|
VpnGateway resource type.
|
@@ -4210,7 +4246,7 @@ describe vpn_gateway('my-vpn-gateway') do
|
|
4210
4246
|
end
|
4211
4247
|
```
|
4212
4248
|
|
4213
|
-
### its(:
|
4249
|
+
### its(:amazon_side_asn), its(:vpn_gateway_id), its(:state), its(:type), its(:availability_zone)
|
4214
4250
|
## <a name="waf_web_acl">waf_web_acl</a>
|
4215
4251
|
|
4216
4252
|
WafWebAcl resource type.
|
@@ -4265,6 +4301,30 @@ end
|
|
4265
4301
|
|
4266
4302
|
|
4267
4303
|
### its(:default_action), its(:web_acl_id), its(:name), its(:metric_name), its(:web_acl_arn)
|
4304
|
+
## <a name="wafv2_ip_set">wafv2_ip_set</a>
|
4305
|
+
|
4306
|
+
Wafv2IpSet resource type.
|
4307
|
+
|
4308
|
+
### exist
|
4309
|
+
|
4310
|
+
You can set `scope` to CLOUDFRONT or REGIONAL ( default: `REGIONAL` ).
|
4311
|
+
|
4312
|
+
```ruby
|
4313
|
+
describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
|
4314
|
+
it { should exist }
|
4315
|
+
end
|
4316
|
+
```
|
4317
|
+
|
4318
|
+
|
4319
|
+
### have_ip_address
|
4320
|
+
|
4321
|
+
```ruby
|
4322
|
+
describe wafv2_ip_set('my-ip-set'), scope: 'REGIONAL' do
|
4323
|
+
it { should have_ip_address('10.0.0.0/32') }
|
4324
|
+
end
|
4325
|
+
```
|
4326
|
+
|
4327
|
+
### its(:name), its(:id), its(:arn), its(:description), its(:ip_address_version), its(:addresses)
|
4268
4328
|
# Account and Attributes
|
4269
4329
|
|
4270
4330
|
## <a name="account">account</a>
|
@@ -62,6 +62,18 @@ module Awspec
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
types = %w[
|
66
|
+
wafv2_ip_set
|
67
|
+
]
|
68
|
+
|
69
|
+
types.each do |type|
|
70
|
+
desc "#{type} [scope]", "Generate #{type} spec from scope: (CLOUDFRONT or REGIONAL)."
|
71
|
+
define_method type do |_scope|
|
72
|
+
Awsecrets.load(profile: options[:profile], region: options[:region], secrets_path: options[:secrets_path])
|
73
|
+
eval "puts Awspec::Generator::Spec::#{type.camelize}.new.generate_by_scope(_scope)"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
65
77
|
types_for_generate_all = %w[
|
66
78
|
cloudwatch_alarm cloudwatch_event directconnect ebs efs
|
67
79
|
elasticsearch iam_group iam_policy iam_role iam_user kms lambda
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Awspec::Generator
|
4
|
+
module Doc
|
5
|
+
module Type
|
6
|
+
class Codepipeline < Base
|
7
|
+
def initialize
|
8
|
+
super
|
9
|
+
@type_name = 'Codepipeline'
|
10
|
+
@type = Awspec::Type::Codepipeline.new('my-codepipeline')
|
11
|
+
@ret = @type.resource_via_client
|
12
|
+
@matchers = []
|
13
|
+
@ignore_matchers = []
|
14
|
+
@describes = []
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -3,16 +3,16 @@
|
|
3
3
|
module Awspec::Generator
|
4
4
|
module Doc
|
5
5
|
module Type
|
6
|
-
class
|
6
|
+
class RdsDBCluster < Base
|
7
7
|
def initialize
|
8
8
|
super
|
9
|
-
@type_name = '
|
10
|
-
@type = Awspec::Type::
|
9
|
+
@type_name = 'RdsDBCluster'
|
10
|
+
@type = Awspec::Type::RdsDBCluster.new('my-rds-db-cluster')
|
11
11
|
@ret = @type.resource_via_client
|
12
12
|
@matchers = [
|
13
|
-
Awspec::Type::
|
13
|
+
Awspec::Type::RdsDBCluster::STATES.map { |state| "be_#{state.tr('-', '_')}" }.join(', ')
|
14
14
|
]
|
15
|
-
@ignore_matchers = Awspec::Type::
|
15
|
+
@ignore_matchers = Awspec::Type::RdsDBCluster::STATES.map { |state| "be_#{state.tr('-', '_')}" }
|
16
16
|
@describes = []
|
17
17
|
end
|
18
18
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
module Awspec::Generator
|
4
4
|
module Doc
|
5
5
|
module Type
|
6
|
-
class
|
6
|
+
class RdsDBClusterParameterGroup < Base
|
7
7
|
def initialize
|
8
8
|
super
|
9
|
-
@type = Awspec::Type::
|
9
|
+
@type = Awspec::Type::RdsDBClusterParameterGroup.new('my-rds-db-cluster-parameter-group')
|
10
10
|
@matchers = []
|
11
11
|
@ignore_matchers = []
|
12
12
|
@describes = []
|
@@ -3,10 +3,10 @@
|
|
3
3
|
module Awspec::Generator
|
4
4
|
module Doc
|
5
5
|
module Type
|
6
|
-
class
|
6
|
+
class RdsDBParameterGroup < Base
|
7
7
|
def initialize
|
8
8
|
super
|
9
|
-
@type = Awspec::Type::
|
9
|
+
@type = Awspec::Type::RdsDBParameterGroup.new('my-rds-db-parameter-group')
|
10
10
|
@matchers = []
|
11
11
|
@ignore_matchers = []
|
12
12
|
@describes = []
|
@@ -3,11 +3,11 @@
|
|
3
3
|
module Awspec::Generator
|
4
4
|
module Doc
|
5
5
|
module Type
|
6
|
-
class
|
6
|
+
class RdsDBSubnetGroup < Base
|
7
7
|
def initialize
|
8
8
|
super
|
9
|
-
@type_name = '
|
10
|
-
@type = Awspec::Type::
|
9
|
+
@type_name = 'RdsDBSubnetGroup'
|
10
|
+
@type = Awspec::Type::RdsDBSubnetGroup.new('my-rds-db-subnet-group')
|
11
11
|
@ret = @type.resource_via_client
|
12
12
|
@matchers = %w[belong_to_vpc belong_to_subnet]
|
13
13
|
@ignore_matchers = []
|