awspec 1.30.0 → 1.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ac4e770831b2f9127704f76b94a1f99d2adb29e18eb243fa9fc32f7834c4486
4
- data.tar.gz: '088995fff7e66a7892804df42ecaf10488cd1239763f3ce140a4c25a1dfd98ed'
3
+ metadata.gz: 1f4858ddad3b4d257dd2ddf27129f46cefc9075ed790c10d95400f0f4bf355b0
4
+ data.tar.gz: fd8671e61f531633324ba97bdba6240f6977145b92773b1462affe38846fafa6
5
5
  SHA512:
6
- metadata.gz: 60535094ab52fc898f50c8a8cc161e63b77faf6e4999efd0eaf9ca9f0a42353c65af944031ac5bdc724d0ac2e68c3c97e732b8f2a6402e4c47e821c33bbbd753
7
- data.tar.gz: 93e44185ee31546e493e6cd2302832a725975a368a013377a7a48a6f8c6201e6d7d27be14a5750ec6950ad886f4c3b04b6b7a1c1c0825959667c7157797f6bab
6
+ metadata.gz: e549e39e0594bfd69b27437d1af8925c9c83e2a70af17289da0986866e9c90ace0b9158d5dc80ebbc3635a099775063a28c10435236824a4a359c1dd4e23e5b9
7
+ data.tar.gz: 060e22540894d93a34233fe4ab27f70fe831e399204187831ef0cd5682113102c23015ef0f4e5097f26a269fd6841132b44d9e7c25100eaf48ea0b4df5cee23f
@@ -35,14 +35,11 @@ jobs:
35
35
  fail-fast: false
36
36
  matrix:
37
37
  ruby-version:
38
- - '2.3'
39
- - '2.4'
40
- - '2.5'
41
- - '2.6'
42
- - '2.7'
43
38
  - '3.0'
44
39
  - '3.1'
45
40
  - '3.2'
41
+ - '3.3'
42
+ - '3.4'
46
43
  runs-on: ubuntu-latest
47
44
  env:
48
45
  DISABLE_AWS_CLIENT_CHECK: true
data/Rakefile CHANGED
@@ -6,7 +6,6 @@ begin
6
6
  require 'rspec'
7
7
  require 'rspec/core'
8
8
  require 'rspec/core/rake_task'
9
- require 'octorelease' unless ENV['CI']
10
9
  require 'parallel'
11
10
  require 'rubocop/rake_task'
12
11
  rescue LoadError
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 = '>= 2.3'
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'
@@ -1 +1,15 @@
1
1
  ### exist
2
+
3
+ ```ruby
4
+ describe codebuild('my-codebuild1') do
5
+ it { should exist }
6
+ end
7
+ ```
8
+
9
+ ### have_tag
10
+
11
+ ```ruby
12
+ describe codebuild('my-codebuild1') do
13
+ it { should have_tag('env').value('dev') }
14
+ end
15
+ ```
@@ -174,7 +174,7 @@ describe alb('my-alb') do
174
174
  end
175
175
  ```
176
176
 
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)
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)
178
178
  ## <a name="alb_listener">alb_listener</a>
179
179
 
180
180
  AlbListener resource type.
@@ -279,7 +279,7 @@ end
279
279
 
280
280
  ### have_tag
281
281
 
282
- ### its(:architecture), its(:creation_date), its(:image_id), its(:image_location), its(:image_type), its(:public), its(:kernel_id), its(:owner_id), its(:platform), its(:platform_details), its(:usage_operation), its(:ramdisk_id), its(:state), 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)
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)
283
283
  ### :unlock: Advanced use
284
284
 
285
285
  `ami` can use `Aws::EC2::Image` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Image.html).
@@ -366,7 +366,7 @@ describe autoscaling_group('my-auto-scaling-group') do
366
366
  end
367
367
  ```
368
368
 
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)
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)
370
370
  ## <a name="batch_compute_environment">batch_compute_environment</a>
371
371
 
372
372
  BatchComputeEnvironment resource type.
@@ -405,7 +405,7 @@ end
405
405
 
406
406
  ### be_unmanaged
407
407
 
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)
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)
409
409
  ## <a name="batch_job_definition">batch_job_definition</a>
410
410
 
411
411
  BatchJobDefinition resource type.
@@ -467,7 +467,7 @@ describe cloudformation_stack('my-cloudformation-stack') do
467
467
  end
468
468
  ```
469
469
 
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)
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)
471
471
  ## <a name="cloudfront_distribution">cloudfront_distribution</a>
472
472
 
473
473
  CloudfrontDistribution resource type.
@@ -545,7 +545,7 @@ describe cloudfront_distribution('123456789zyxw.cloudfront.net') do
545
545
  end
546
546
  ```
547
547
 
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)
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)
549
549
  ## <a name="cloudtrail">cloudtrail</a>
550
550
 
551
551
  Cloudtrail resource type.
@@ -737,7 +737,22 @@ Codebuild resource type.
737
737
 
738
738
  ### exist
739
739
 
740
+ ```ruby
741
+ describe codebuild('my-codebuild1') do
742
+ it { should exist }
743
+ end
744
+ ```
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
+ ```
740
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)
741
756
  ## <a name="codedeploy">codedeploy</a>
742
757
 
743
758
  Codedeploy resource type.
@@ -824,7 +839,7 @@ end
824
839
  ```
825
840
 
826
841
 
827
- ### its(:bgp_asn), its(:customer_gateway_id), its(:ip_address), its(:certificate_arn), its(:state), its(:type), its(:device_name), its(:tags)
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)
828
843
  ## <a name="directconnect_virtual_interface">directconnect_virtual_interface</a>
829
844
 
830
845
  DirectconnectVirtualInterface resource type.
@@ -896,7 +911,7 @@ end
896
911
  ```
897
912
 
898
913
 
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)
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)
900
915
  ### :unlock: Advanced use
901
916
 
902
917
  `dynamodb_table` can use `Aws::DynamoDB::Table` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/DynamoDB/Table.html).
@@ -956,7 +971,7 @@ end
956
971
  ```
957
972
 
958
973
 
959
- ### its(:availability_zone), its(:create_time), its(:encrypted), its(:kms_key_id), its(:outpost_arn), its(:size), its(:snapshot_id), its(:state), its(:volume_id), its(:iops), its(:volume_type), its(:fast_restored), its(:multi_attach_enabled), its(:throughput), its(:sse_type)
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)
960
975
  ### :unlock: Advanced use
961
976
 
962
977
  `ebs` can use `Aws::EC2::Volume` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Volume.html).
@@ -1142,7 +1157,7 @@ end
1142
1157
  ```
1143
1158
 
1144
1159
 
1145
- ### its(:ami_launch_index), its(:image_id), its(:instance_id), its(:instance_type), its(:kernel_id), its(:key_name), its(:launch_time), its(:monitoring), its(:placement), its(:platform), its(:private_dns_name), its(:private_ip_address), its(:product_codes), its(:public_dns_name), its(:public_ip_address), its(:ramdisk_id), its(:state_transition_reason), its(:subnet_id), its(:vpc_id), 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)
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)
1146
1161
  ### :unlock: Advanced use
1147
1162
 
1148
1163
  `ec2` can use `Aws::EC2::Instance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Instance.html).
@@ -1293,7 +1308,7 @@ describe ecs_service('my-ecs-service'), cluster: 'my-ecs-cluster' do
1293
1308
  end
1294
1309
  ```
1295
1310
 
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)
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)
1297
1312
  ## <a name="ecs_task_definition">ecs_task_definition</a>
1298
1313
 
1299
1314
  ECS Task Definition resource type.
@@ -1315,7 +1330,7 @@ describe ecs_task_definition('my-ecs-task-definition') do
1315
1330
  end
1316
1331
  ```
1317
1332
 
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)
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)
1319
1334
  ## <a name="efs">efs</a>
1320
1335
 
1321
1336
  EFS resource type.
@@ -1368,7 +1383,7 @@ describe eip('123.0.456.789') do
1368
1383
  end
1369
1384
  ```
1370
1385
 
1371
- ### its(:instance_id), its(:public_ip), 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)
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)
1372
1387
  ## <a name="eks">eks</a>
1373
1388
 
1374
1389
  Eks resource type.
@@ -1389,7 +1404,7 @@ describe eks('my-eks') do
1389
1404
  end
1390
1405
  ```
1391
1406
 
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)
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)
1393
1408
  ## <a name="eks_nodegroup">eks_nodegroup</a>
1394
1409
 
1395
1410
  EksNodegroup resource type.
@@ -1448,7 +1463,7 @@ end
1448
1463
  ```
1449
1464
 
1450
1465
 
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)
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)
1452
1467
  ## <a name="elasticache">elasticache</a>
1453
1468
 
1454
1469
  Elasticache resource type.
@@ -2282,7 +2297,7 @@ DOC
2282
2297
  end
2283
2298
  ```
2284
2299
 
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)
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)
2286
2301
  ## <a name="lambda">lambda</a>
2287
2302
 
2288
2303
  Lambda resource type.
@@ -2411,7 +2426,7 @@ describe launch_template('my-launch-template') do
2411
2426
  end
2412
2427
  ```
2413
2428
 
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)
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)
2415
2430
  ## <a name="managed_prefix_list">managed_prefix_list</a>
2416
2431
 
2417
2432
  ManagedPrefixList resource type.
@@ -2719,7 +2734,7 @@ describe network_interface('eni-12ab3cde') do
2719
2734
  end
2720
2735
  ```
2721
2736
 
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)
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)
2723
2738
  ## <a name="nlb">nlb</a>
2724
2739
 
2725
2740
  NLB resource type.
@@ -2770,7 +2785,7 @@ describe nlb('my-nlb') do
2770
2785
  end
2771
2786
  ```
2772
2787
 
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)
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)
2774
2789
  ## <a name="nlb_listener">nlb_listener</a>
2775
2790
 
2776
2791
  NlbListener resource type.
@@ -2947,7 +2962,7 @@ end
2947
2962
  ```
2948
2963
 
2949
2964
 
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)
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)
2951
2966
  ### :unlock: Advanced use
2952
2967
 
2953
2968
  `rds` can use `Aws::RDS::DBInstance` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/RDS/DBInstance.html).
@@ -2968,7 +2983,7 @@ end
2968
2983
 
2969
2984
  ## <a name="rds_db_cluster">rds_db_cluster</a>
2970
2985
 
2971
- RdsDbCluster resource type.
2986
+ RdsDBCluster resource type.
2972
2987
 
2973
2988
  ```ruby
2974
2989
  describe rds_db_cluster('my-rds-db-cluster') do
@@ -3020,10 +3035,10 @@ describe rds_db_cluster('my-rds-db-cluster') do
3020
3035
  end
3021
3036
  ```
3022
3037
 
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)
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)
3024
3039
  ## <a name="rds_db_cluster_parameter_group">rds_db_cluster_parameter_group</a>
3025
3040
 
3026
- RdsDbClusterParameterGroup resource type.
3041
+ RdsDBClusterParameterGroup resource type.
3027
3042
 
3028
3043
  ```ruby
3029
3044
  describe rds_db_cluster_parameter_group('my-rds-db-cluster-parameter-group') do
@@ -3044,7 +3059,7 @@ end
3044
3059
 
3045
3060
  ## <a name="rds_db_parameter_group">rds_db_parameter_group</a>
3046
3061
 
3047
- RdsDbParameterGroup resource type.
3062
+ RdsDBParameterGroup resource type.
3048
3063
 
3049
3064
  ```ruby
3050
3065
  describe rds_db_parameter_group('my-rds-db-parameter-group') do
@@ -3064,7 +3079,7 @@ end
3064
3079
 
3065
3080
  ## <a name="rds_db_subnet_group">rds_db_subnet_group</a>
3066
3081
 
3067
- RdsDbSubnetGroup resource type.
3082
+ RdsDBSubnetGroup resource type.
3068
3083
 
3069
3084
  ### exist
3070
3085
 
@@ -3138,7 +3153,7 @@ describe rds_global_cluster('my-rds-global-cluster') do
3138
3153
  end
3139
3154
  ```
3140
3155
 
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)
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)
3142
3157
  ## <a name="rds_proxy">rds_proxy</a>
3143
3158
 
3144
3159
  RdsProxy resource type.
@@ -3548,7 +3563,7 @@ end
3548
3563
  ```
3549
3564
 
3550
3565
 
3551
- ### 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)
3552
3567
  ### :unlock: Advanced use
3553
3568
 
3554
3569
  `s3_bucket` can use `Aws::S3::Bucket` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Bucket.html).
@@ -3633,7 +3648,7 @@ end
3633
3648
  ```
3634
3649
 
3635
3650
 
3636
- ### its(:inbound_rule_count), its(:outbound_rule_count), its(:inbound_permissions_count), its(:outbound_permissions_count), its(:description), its(:group_name), its(:owner_id), its(:group_id), its(:vpc_id)
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)
3637
3652
  ### :unlock: Advanced use
3638
3653
 
3639
3654
  `security_group` can use `Aws::EC2::SecurityGroup` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/SecurityGroup.html).
@@ -4033,7 +4048,7 @@ end
4033
4048
  ```
4034
4049
 
4035
4050
 
4036
- ### its(:cidr_block), its(:dhcp_options_id), its(:state), its(:vpc_id), its(:owner_id), its(:instance_tenancy), its(:ipv_6_cidr_block_association_set), its(:cidr_block_association_set), its(:is_default)
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)
4037
4052
  ### :unlock: Advanced use
4038
4053
 
4039
4054
  `vpc` can use `Aws::EC2::Vpc` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Vpc.html).
@@ -4124,7 +4139,7 @@ end
4124
4139
  ```
4125
4140
 
4126
4141
 
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)
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)
4128
4143
  ### :unlock: Advanced use
4129
4144
 
4130
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).
@@ -4169,7 +4184,7 @@ end
4169
4184
  ```
4170
4185
 
4171
4186
 
4172
- ### its(:customer_gateway_configuration), its(:customer_gateway_id), its(:category), its(:state), its(:type), its(:vpn_connection_id), its(:vpn_gateway_id), its(:transit_gateway_id), its(:core_network_arn), its(:core_network_attachment_arn), its(:gateway_association_state), its(:options), its(:routes), its(:vgw_telemetry)
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)
4173
4188
  ## <a name="vpn_gateway">vpn_gateway</a>
4174
4189
 
4175
4190
  VpnGateway resource type.
@@ -4210,7 +4225,7 @@ describe vpn_gateway('my-vpn-gateway') do
4210
4225
  end
4211
4226
  ```
4212
4227
 
4213
- ### its(:availability_zone), its(:state), its(:type), its(:vpn_gateway_id), its(:amazon_side_asn)
4228
+ ### its(:amazon_side_asn), its(:vpn_gateway_id), its(:state), its(:type), its(:availability_zone)
4214
4229
  ## <a name="waf_web_acl">waf_web_acl</a>
4215
4230
 
4216
4231
  WafWebAcl resource type.
@@ -3,16 +3,16 @@
3
3
  module Awspec::Generator
4
4
  module Doc
5
5
  module Type
6
- class RdsDbCluster < Base
6
+ class RdsDBCluster < Base
7
7
  def initialize
8
8
  super
9
- @type_name = 'RdsDbCluster'
10
- @type = Awspec::Type::RdsDbCluster.new('my-rds-db-cluster')
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::RdsDbCluster::STATES.map { |state| "be_#{state.tr('-', '_')}" }.join(', ')
13
+ Awspec::Type::RdsDBCluster::STATES.map { |state| "be_#{state.tr('-', '_')}" }.join(', ')
14
14
  ]
15
- @ignore_matchers = Awspec::Type::RdsDbCluster::STATES.map { |state| "be_#{state.tr('-', '_')}" }
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 RdsDbClusterParameterGroup < Base
6
+ class RdsDBClusterParameterGroup < Base
7
7
  def initialize
8
8
  super
9
- @type = Awspec::Type::RdsDbClusterParameterGroup.new('my-rds-db-cluster-parameter-group')
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 RdsDbParameterGroup < Base
6
+ class RdsDBParameterGroup < Base
7
7
  def initialize
8
8
  super
9
- @type = Awspec::Type::RdsDbParameterGroup.new('my-rds-db-parameter-group')
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 RdsDbSubnetGroup < Base
6
+ class RdsDBSubnetGroup < Base
7
7
  def initialize
8
8
  super
9
- @type_name = 'RdsDbSubnetGroup'
10
- @type = Awspec::Type::RdsDbSubnetGroup.new('my-rds-db-subnet-group')
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 = []
@@ -27,7 +27,7 @@ module Awspec::Generator
27
27
  describe iam_group('<%= group.group_name %>') do
28
28
  it { should exist }
29
29
  its(:arn) { should eq '<%= group.arn %>' }
30
- its(:create_date) { should eq Time.parse('<%= group.create_date %>') }
30
+ its(:create_date) { should eq Time.parse('<%= group.create_date.utc %>') }
31
31
  <% select_iam_policy_by_group_name(group.group_name).each do |policy| %> it { should have_iam_policy('<%= policy.policy_name %>') }
32
32
  <% end %>
33
33
  <%- inline_policies.each do |line| -%>
@@ -23,7 +23,7 @@ describe iam_policy('<%= policy.policy_name %>') do
23
23
  it { should_not be_attachable }
24
24
  <%- end -%>
25
25
  its(:arn) { should eq '<%= policy.arn %>' }
26
- its(:update_date) { should eq Time.parse('<%= policy.update_date %>') }
26
+ its(:update_date) { should eq Time.parse('<%= policy.update_date.utc %>') }
27
27
  its(:attachment_count) { should eq <%= policy.attachment_count %> }
28
28
  <%- users = select_attached_users(policy.arn) -%>
29
29
  <%- if users.empty? -%>
@@ -27,7 +27,7 @@ module Awspec::Generator
27
27
  describe iam_role('<%= role.role_name %>') do
28
28
  it { should exist }
29
29
  its(:arn) { should eq '<%= role.arn %>' }
30
- its(:create_date) { should eq Time.parse('<%= role.create_date %>') }
30
+ its(:create_date) { should eq Time.parse('<%= role.create_date.utc %>') }
31
31
  <% select_iam_policy_by_role_name(role.role_name).each do |policy| %> it { should have_iam_policy('<%= policy.policy_name %>') }
32
32
  <% end %>
33
33
  <%- inline_policies.each do |line| -%>
@@ -27,7 +27,7 @@ module Awspec::Generator
27
27
  describe iam_user('<%= user.user_name %>') do
28
28
  it { should exist }
29
29
  its(:arn) { should eq '<%= user.arn %>' }
30
- its(:create_date) { should eq Time.parse('<%= user.create_date %>') }
30
+ its(:create_date) { should eq Time.parse('<%= user.create_date.utc %>') }
31
31
  <% select_iam_policy_by_user_name(user.user_name).each do |policy| %> it { should have_iam_policy('<%= policy.policy_name %>') }
32
32
  <% end %>
33
33
  <%- inline_policies.each do |line| -%>
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Awspec::Generator
4
4
  module Spec
5
- class RdsDbCluster
5
+ class RdsDBCluster
6
6
  include Awspec::Helper::Finder
7
7
  def generate(db_cluster_identifier)
8
8
  cluster = find_db_cluster(db_cluster_identifier)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Awspec::Generator
4
4
  module Spec
5
- class RdsDbClusterParameterGroup
5
+ class RdsDBClusterParameterGroup
6
6
  include Awspec::Helper::Finder
7
7
  def generate_by_parameter_group(parameter_group)
8
8
  @parameter_group = parameter_group
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Awspec::Generator
4
4
  module Spec
5
- class RdsDbParameterGroup
5
+ class RdsDBParameterGroup
6
6
  include Awspec::Helper::Finder
7
7
  def generate_by_parameter_group(parameter_group)
8
8
  @parameter_group = parameter_group
@@ -4,10 +4,8 @@ module Awspec::Helper
4
4
  module Finder
5
5
  module Codebuild
6
6
  def find_codebuild_project(id)
7
- projects = select_all_codebuild_projects.select do |project|
8
- project == id
9
- end
10
- projects.single_resource(id)
7
+ res = codebuild_client.batch_get_projects({ names: [id] })
8
+ res.projects.single_resource(id)
11
9
  end
12
10
 
13
11
  def select_all_codebuild_projects
@@ -4,9 +4,7 @@ module Awspec::Helper
4
4
  module Finder
5
5
  module VpcEndpoints
6
6
  def find_vpc_endpoint(id)
7
- res = ec2_client.describe_vpc_endpoints({
8
- filters: [{ name: 'vpc-endpoint-id', values: [id] }]
9
- })
7
+ res = ec2_client.describe_vpc_endpoints({ vpc_endpoint_ids: [id] })
10
8
 
11
9
  ret = res.vpc_endpoints.select do |vpce|
12
10
  vpce.vpc_endpoint_id == id
@@ -34,7 +34,7 @@ RSpec::Matchers.define :belong_to_subnet do |subnet_id|
34
34
  end
35
35
 
36
36
  # RDS DB Subnet Group
37
- if type.instance_of?(Awspec::Type::RdsDbSubnetGroup)
37
+ if type.instance_of?(Awspec::Type::RdsDBSubnetGroup)
38
38
  subnets = type.resource_via_client[:subnets]
39
39
  ret = subnets.find do |s|
40
40
  s[:subnet_identifier] == subnet_id
@@ -2,6 +2,62 @@
2
2
 
3
3
  Aws.config[:codebuild] = {
4
4
  stub_responses: {
5
+ batch_get_projects: {
6
+ projects: [
7
+ {
8
+ name: 'my-codebuild1',
9
+ arn: 'arn:aws:codebuild:ap-northeast-1:123456789012:project/my-codebuild1',
10
+ source: {
11
+ type: 'S3',
12
+ location: 'example-bucket/test.zip',
13
+ insecure_ssl: false
14
+ },
15
+ secondary_sources: [],
16
+ secondary_source_versions: [],
17
+ artifacts: {
18
+ type: 'NO_ARTIFACTS'
19
+ },
20
+ secondary_artifacts: [],
21
+ cache: {
22
+ type: 'NO_CACHE'
23
+ },
24
+ environment: {
25
+ type: 'LINUX_CONTAINER',
26
+ image: 'aws/codebuild/amazonlinux2-x86_64-standard:5.0',
27
+ compute_type: 'BUILD_GENERAL1_SMALL',
28
+ environment_variables: [],
29
+ privileged_mode: false,
30
+ image_pull_credentials_type: 'CODEBUILD'
31
+ },
32
+ service_role: 'arn:aws:iam::123456789012:role/service-role/codebuild-my-codebuild1-service-role',
33
+ timeout_in_minutes: 60,
34
+ queued_timeout_in_minutes: 480,
35
+ encryption_key: 'arn:aws:kms:ap-northeast-1:123456789012:alias/aws/s3',
36
+ tags: [
37
+ {
38
+ key: 'env',
39
+ value: 'dev'
40
+ }
41
+ ],
42
+ created: Time.local(2024),
43
+ last_modified: Time.local(2024),
44
+ badge: {
45
+ badge_enabled: false
46
+ },
47
+ logs_config: {
48
+ cloud_watch_logs: {
49
+ status: 'ENABLED'
50
+ },
51
+ s3_logs: {
52
+ status: 'DISABLED',
53
+ encryption_disabled: false
54
+ }
55
+ },
56
+ project_visibility: 'PRIVATE'
57
+ }
58
+ ],
59
+ projects_not_found: []
60
+ },
5
61
  list_projects: {
6
62
  projects: %w[
7
63
  my-codebuild1
@@ -2,6 +2,9 @@
2
2
 
3
3
  module Awspec::Type
4
4
  class Codebuild < ResourceBase
5
+ aws_resource Aws::CodeBuild::Types::Project
6
+ tags_allowed
7
+
5
8
  def resource_via_client
6
9
  @resource_via_client ||= find_codebuild_project(@display_name)
7
10
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Awspec::Type
4
- class RdsDbCluster < ResourceBase
4
+ class RdsDBCluster < ResourceBase
5
5
  aws_resource Aws::RDS::Types::DBCluster
6
6
 
7
7
  def resource_via_client
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Awspec::Type
4
- class RdsDbClusterParameterGroup < ResourceBase
4
+ class RdsDBClusterParameterGroup < ResourceBase
5
5
  def resource_via_client
6
6
  return @resource_via_client if @resource_via_client
7
7
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Awspec::Type
4
- class InvalidRdsDbParameter < StandardError
4
+ class InvalidRdsDBParameter < StandardError
5
5
  ##
6
6
  # Overrides the superclass initialize method to include more information
7
7
  # and default error message.
@@ -19,7 +19,7 @@ module Awspec::Type
19
19
  ##
20
20
  # Thanks to AWS for creating parameters names like
21
21
  # 'rds.accepted_password_auth_method', which would be caught as method 'rds'
22
- # by method_missing in RdsDbParameterGroup class, this class was created
22
+ # by method_missing in RdsDBParameterGroup class, this class was created
23
23
  # See https://github.com/k1LoW/awspec/issues/527 for more details
24
24
  def initialize(params)
25
25
  @params = params
@@ -33,11 +33,11 @@ module Awspec::Type
33
33
  param_name = name.to_sym
34
34
  return @params[param_name] if @params.include?(param_name)
35
35
 
36
- raise InvalidRdsDbParameter, name
36
+ raise InvalidRdsDBParameter, name
37
37
  end
38
38
  end
39
39
 
40
- class RdsDbParameterGroup < ResourceBase
40
+ class RdsDBParameterGroup < ResourceBase
41
41
  def resource_via_client
42
42
  return @resource_via_client if @resource_via_client
43
43
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Awspec::Type
4
- class RdsDbSubnetGroup < ResourceBase
4
+ class RdsDBSubnetGroup < ResourceBase
5
5
  aws_resource Aws::RDS::Types::DBSubnetGroup
6
6
 
7
7
  def resource_via_client
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Awspec
4
- VERSION = '1.30.0'
5
- end
4
+ VERSION = '1.31.0'
5
+ end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-04-16 00:00:00.000000000 Z
10
+ date: 2025-01-22 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: addressable
@@ -52,6 +51,20 @@ dependencies:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
53
  version: '3'
54
+ - !ruby/object:Gem::Dependency
55
+ name: base64
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 0.1.0
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 0.1.0
55
68
  - !ruby/object:Gem::Dependency
56
69
  name: dry-inflector
57
70
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +93,20 @@ dependencies:
80
93
  - - ">="
81
94
  - !ruby/object:Gem::Version
82
95
  version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: ostruct
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.6.1
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: 0.6.1
83
110
  - !ruby/object:Gem::Dependency
84
111
  name: rspec
85
112
  requirement: !ruby/object:Gem::Requirement
@@ -800,7 +827,6 @@ homepage: https://github.com/k1LoW/awspec
800
827
  licenses:
801
828
  - MIT
802
829
  metadata: {}
803
- post_install_message:
804
830
  rdoc_options: []
805
831
  require_paths:
806
832
  - lib
@@ -808,15 +834,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
808
834
  requirements:
809
835
  - - ">="
810
836
  - !ruby/object:Gem::Version
811
- version: '2.3'
837
+ version: '3.0'
812
838
  required_rubygems_version: !ruby/object:Gem::Requirement
813
839
  requirements:
814
840
  - - ">="
815
841
  - !ruby/object:Gem::Version
816
842
  version: '0'
817
843
  requirements: []
818
- rubygems_version: 3.4.19
819
- signing_key:
844
+ rubygems_version: 3.6.2
820
845
  specification_version: 4
821
846
  summary: RSpec tests for your AWS resources.
822
847
  test_files: []