awspec 1.29.3 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +2 -5
- data/Rakefile +0 -1
- data/awspec.gemspec +3 -1
- data/doc/_resource_types/codebuild.md +14 -0
- data/doc/_resource_types/managed_prefix_list.md +32 -0
- data/doc/_resource_types/transit_gateway.md +22 -0
- data/doc/resource_types.md +117 -39
- data/lib/awspec/command/generate.rb +1 -1
- data/lib/awspec/generator/doc/type/managed_prefix_list.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/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/managed_prefix_list.rb +54 -0
- 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.rb +1 -0
- data/lib/awspec/helper/finder/codebuild.rb +2 -4
- data/lib/awspec/helper/finder/ec2.rb +12 -0
- data/lib/awspec/helper/finder/vpc_endpoints.rb +1 -3
- data/lib/awspec/helper/type.rb +1 -1
- data/lib/awspec/matcher/belong_to_subnet.rb +1 -1
- data/lib/awspec/matcher/have_cidr.rb +11 -0
- data/lib/awspec/matcher.rb +3 -0
- data/lib/awspec/stub/codebuild.rb +56 -0
- data/lib/awspec/stub/managed_prefix_list.rb +41 -0
- data/lib/awspec/type/codebuild.rb +3 -0
- data/lib/awspec/type/managed_prefix_list.rb +34 -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/transit_gateway.rb +15 -3
- data/lib/awspec/version.rb +2 -2
- metadata +38 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f4858ddad3b4d257dd2ddf27129f46cefc9075ed790c10d95400f0f4bf355b0
|
4
|
+
data.tar.gz: fd8671e61f531633324ba97bdba6240f6977145b92773b1462affe38846fafa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e549e39e0594bfd69b27437d1af8925c9c83e2a70af17289da0986866e9c90ace0b9158d5dc80ebbc3635a099775063a28c10435236824a4a359c1dd4e23e5b9
|
7
|
+
data.tar.gz: 060e22540894d93a34233fe4ab27f70fe831e399204187831ef0cd5682113102c23015ef0f4e5097f26a269fd6841132b44d9e7c25100eaf48ea0b4df5cee23f
|
data/.github/workflows/ci.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,32 @@
|
|
1
|
+
### exist
|
2
|
+
|
3
|
+
```ruby
|
4
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
5
|
+
it { should exist }
|
6
|
+
end
|
7
|
+
```
|
8
|
+
|
9
|
+
### have_cidr
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
13
|
+
it { should have_cidr('10.0.0.0/16') }
|
14
|
+
it { should have_cidr('192.168.0.0/24').desc('dev') }
|
15
|
+
end
|
16
|
+
```
|
17
|
+
|
18
|
+
### its(:entries_count)
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
22
|
+
its(:entries_count) { should eq 2 }
|
23
|
+
end
|
24
|
+
```
|
25
|
+
|
26
|
+
### have_tag
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
30
|
+
it { should have_tag('env').value('dev') }
|
31
|
+
end
|
32
|
+
```
|
@@ -22,3 +22,25 @@ describe transit_gateway('my-tgw') do
|
|
22
22
|
its(:transit_gateway_id) { should eq 'tgw-1234567890abcdefg' }
|
23
23
|
end
|
24
24
|
```
|
25
|
+
### have_attachment
|
26
|
+
|
27
|
+
#### using attachment id
|
28
|
+
```ruby
|
29
|
+
describe transit_gateway('tgw-1234567890abcdefg') do
|
30
|
+
it { should have_attachment('tgw-attach-1234567890abcdefg') }
|
31
|
+
end
|
32
|
+
```
|
33
|
+
|
34
|
+
#### using attachment name
|
35
|
+
```ruby
|
36
|
+
describe transit_gateway('tgw-1234567890abcdefg') do
|
37
|
+
it { should have_attachment('my-prod-tgw-attachment') }
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
#### using regular expression attachment name
|
42
|
+
```ruby
|
43
|
+
describe transit_gateway('tgw-1234567890abcdefg') do
|
44
|
+
it { should have_attachment(/^my-\w+-tgw-attachment$/) }
|
45
|
+
end
|
46
|
+
```
|
data/doc/resource_types.md
CHANGED
@@ -52,6 +52,7 @@
|
|
52
52
|
| [lambda](#lambda)
|
53
53
|
| [launch_configuration](#launch_configuration)
|
54
54
|
| [launch_template](#launch_template)
|
55
|
+
| [managed_prefix_list](#managed_prefix_list)
|
55
56
|
| [mq](#mq)
|
56
57
|
| [msk](#msk)
|
57
58
|
| [nat_gateway](#nat_gateway)
|
@@ -173,7 +174,7 @@ describe alb('my-alb') do
|
|
173
174
|
end
|
174
175
|
```
|
175
176
|
|
176
|
-
### 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)
|
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), its(:enable_prefix_for_ipv_6_source_nat)
|
177
178
|
## <a name="alb_listener">alb_listener</a>
|
178
179
|
|
179
180
|
AlbListener resource type.
|
@@ -278,7 +279,7 @@ end
|
|
278
279
|
|
279
280
|
### have_tag
|
280
281
|
|
281
|
-
### its(:
|
282
|
+
### 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)
|
282
283
|
### :unlock: Advanced use
|
283
284
|
|
284
285
|
`ami` can use `Aws::EC2::Image` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Image.html).
|
@@ -365,7 +366,7 @@ describe autoscaling_group('my-auto-scaling-group') do
|
|
365
366
|
end
|
366
367
|
```
|
367
368
|
|
368
|
-
### 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)
|
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), its(:availability_zone_distribution), its(:availability_zone_impairment_policy), its(:capacity_reservation_specification)
|
369
370
|
## <a name="batch_compute_environment">batch_compute_environment</a>
|
370
371
|
|
371
372
|
BatchComputeEnvironment resource type.
|
@@ -404,7 +405,7 @@ end
|
|
404
405
|
|
405
406
|
### be_unmanaged
|
406
407
|
|
407
|
-
### 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)
|
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), its(:context)
|
408
409
|
## <a name="batch_job_definition">batch_job_definition</a>
|
409
410
|
|
410
411
|
BatchJobDefinition resource type.
|
@@ -417,7 +418,7 @@ describe batch_job_definition('my-batch-job-definition') do
|
|
417
418
|
end
|
418
419
|
```
|
419
420
|
|
420
|
-
### 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(:eks_properties), its(:container_orchestration_type)
|
421
|
+
### 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)
|
421
422
|
## <a name="batch_job_queue">batch_job_queue</a>
|
422
423
|
|
423
424
|
BatchJobQueue resource type.
|
@@ -443,7 +444,7 @@ describe batch_job_queue('my-batch-job-queue') do
|
|
443
444
|
end
|
444
445
|
```
|
445
446
|
|
446
|
-
### its(:job_queue_name), its(:job_queue_arn), its(:state), its(:scheduling_policy_arn), its(:status), its(:status_reason), its(:priority), its(:tags)
|
447
|
+
### 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)
|
447
448
|
## <a name="cloudformation_stack">cloudformation_stack</a>
|
448
449
|
|
449
450
|
CloudformationStack resource type.
|
@@ -466,7 +467,7 @@ describe cloudformation_stack('my-cloudformation-stack') do
|
|
466
467
|
end
|
467
468
|
```
|
468
469
|
|
469
|
-
### 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)
|
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(:deletion_mode), its(:detailed_status)
|
470
471
|
## <a name="cloudfront_distribution">cloudfront_distribution</a>
|
471
472
|
|
472
473
|
CloudfrontDistribution resource type.
|
@@ -544,7 +545,7 @@ describe cloudfront_distribution('123456789zyxw.cloudfront.net') do
|
|
544
545
|
end
|
545
546
|
```
|
546
547
|
|
547
|
-
### 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)
|
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), its(:anycast_ip_list_id)
|
548
549
|
## <a name="cloudtrail">cloudtrail</a>
|
549
550
|
|
550
551
|
Cloudtrail resource type.
|
@@ -729,14 +730,29 @@ describe cloudwatch_logs('my-cloudwatch-logs-group') do
|
|
729
730
|
end
|
730
731
|
```
|
731
732
|
|
732
|
-
### its(:log_group_name), its(:creation_time), its(:retention_in_days), its(:metric_filter_count), its(:arn), its(:stored_bytes), its(:kms_key_id), its(:data_protection_status), its(:inherited_properties), its(:log_group_class)
|
733
|
+
### its(:log_group_name), its(:creation_time), its(:retention_in_days), its(:metric_filter_count), its(:arn), its(:stored_bytes), its(:kms_key_id), its(:data_protection_status), its(:inherited_properties), its(:log_group_class), its(:log_group_arn)
|
733
734
|
## <a name="codebuild">codebuild</a>
|
734
735
|
|
735
736
|
Codebuild resource type.
|
736
737
|
|
737
738
|
### exist
|
738
739
|
|
740
|
+
```ruby
|
741
|
+
describe codebuild('my-codebuild1') do
|
742
|
+
it { should exist }
|
743
|
+
end
|
744
|
+
```
|
739
745
|
|
746
|
+
|
747
|
+
### have_tag
|
748
|
+
|
749
|
+
```ruby
|
750
|
+
describe codebuild('my-codebuild1') do
|
751
|
+
it { should have_tag('env').value('dev') }
|
752
|
+
end
|
753
|
+
```
|
754
|
+
|
755
|
+
### 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)
|
740
756
|
## <a name="codedeploy">codedeploy</a>
|
741
757
|
|
742
758
|
Codedeploy resource type.
|
@@ -823,7 +839,7 @@ end
|
|
823
839
|
```
|
824
840
|
|
825
841
|
|
826
|
-
### its(:
|
842
|
+
### 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)
|
827
843
|
## <a name="directconnect_virtual_interface">directconnect_virtual_interface</a>
|
828
844
|
|
829
845
|
DirectconnectVirtualInterface resource type.
|
@@ -895,7 +911,7 @@ end
|
|
895
911
|
```
|
896
912
|
|
897
913
|
|
898
|
-
### 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)
|
914
|
+
### 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)
|
899
915
|
### :unlock: Advanced use
|
900
916
|
|
901
917
|
`dynamodb_table` can use `Aws::DynamoDB::Table` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/DynamoDB/Table.html).
|
@@ -955,7 +971,7 @@ end
|
|
955
971
|
```
|
956
972
|
|
957
973
|
|
958
|
-
### its(:
|
974
|
+
### 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)
|
959
975
|
### :unlock: Advanced use
|
960
976
|
|
961
977
|
`ebs` can use `Aws::EC2::Volume` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Volume.html).
|
@@ -1141,7 +1157,7 @@ end
|
|
1141
1157
|
```
|
1142
1158
|
|
1143
1159
|
|
1144
|
-
### its(:
|
1160
|
+
### 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)
|
1145
1161
|
### :unlock: Advanced use
|
1146
1162
|
|
1147
1163
|
`ec2` can use `Aws::EC2::Instance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Instance.html).
|
@@ -1292,7 +1308,7 @@ describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
|
|
1292
1308
|
end
|
1293
1309
|
```
|
1294
1310
|
|
1295
|
-
### 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)
|
1311
|
+
### 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)
|
1296
1312
|
## <a name="ecs_task_definition">ecs_task_definition</a>
|
1297
1313
|
|
1298
1314
|
ECS Task Definition resource type.
|
@@ -1314,7 +1330,7 @@ describe ecs_task_definition('my-ecs-task-definition') do
|
|
1314
1330
|
end
|
1315
1331
|
```
|
1316
1332
|
|
1317
|
-
### 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)
|
1333
|
+
### 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)
|
1318
1334
|
## <a name="efs">efs</a>
|
1319
1335
|
|
1320
1336
|
EFS resource type.
|
@@ -1367,7 +1383,7 @@ describe eip('123.0.456.789') do
|
|
1367
1383
|
end
|
1368
1384
|
```
|
1369
1385
|
|
1370
|
-
### its(:
|
1386
|
+
### 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)
|
1371
1387
|
## <a name="eks">eks</a>
|
1372
1388
|
|
1373
1389
|
Eks resource type.
|
@@ -1388,7 +1404,7 @@ describe eks('my-eks') do
|
|
1388
1404
|
end
|
1389
1405
|
```
|
1390
1406
|
|
1391
|
-
### 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)
|
1407
|
+
### 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)
|
1392
1408
|
## <a name="eks_nodegroup">eks_nodegroup</a>
|
1393
1409
|
|
1394
1410
|
EksNodegroup resource type.
|
@@ -1447,7 +1463,7 @@ end
|
|
1447
1463
|
```
|
1448
1464
|
|
1449
1465
|
|
1450
|
-
### 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)
|
1466
|
+
### 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)
|
1451
1467
|
## <a name="elasticache">elasticache</a>
|
1452
1468
|
|
1453
1469
|
Elasticache resource type.
|
@@ -1595,7 +1611,7 @@ end
|
|
1595
1611
|
```
|
1596
1612
|
|
1597
1613
|
|
1598
|
-
### its(:domain_id), its(:domain_name), its(:arn), its(:created), its(:deleted), its(:endpoint), its(:endpoints), its(:processing), its(:upgrade_processing), its(:elasticsearch_version), its(:access_policies), its(:snapshot_options), its(:vpc_options), its(:cognito_options), its(:encryption_at_rest_options), its(:node_to_node_encryption_options), its(:advanced_options), its(:log_publishing_options), its(:service_software_options), its(:domain_endpoint_options), its(:advanced_security_options), its(:auto_tune_options), its(:change_progress_details)
|
1614
|
+
### its(:domain_id), its(:domain_name), its(:arn), its(:created), its(:deleted), its(:endpoint), its(:endpoints), its(:processing), its(:upgrade_processing), its(:elasticsearch_version), its(:access_policies), its(:snapshot_options), its(:vpc_options), its(:cognito_options), its(:encryption_at_rest_options), its(:node_to_node_encryption_options), its(:advanced_options), its(:log_publishing_options), its(:service_software_options), its(:domain_endpoint_options), its(:advanced_security_options), its(:auto_tune_options), its(:change_progress_details), its(:domain_processing_status), its(:modifying_properties)
|
1599
1615
|
## <a name="elastictranscoder_pipeline">elastictranscoder_pipeline</a>
|
1600
1616
|
|
1601
1617
|
ElastictranscoderPipeline resource type.
|
@@ -1740,7 +1756,7 @@ describe emr('my-emr') do
|
|
1740
1756
|
end
|
1741
1757
|
```
|
1742
1758
|
|
1743
|
-
### 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(: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)
|
1759
|
+
### 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)
|
1744
1760
|
## <a name="firehose">firehose</a>
|
1745
1761
|
|
1746
1762
|
Firehose resource type.
|
@@ -2281,7 +2297,7 @@ DOC
|
|
2281
2297
|
end
|
2282
2298
|
```
|
2283
2299
|
|
2284
|
-
### 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)
|
2300
|
+
### 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)
|
2285
2301
|
## <a name="lambda">lambda</a>
|
2286
2302
|
|
2287
2303
|
Lambda resource type.
|
@@ -2410,7 +2426,48 @@ describe launch_template('my-launch-template') do
|
|
2410
2426
|
end
|
2411
2427
|
```
|
2412
2428
|
|
2413
|
-
### its(:launch_template_id), its(:launch_template_name), its(:create_time), its(:created_by), its(:default_version_number), its(:latest_version_number), its(:tags)
|
2429
|
+
### 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)
|
2430
|
+
## <a name="managed_prefix_list">managed_prefix_list</a>
|
2431
|
+
|
2432
|
+
ManagedPrefixList resource type.
|
2433
|
+
|
2434
|
+
### exist
|
2435
|
+
|
2436
|
+
```ruby
|
2437
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
2438
|
+
it { should exist }
|
2439
|
+
end
|
2440
|
+
```
|
2441
|
+
|
2442
|
+
|
2443
|
+
### have_cidr
|
2444
|
+
|
2445
|
+
```ruby
|
2446
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
2447
|
+
it { should have_cidr('10.0.0.0/16') }
|
2448
|
+
it { should have_cidr('192.168.0.0/24').desc('dev') }
|
2449
|
+
end
|
2450
|
+
```
|
2451
|
+
|
2452
|
+
|
2453
|
+
### have_tag
|
2454
|
+
|
2455
|
+
```ruby
|
2456
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
2457
|
+
it { should have_tag('env').value('dev') }
|
2458
|
+
end
|
2459
|
+
```
|
2460
|
+
|
2461
|
+
### its(:entries_count)
|
2462
|
+
|
2463
|
+
```ruby
|
2464
|
+
describe managed_prefix_list('my-managed-prefix-list') do
|
2465
|
+
its(:entries_count) { should eq 2 }
|
2466
|
+
end
|
2467
|
+
```
|
2468
|
+
|
2469
|
+
|
2470
|
+
### its(:prefix_list_id), its(:address_family), its(:state), its(:state_message), its(:prefix_list_arn), its(:prefix_list_name), its(:max_entries), its(:version), its(:owner_id)
|
2414
2471
|
## <a name="mq">mq</a>
|
2415
2472
|
|
2416
2473
|
MQ resource type.
|
@@ -2677,7 +2734,7 @@ describe network_interface('eni-12ab3cde') do
|
|
2677
2734
|
end
|
2678
2735
|
```
|
2679
2736
|
|
2680
|
-
### 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)
|
2737
|
+
### 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)
|
2681
2738
|
## <a name="nlb">nlb</a>
|
2682
2739
|
|
2683
2740
|
NLB resource type.
|
@@ -2728,7 +2785,7 @@ describe nlb('my-nlb') do
|
|
2728
2785
|
end
|
2729
2786
|
```
|
2730
2787
|
|
2731
|
-
### 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)
|
2788
|
+
### 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)
|
2732
2789
|
## <a name="nlb_listener">nlb_listener</a>
|
2733
2790
|
|
2734
2791
|
NlbListener resource type.
|
@@ -2905,7 +2962,7 @@ end
|
|
2905
2962
|
```
|
2906
2963
|
|
2907
2964
|
|
2908
|
-
### 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)
|
2965
|
+
### 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)
|
2909
2966
|
### :unlock: Advanced use
|
2910
2967
|
|
2911
2968
|
`rds` can use `Aws::RDS::DBInstance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/RDS/DBInstance.html).
|
@@ -2926,7 +2983,7 @@ end
|
|
2926
2983
|
|
2927
2984
|
## <a name="rds_db_cluster">rds_db_cluster</a>
|
2928
2985
|
|
2929
|
-
|
2986
|
+
RdsDBCluster resource type.
|
2930
2987
|
|
2931
2988
|
```ruby
|
2932
2989
|
describe rds_db_cluster('my-rds-db-cluster') do
|
@@ -2978,10 +3035,10 @@ describe rds_db_cluster('my-rds-db-cluster') do
|
|
2978
3035
|
end
|
2979
3036
|
```
|
2980
3037
|
|
2981
|
-
### 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)
|
3038
|
+
### 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)
|
2982
3039
|
## <a name="rds_db_cluster_parameter_group">rds_db_cluster_parameter_group</a>
|
2983
3040
|
|
2984
|
-
|
3041
|
+
RdsDBClusterParameterGroup resource type.
|
2985
3042
|
|
2986
3043
|
```ruby
|
2987
3044
|
describe rds_db_cluster_parameter_group('my-rds-db-cluster-parameter-group') do
|
@@ -3002,7 +3059,7 @@ end
|
|
3002
3059
|
|
3003
3060
|
## <a name="rds_db_parameter_group">rds_db_parameter_group</a>
|
3004
3061
|
|
3005
|
-
|
3062
|
+
RdsDBParameterGroup resource type.
|
3006
3063
|
|
3007
3064
|
```ruby
|
3008
3065
|
describe rds_db_parameter_group('my-rds-db-parameter-group') do
|
@@ -3022,7 +3079,7 @@ end
|
|
3022
3079
|
|
3023
3080
|
## <a name="rds_db_subnet_group">rds_db_subnet_group</a>
|
3024
3081
|
|
3025
|
-
|
3082
|
+
RdsDBSubnetGroup resource type.
|
3026
3083
|
|
3027
3084
|
### exist
|
3028
3085
|
|
@@ -3096,7 +3153,7 @@ describe rds_global_cluster('my-rds-global-cluster') do
|
|
3096
3153
|
end
|
3097
3154
|
```
|
3098
3155
|
|
3099
|
-
### 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)
|
3156
|
+
### 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)
|
3100
3157
|
## <a name="rds_proxy">rds_proxy</a>
|
3101
3158
|
|
3102
3159
|
RdsProxy resource type.
|
@@ -3506,7 +3563,7 @@ end
|
|
3506
3563
|
```
|
3507
3564
|
|
3508
3565
|
|
3509
|
-
### its(:acl_grants_count), its(:acl_owner), its(:cors_rules_count), its(:name), its(:creation_date)
|
3566
|
+
### its(:acl_grants_count), its(:acl_owner), its(:cors_rules_count), its(:name), its(:creation_date), its(:bucket_region)
|
3510
3567
|
### :unlock: Advanced use
|
3511
3568
|
|
3512
3569
|
`s3_bucket` can use `Aws::S3::Bucket` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Bucket.html).
|
@@ -3591,7 +3648,7 @@ end
|
|
3591
3648
|
```
|
3592
3649
|
|
3593
3650
|
|
3594
|
-
### its(:inbound_rule_count), its(:outbound_rule_count), its(:inbound_permissions_count), its(:outbound_permissions_count), its(:
|
3651
|
+
### 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)
|
3595
3652
|
### :unlock: Advanced use
|
3596
3653
|
|
3597
3654
|
`security_group` can use `Aws::EC2::SecurityGroup` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/SecurityGroup.html).
|
@@ -3759,7 +3816,7 @@ end
|
|
3759
3816
|
```
|
3760
3817
|
|
3761
3818
|
|
3762
|
-
### its(:name), its(:type), its(:key_id), its(:last_modified_date), its(:last_modified_user), its(:description), its(:allowed_pattern), its(:version), its(:tier), its(:policies), its(:data_type)
|
3819
|
+
### its(:name), its(:arn), its(:type), its(:key_id), its(:last_modified_date), its(:last_modified_user), its(:description), its(:allowed_pattern), its(:version), its(:tier), its(:policies), its(:data_type)
|
3763
3820
|
### :unlock: Advanced use
|
3764
3821
|
|
3765
3822
|
```ruby
|
@@ -3852,7 +3909,7 @@ end
|
|
3852
3909
|
```
|
3853
3910
|
|
3854
3911
|
|
3855
|
-
### 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)
|
3912
|
+
### 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)
|
3856
3913
|
## <a name="transit_gateway">transit_gateway</a>
|
3857
3914
|
|
3858
3915
|
TransitGateway resource type.
|
@@ -3884,6 +3941,27 @@ end
|
|
3884
3941
|
|
3885
3942
|
### have_attachment
|
3886
3943
|
|
3944
|
+
#### using attachment id
|
3945
|
+
```ruby
|
3946
|
+
describe transit_gateway('tgw-1234567890abcdefg') do
|
3947
|
+
it { should have_attachment('tgw-attach-1234567890abcdefg') }
|
3948
|
+
end
|
3949
|
+
```
|
3950
|
+
|
3951
|
+
#### using attachment name
|
3952
|
+
```ruby
|
3953
|
+
describe transit_gateway('tgw-1234567890abcdefg') do
|
3954
|
+
it { should have_attachment('my-prod-tgw-attachment') }
|
3955
|
+
end
|
3956
|
+
```
|
3957
|
+
|
3958
|
+
#### using regular expression attachment name
|
3959
|
+
```ruby
|
3960
|
+
describe transit_gateway('tgw-1234567890abcdefg') do
|
3961
|
+
it { should have_attachment(/^my-\w+-tgw-attachment$/) }
|
3962
|
+
end
|
3963
|
+
```
|
3964
|
+
|
3887
3965
|
### have_tag
|
3888
3966
|
|
3889
3967
|
### its(:transit_gateway_id), its(:transit_gateway_arn), its(:state), its(:owner_id), its(:description), its(:creation_time)
|
@@ -3970,7 +4048,7 @@ end
|
|
3970
4048
|
```
|
3971
4049
|
|
3972
4050
|
|
3973
|
-
### its(:
|
4051
|
+
### 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)
|
3974
4052
|
### :unlock: Advanced use
|
3975
4053
|
|
3976
4054
|
`vpc` can use `Aws::EC2::Vpc` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Vpc.html).
|
@@ -4061,7 +4139,7 @@ end
|
|
4061
4139
|
```
|
4062
4140
|
|
4063
4141
|
|
4064
|
-
### 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)
|
4142
|
+
### 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)
|
4065
4143
|
### :unlock: Advanced use
|
4066
4144
|
|
4067
4145
|
`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).
|
@@ -4106,7 +4184,7 @@ end
|
|
4106
4184
|
```
|
4107
4185
|
|
4108
4186
|
|
4109
|
-
### its(:
|
4187
|
+
### 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)
|
4110
4188
|
## <a name="vpn_gateway">vpn_gateway</a>
|
4111
4189
|
|
4112
4190
|
VpnGateway resource type.
|
@@ -4147,7 +4225,7 @@ describe vpn_gateway('my-vpn-gateway') do
|
|
4147
4225
|
end
|
4148
4226
|
```
|
4149
4227
|
|
4150
|
-
### its(:
|
4228
|
+
### its(:amazon_side_asn), its(:vpn_gateway_id), its(:state), its(:type), its(:availability_zone)
|
4151
4229
|
## <a name="waf_web_acl">waf_web_acl</a>
|
4152
4230
|
|
4153
4231
|
WafWebAcl resource type.
|
@@ -65,7 +65,7 @@ module Awspec
|
|
65
65
|
types_for_generate_all = %w[
|
66
66
|
cloudwatch_alarm cloudwatch_event directconnect ebs efs
|
67
67
|
elasticsearch iam_group iam_policy iam_role iam_user kms lambda
|
68
|
-
acm cloudwatch_logs eip codebuild elasticache
|
68
|
+
acm cloudwatch_logs eip codebuild elasticache managed_prefix_list
|
69
69
|
]
|
70
70
|
|
71
71
|
types_for_generate_all.each do |type|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Awspec::Generator
|
4
|
+
module Doc
|
5
|
+
module Type
|
6
|
+
class ManagedPrefixList < Base
|
7
|
+
def initialize
|
8
|
+
super
|
9
|
+
@type_name = 'ManagedPrefixList'
|
10
|
+
@type = Awspec::Type::ManagedPrefixList.new('my-managed-prefix-list')
|
11
|
+
@ret = @type.resource_via_client
|
12
|
+
@matchers = ['its(:entries_count)']
|
13
|
+
@ignore_matchers = []
|
14
|
+
@describes = []
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|