aws-sdk-vpclattice 1.55.0 → 1.56.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: 4680bc19c2be51d197664ab89fad326eb055ab269798deecc18f3411cffc2659
4
- data.tar.gz: 82ce819d6608e20132e870c6bb8f7569fbc1ef95c999abf890ce641f003fcfd3
3
+ metadata.gz: c447de6f9c64650ab10f3f1c586bf54d2a375391ab947a7accde3f17b0ddd2af
4
+ data.tar.gz: 476040a2b484134122144c48ae2efa24e3506a4de361bef830634f74a70647d3
5
5
  SHA512:
6
- metadata.gz: d8e0f0f3d26c5d8b459252b86dddb9256411be62c9e23ee1c7949d15e24682a28e44ab05503349547e8fc6826cd2da61646024fc383a64244c6b55fcbcd52523
7
- data.tar.gz: 38860e690dce0c41608c16564fe67086318756820c6652a2de36b9f953a88ff71239d23db16d9a6bdef830d9ff473a7c4e876676e390f11a344f04a4fcbdca49
6
+ metadata.gz: 7a3e24fa03f16796a2f405794549caec68c4fa5facb708acff6a0ee580b4867af97b0dee9a093ac4db2342fefa73518622f788a8d887a20fc04fdd7d4424e88c
7
+ data.tar.gz: af5a10022e1ef59e5538c10b9556d1472156180e6be9b61ddb8360a19a407b944373c0df4ba7896b497187849c100f42829b0addf28fb6dd253ed6798f404969
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2026-09-17)
5
+ ------------------
6
+
7
+ * Feature - Adding support for CIDR Resource Configuration
8
+
4
9
  1.55.0 (2026-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.56.0
@@ -790,19 +790,34 @@ module Aws::VPCLattice
790
790
  #
791
791
  # * **ARN** - An Amazon Web Services resource.
792
792
  #
793
+ # * **CIDR** - A network segment, expressed as a range of IP addresses
794
+ # (a CIDR block). Use this type to share a portion of your network
795
+ # rather than an individual resource. A consumer accesses the
796
+ # resources within the CIDR range through a `Tunnel` VPC endpoint. You
797
+ # can't add a CIDR resource configuration to a service network. A
798
+ # CIDR resource configuration must be associated with a resource
799
+ # gateway whose DNS resolution is set to `IN_VPC`.
800
+ #
793
801
  # @option params [Array<String>] :port_ranges
794
- # (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to
795
- # access a resource configuration (for example: 1-65535). You can
796
- # separate port ranges using commas (for example: 1,2,22-30).
802
+ # (SINGLE, GROUP, CHILD, CIDR) The port ranges that a consumer can use
803
+ # to access a resource configuration (for example: 1-65535). You can
804
+ # separate port ranges using commas (for example: 1,2,22-30). To resolve
805
+ # DNS through a CIDR resource configuration, include port 53 in the port
806
+ # ranges.
797
807
  #
798
808
  # @option params [String] :protocol
799
- # (SINGLE, GROUP) The protocol accepted by the resource configuration.
809
+ # (SINGLE, GROUP, CIDR) The protocol accepted by the resource
810
+ # configuration. The default is `TCP`. `TCP_UDP` is supported only for
811
+ # CIDR resource configurations; specify it for a CIDR resource
812
+ # configuration to allow DNS resolution, which uses UDP.
800
813
  #
801
814
  # @option params [String] :resource_gateway_identifier
802
- # (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to
803
- # connect to the resource configuration. For a child resource
815
+ # (SINGLE, GROUP, ARN, CIDR) The ID or ARN of the resource gateway used
816
+ # to connect to the resource configuration. For a child resource
804
817
  # configuration, this value is inherited from the parent resource
805
- # configuration.
818
+ # configuration. For a CIDR resource configuration, the associated
819
+ # resource gateway must have its DNS resolution set to `IN_VPC` so that
820
+ # DNS queries resolve in the context of your VPC.
806
821
  #
807
822
  # @option params [String] :resource_configuration_group_identifier
808
823
  # (CHILD) The ID or ARN of the parent resource configuration of type
@@ -821,6 +836,16 @@ module Aws::VPCLattice
821
836
  # * **IP address** - For IPv4 and IPv6, only IP addresses in the VPC are
822
837
  # supported.
823
838
  #
839
+ # * **CIDR range** - For a resource configuration of type CIDR, specify
840
+ # a `cidrResource` with one or more `cidrRanges` (for example,
841
+ # `10.0.0.0/16`) that cover the IP addresses of the resources you want
842
+ # to make accessible. You can specify up to 10 ranges, using IPv4,
843
+ # IPv6, or both, and each range must include a prefix length. To
844
+ # represent your entire network, specify `0.0.0.0/0` (IPv4) or `::/0`
845
+ # (IPv6) as the only range. You can't use reserved ranges such as
846
+ # `169.254.0.0/16`, `100.64.0.0/10`, `224.0.0.0/4`, `fe80::/10`, or
847
+ # `ff00::/8`.
848
+ #
824
849
  # @option params [Boolean] :allow_association_to_shareable_service_network
825
850
  # (SINGLE, GROUP, ARN) Specifies whether the resource configuration can
826
851
  # be associated with a sharable service network. The default is false.
@@ -876,9 +901,9 @@ module Aws::VPCLattice
876
901
  #
877
902
  # resp = client.create_resource_configuration({
878
903
  # name: "ResourceConfigurationName", # required
879
- # type: "GROUP", # required, accepts GROUP, CHILD, SINGLE, ARN
904
+ # type: "GROUP", # required, accepts GROUP, CHILD, SINGLE, ARN, CIDR
880
905
  # port_ranges: ["PortRange"],
881
- # protocol: "TCP", # accepts TCP
906
+ # protocol: "TCP", # accepts TCP, TCP_UDP
882
907
  # resource_gateway_identifier: "ResourceGatewayIdentifier",
883
908
  # resource_configuration_group_identifier: "ResourceConfigurationIdentifier",
884
909
  # resource_configuration_definition: {
@@ -892,6 +917,9 @@ module Aws::VPCLattice
892
917
  # arn_resource: {
893
918
  # arn: "WildcardArn",
894
919
  # },
920
+ # cidr_resource: {
921
+ # cidr_ranges: ["CidrRange"],
922
+ # },
895
923
  # },
896
924
  # allow_association_to_shareable_service_network: false,
897
925
  # custom_domain_name: "DomainName",
@@ -910,15 +938,17 @@ module Aws::VPCLattice
910
938
  # resp.arn #=> String
911
939
  # resp.resource_gateway_id #=> String
912
940
  # resp.resource_configuration_group_id #=> String
913
- # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
941
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN", "CIDR"
914
942
  # resp.port_ranges #=> Array
915
943
  # resp.port_ranges[0] #=> String
916
- # resp.protocol #=> String, one of "TCP"
944
+ # resp.protocol #=> String, one of "TCP", "TCP_UDP"
917
945
  # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
918
946
  # resp.resource_configuration_definition.dns_resource.domain_name #=> String
919
947
  # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
920
948
  # resp.resource_configuration_definition.ip_resource.ip_address #=> String
921
949
  # resp.resource_configuration_definition.arn_resource.arn #=> String
950
+ # resp.resource_configuration_definition.cidr_resource.cidr_ranges #=> Array
951
+ # resp.resource_configuration_definition.cidr_resource.cidr_ranges[0] #=> String
922
952
  # resp.allow_association_to_shareable_service_network #=> Boolean
923
953
  # resp.created_at #=> Time
924
954
  # resp.failure_reason #=> String
@@ -993,15 +1023,19 @@ module Aws::VPCLattice
993
1023
  #
994
1024
  # @option params [String] :resource_config_dns_resolution
995
1025
  # Indicates how DNS is resolved for resource configurations associated
996
- # to this resource gateway. ResourceConfigDnsResolution is set at
997
- # creation time and cannot be changed.
1026
+ # with this resource gateway. This value is set when you create the
1027
+ # resource gateway and can't be changed afterward. The default is
1028
+ # `PUBLIC`.
998
1029
  #
999
1030
  # * `IN_VPC` - DNS resolution occurs privately within the resource
1000
1031
  # gateway's VPC. DNS queries for resources behind this resource
1001
1032
  # gateway resolve using the DNS resolvers defined in the VPC's DHCP
1002
1033
  # option sets. Use this when your resource domain names are hosted in
1003
1034
  # private Route 53 hosted zones or on-premises DNS servers reachable
1004
- # from the VPC.
1035
+ # from the VPC. A CIDR resource configuration requires a resource
1036
+ # gateway that uses `IN_VPC`, and an `IN_VPC` resource gateway can't
1037
+ # be used for ARN resource configurations, so a single resource
1038
+ # gateway can't serve both ARN and CIDR resource configurations.
1005
1039
  #
1006
1040
  # * `PUBLIC` - DNS resolution occurs against public DNS resolvers. DNS
1007
1041
  # queries for resources behind this resource gateway resolve using
@@ -2465,17 +2499,19 @@ module Aws::VPCLattice
2465
2499
  # resp.arn #=> String
2466
2500
  # resp.resource_gateway_id #=> String
2467
2501
  # resp.resource_configuration_group_id #=> String
2468
- # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
2502
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN", "CIDR"
2469
2503
  # resp.allow_association_to_shareable_service_network #=> Boolean
2470
2504
  # resp.port_ranges #=> Array
2471
2505
  # resp.port_ranges[0] #=> String
2472
- # resp.protocol #=> String, one of "TCP"
2506
+ # resp.protocol #=> String, one of "TCP", "TCP_UDP"
2473
2507
  # resp.custom_domain_name #=> String
2474
2508
  # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
2475
2509
  # resp.resource_configuration_definition.dns_resource.domain_name #=> String
2476
2510
  # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
2477
2511
  # resp.resource_configuration_definition.ip_resource.ip_address #=> String
2478
2512
  # resp.resource_configuration_definition.arn_resource.arn #=> String
2513
+ # resp.resource_configuration_definition.cidr_resource.cidr_ranges #=> Array
2514
+ # resp.resource_configuration_definition.cidr_resource.cidr_ranges[0] #=> String
2479
2515
  # resp.created_at #=> Time
2480
2516
  # resp.amazon_managed #=> Boolean
2481
2517
  # resp.failure_reason #=> String
@@ -3182,7 +3218,7 @@ module Aws::VPCLattice
3182
3218
  # resp.items[0].arn #=> String
3183
3219
  # resp.items[0].resource_gateway_id #=> String
3184
3220
  # resp.items[0].resource_configuration_group_id #=> String
3185
- # resp.items[0].type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
3221
+ # resp.items[0].type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN", "CIDR"
3186
3222
  # resp.items[0].status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
3187
3223
  # resp.items[0].amazon_managed #=> Boolean
3188
3224
  # resp.items[0].created_at #=> Time
@@ -3252,6 +3288,9 @@ module Aws::VPCLattice
3252
3288
  # resp.items[0].vpc_endpoint_owner #=> String
3253
3289
  # resp.items[0].created_by #=> String
3254
3290
  # resp.items[0].created_at #=> Time
3291
+ # resp.items[0].payer_responsibility #=> Array
3292
+ # resp.items[0].payer_responsibility[0].scope #=> String, one of "ResourceGatewayCharges"
3293
+ # resp.items[0].payer_responsibility[0].payer_responsibility_type #=> String, one of "VpcEndpointAccount", "ResourceGatewayAccount"
3255
3294
  # resp.next_token #=> String
3256
3295
  #
3257
3296
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ListResourceEndpointAssociations AWS API Documentation
@@ -4234,6 +4273,9 @@ module Aws::VPCLattice
4234
4273
  # arn_resource: {
4235
4274
  # arn: "WildcardArn",
4236
4275
  # },
4276
+ # cidr_resource: {
4277
+ # cidr_ranges: ["CidrRange"],
4278
+ # },
4237
4279
  # },
4238
4280
  # allow_association_to_shareable_service_network: false,
4239
4281
  # port_ranges: ["PortRange"],
@@ -4246,16 +4288,18 @@ module Aws::VPCLattice
4246
4288
  # resp.arn #=> String
4247
4289
  # resp.resource_gateway_id #=> String
4248
4290
  # resp.resource_configuration_group_id #=> String
4249
- # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN"
4291
+ # resp.type #=> String, one of "GROUP", "CHILD", "SINGLE", "ARN", "CIDR"
4250
4292
  # resp.port_ranges #=> Array
4251
4293
  # resp.port_ranges[0] #=> String
4252
4294
  # resp.allow_association_to_shareable_service_network #=> Boolean
4253
- # resp.protocol #=> String, one of "TCP"
4295
+ # resp.protocol #=> String, one of "TCP", "TCP_UDP"
4254
4296
  # resp.status #=> String, one of "ACTIVE", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_FAILED", "DELETE_FAILED"
4255
4297
  # resp.resource_configuration_definition.dns_resource.domain_name #=> String
4256
4298
  # resp.resource_configuration_definition.dns_resource.ip_address_type #=> String, one of "IPV4", "IPV6", "DUALSTACK"
4257
4299
  # resp.resource_configuration_definition.ip_resource.ip_address #=> String
4258
4300
  # resp.resource_configuration_definition.arn_resource.arn #=> String
4301
+ # resp.resource_configuration_definition.cidr_resource.cidr_ranges #=> Array
4302
+ # resp.resource_configuration_definition.cidr_resource.cidr_ranges[0] #=> String
4259
4303
  #
4260
4304
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/UpdateResourceConfiguration AWS API Documentation
4261
4305
  #
@@ -4680,7 +4724,7 @@ module Aws::VPCLattice
4680
4724
  tracer: tracer
4681
4725
  )
4682
4726
  context[:gem_name] = 'aws-sdk-vpclattice'
4683
- context[:gem_version] = '1.55.0'
4727
+ context[:gem_version] = '1.56.0'
4684
4728
  Seahorse::Client::Request.new(handlers, context)
4685
4729
  end
4686
4730
 
@@ -31,6 +31,9 @@ module Aws::VPCLattice
31
31
  BatchUpdateRuleResponse = Shapes::StructureShape.new(name: 'BatchUpdateRuleResponse')
32
32
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
33
33
  CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
34
+ CidrRange = Shapes::StringShape.new(name: 'CidrRange')
35
+ CidrRangeList = Shapes::ListShape.new(name: 'CidrRangeList')
36
+ CidrResource = Shapes::StructureShape.new(name: 'CidrResource')
34
37
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
35
38
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
36
39
  CreateAccessLogSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateAccessLogSubscriptionRequest')
@@ -205,6 +208,10 @@ module Aws::VPCLattice
205
208
  PathMatchExact = Shapes::StringShape.new(name: 'PathMatchExact')
206
209
  PathMatchPrefix = Shapes::StringShape.new(name: 'PathMatchPrefix')
207
210
  PathMatchType = Shapes::UnionShape.new(name: 'PathMatchType')
211
+ PayerResponsibilityEntry = Shapes::StructureShape.new(name: 'PayerResponsibilityEntry')
212
+ PayerResponsibilityList = Shapes::ListShape.new(name: 'PayerResponsibilityList')
213
+ PayerResponsibilityPayer = Shapes::StringShape.new(name: 'PayerResponsibilityPayer')
214
+ PayerResponsibilityScope = Shapes::StringShape.new(name: 'PayerResponsibilityScope')
208
215
  PolicyString = Shapes::StringShape.new(name: 'PolicyString')
209
216
  Port = Shapes::IntegerShape.new(name: 'Port')
210
217
  PortRange = Shapes::StringShape.new(name: 'PortRange')
@@ -401,6 +408,11 @@ module Aws::VPCLattice
401
408
  BatchUpdateRuleResponse.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: RuleUpdateFailureList, location_name: "unsuccessful"))
402
409
  BatchUpdateRuleResponse.struct_class = Types::BatchUpdateRuleResponse
403
410
 
411
+ CidrRangeList.member = Shapes::ShapeRef.new(shape: CidrRange)
412
+
413
+ CidrResource.add_member(:cidr_ranges, Shapes::ShapeRef.new(shape: CidrRangeList, location_name: "cidrRanges"))
414
+ CidrResource.struct_class = Types::CidrResource
415
+
404
416
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
405
417
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
406
418
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -1207,6 +1219,12 @@ module Aws::VPCLattice
1207
1219
  PathMatchType.add_member_subclass(:unknown, Types::PathMatchType::Unknown)
1208
1220
  PathMatchType.struct_class = Types::PathMatchType
1209
1221
 
1222
+ PayerResponsibilityEntry.add_member(:scope, Shapes::ShapeRef.new(shape: PayerResponsibilityScope, location_name: "scope"))
1223
+ PayerResponsibilityEntry.add_member(:payer_responsibility_type, Shapes::ShapeRef.new(shape: PayerResponsibilityPayer, location_name: "payerResponsibilityType"))
1224
+ PayerResponsibilityEntry.struct_class = Types::PayerResponsibilityEntry
1225
+
1226
+ PayerResponsibilityList.member = Shapes::ShapeRef.new(shape: PayerResponsibilityEntry)
1227
+
1210
1228
  PortRangeList.member = Shapes::ShapeRef.new(shape: PortRange)
1211
1229
 
1212
1230
  PrivateDnsSpecifiedDomainsList.member = Shapes::ShapeRef.new(shape: PrivateDnsSpecifiedDomain)
@@ -1238,10 +1256,12 @@ module Aws::VPCLattice
1238
1256
  ResourceConfigurationDefinition.add_member(:dns_resource, Shapes::ShapeRef.new(shape: DnsResource, location_name: "dnsResource"))
1239
1257
  ResourceConfigurationDefinition.add_member(:ip_resource, Shapes::ShapeRef.new(shape: IpResource, location_name: "ipResource"))
1240
1258
  ResourceConfigurationDefinition.add_member(:arn_resource, Shapes::ShapeRef.new(shape: ArnResource, location_name: "arnResource"))
1259
+ ResourceConfigurationDefinition.add_member(:cidr_resource, Shapes::ShapeRef.new(shape: CidrResource, location_name: "cidrResource"))
1241
1260
  ResourceConfigurationDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1242
1261
  ResourceConfigurationDefinition.add_member_subclass(:dns_resource, Types::ResourceConfigurationDefinition::DnsResource)
1243
1262
  ResourceConfigurationDefinition.add_member_subclass(:ip_resource, Types::ResourceConfigurationDefinition::IpResource)
1244
1263
  ResourceConfigurationDefinition.add_member_subclass(:arn_resource, Types::ResourceConfigurationDefinition::ArnResource)
1264
+ ResourceConfigurationDefinition.add_member_subclass(:cidr_resource, Types::ResourceConfigurationDefinition::CidrResource)
1245
1265
  ResourceConfigurationDefinition.add_member_subclass(:unknown, Types::ResourceConfigurationDefinition::Unknown)
1246
1266
  ResourceConfigurationDefinition.struct_class = Types::ResourceConfigurationDefinition
1247
1267
 
@@ -1273,6 +1293,7 @@ module Aws::VPCLattice
1273
1293
  ResourceEndpointAssociationSummary.add_member(:vpc_endpoint_owner, Shapes::ShapeRef.new(shape: VpcEndpointOwner, location_name: "vpcEndpointOwner"))
1274
1294
  ResourceEndpointAssociationSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: AccountId, location_name: "createdBy"))
1275
1295
  ResourceEndpointAssociationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1296
+ ResourceEndpointAssociationSummary.add_member(:payer_responsibility, Shapes::ShapeRef.new(shape: PayerResponsibilityList, location_name: "payerResponsibility"))
1276
1297
  ResourceEndpointAssociationSummary.struct_class = Types::ResourceEndpointAssociationSummary
1277
1298
 
1278
1299
  ResourceGatewayList.member = Shapes::ShapeRef.new(shape: ResourceGatewaySummary)
@@ -127,6 +127,21 @@ module Aws::VPCLattice
127
127
  include Aws::Structure
128
128
  end
129
129
 
130
+ # Describes a CIDR resource, which represents a network segment as one
131
+ # or more CIDR ranges.
132
+ #
133
+ # @!attribute [rw] cidr_ranges
134
+ # The CIDR ranges of the network segment, for example, `10.0.0.0/16`.
135
+ # @return [Array<String>]
136
+ #
137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/CidrResource AWS API Documentation
138
+ #
139
+ class CidrResource < Struct.new(
140
+ :cidr_ranges)
141
+ SENSITIVE = []
142
+ include Aws::Structure
143
+ end
144
+
130
145
  # The request conflicts with the current state of the resource. Updating
131
146
  # or deleting a resource can cause an inconsistent state.
132
147
  #
@@ -352,23 +367,38 @@ module Aws::VPCLattice
352
367
  # configuration.
353
368
  #
354
369
  # * **ARN** - An Amazon Web Services resource.
370
+ #
371
+ # * **CIDR** - A network segment, expressed as a range of IP addresses
372
+ # (a CIDR block). Use this type to share a portion of your network
373
+ # rather than an individual resource. A consumer accesses the
374
+ # resources within the CIDR range through a `Tunnel` VPC endpoint.
375
+ # You can't add a CIDR resource configuration to a service network.
376
+ # A CIDR resource configuration must be associated with a resource
377
+ # gateway whose DNS resolution is set to `IN_VPC`.
355
378
  # @return [String]
356
379
  #
357
380
  # @!attribute [rw] port_ranges
358
- # (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use
381
+ # (SINGLE, GROUP, CHILD, CIDR) The port ranges that a consumer can use
359
382
  # to access a resource configuration (for example: 1-65535). You can
360
- # separate port ranges using commas (for example: 1,2,22-30).
383
+ # separate port ranges using commas (for example: 1,2,22-30). To
384
+ # resolve DNS through a CIDR resource configuration, include port 53
385
+ # in the port ranges.
361
386
  # @return [Array<String>]
362
387
  #
363
388
  # @!attribute [rw] protocol
364
- # (SINGLE, GROUP) The protocol accepted by the resource configuration.
389
+ # (SINGLE, GROUP, CIDR) The protocol accepted by the resource
390
+ # configuration. The default is `TCP`. `TCP_UDP` is supported only for
391
+ # CIDR resource configurations; specify it for a CIDR resource
392
+ # configuration to allow DNS resolution, which uses UDP.
365
393
  # @return [String]
366
394
  #
367
395
  # @!attribute [rw] resource_gateway_identifier
368
- # (SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to
369
- # connect to the resource configuration. For a child resource
396
+ # (SINGLE, GROUP, ARN, CIDR) The ID or ARN of the resource gateway
397
+ # used to connect to the resource configuration. For a child resource
370
398
  # configuration, this value is inherited from the parent resource
371
- # configuration.
399
+ # configuration. For a CIDR resource configuration, the associated
400
+ # resource gateway must have its DNS resolution set to `IN_VPC` so
401
+ # that DNS queries resolve in the context of your VPC.
372
402
  # @return [String]
373
403
  #
374
404
  # @!attribute [rw] resource_configuration_group_identifier
@@ -388,6 +418,16 @@ module Aws::VPCLattice
388
418
  #
389
419
  # * **IP address** - For IPv4 and IPv6, only IP addresses in the VPC
390
420
  # are supported.
421
+ #
422
+ # * **CIDR range** - For a resource configuration of type CIDR,
423
+ # specify a `cidrResource` with one or more `cidrRanges` (for
424
+ # example, `10.0.0.0/16`) that cover the IP addresses of the
425
+ # resources you want to make accessible. You can specify up to 10
426
+ # ranges, using IPv4, IPv6, or both, and each range must include a
427
+ # prefix length. To represent your entire network, specify
428
+ # `0.0.0.0/0` (IPv4) or `::/0` (IPv6) as the only range. You can't
429
+ # use reserved ranges such as `169.254.0.0/16`, `100.64.0.0/10`,
430
+ # `224.0.0.0/4`, `fe80::/10`, or `ff00::/8`.
391
431
  # @return [Types::ResourceConfigurationDefinition]
392
432
  #
393
433
  # @!attribute [rw] allow_association_to_shareable_service_network
@@ -483,6 +523,12 @@ module Aws::VPCLattice
483
523
  # configuration.
484
524
  #
485
525
  # * **ARN** - An Amazon Web Services resource.
526
+ #
527
+ # * **CIDR** - A network segment, expressed as a range of IP addresses
528
+ # (a CIDR block). A consumer accesses the resources within the CIDR
529
+ # range through a `Tunnel` VPC endpoint. A CIDR resource
530
+ # configuration must be associated with a resource gateway whose DNS
531
+ # resolution is set to `IN_VPC`.
486
532
  # @return [String]
487
533
  #
488
534
  # @!attribute [rw] port_ranges
@@ -626,15 +672,20 @@ module Aws::VPCLattice
626
672
  #
627
673
  # @!attribute [rw] resource_config_dns_resolution
628
674
  # Indicates how DNS is resolved for resource configurations associated
629
- # to this resource gateway. ResourceConfigDnsResolution is set at
630
- # creation time and cannot be changed.
675
+ # with this resource gateway. This value is set when you create the
676
+ # resource gateway and can't be changed afterward. The default is
677
+ # `PUBLIC`.
631
678
  #
632
679
  # * `IN_VPC` - DNS resolution occurs privately within the resource
633
680
  # gateway's VPC. DNS queries for resources behind this resource
634
681
  # gateway resolve using the DNS resolvers defined in the VPC's DHCP
635
682
  # option sets. Use this when your resource domain names are hosted
636
683
  # in private Route 53 hosted zones or on-premises DNS servers
637
- # reachable from the VPC.
684
+ # reachable from the VPC. A CIDR resource configuration requires a
685
+ # resource gateway that uses `IN_VPC`, and an `IN_VPC` resource
686
+ # gateway can't be used for ARN resource configurations, so a
687
+ # single resource gateway can't serve both ARN and CIDR resource
688
+ # configurations.
638
689
  #
639
690
  # * `PUBLIC` - DNS resolution occurs against public DNS resolvers. DNS
640
691
  # queries for resources behind this resource gateway resolve using
@@ -2238,7 +2289,7 @@ module Aws::VPCLattice
2238
2289
  # The ID of the resource gateway used to connect to the resource
2239
2290
  # configuration in a given VPC. You can specify the resource gateway
2240
2291
  # identifier only for resource configurations with type SINGLE, GROUP,
2241
- # or ARN.
2292
+ # ARN, or CIDR.
2242
2293
  # @return [String]
2243
2294
  #
2244
2295
  # @!attribute [rw] resource_configuration_group_id
@@ -2256,6 +2307,9 @@ module Aws::VPCLattice
2256
2307
  # configuration.
2257
2308
  #
2258
2309
  # * `ARN` - An Amazon Web Services resource.
2310
+ #
2311
+ # * `CIDR` - A network segment (a range of IP addresses) accessed
2312
+ # through a `Tunnel` VPC endpoint.
2259
2313
  # @return [String]
2260
2314
  #
2261
2315
  # @!attribute [rw] allow_association_to_shareable_service_network
@@ -2631,7 +2685,8 @@ module Aws::VPCLattice
2631
2685
  # @return [Time]
2632
2686
  #
2633
2687
  # @!attribute [rw] private_dns_entry
2634
- # The private DNS entry for the service.
2688
+ # The private DNS entry for the service. This entry includes only the
2689
+ # domain name.
2635
2690
  # @return [Types::DnsEntry]
2636
2691
  #
2637
2692
  # @!attribute [rw] private_dns_enabled
@@ -4067,6 +4122,30 @@ module Aws::VPCLattice
4067
4122
  class Unknown < PathMatchType; end
4068
4123
  end
4069
4124
 
4125
+ # Specifies which account pays for a category of charges on a VPC
4126
+ # endpoint association.
4127
+ #
4128
+ # @!attribute [rw] scope
4129
+ # The category of charges that this entry applies to.
4130
+ # `ResourceGatewayCharges` covers the resource gateway's data
4131
+ # processing charge.
4132
+ # @return [String]
4133
+ #
4134
+ # @!attribute [rw] payer_responsibility_type
4135
+ # The account that pays this category of charges. `VpcEndpointAccount`
4136
+ # owns the VPC endpoint. `ResourceGatewayAccount` owns the resource
4137
+ # gateway.
4138
+ # @return [String]
4139
+ #
4140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/PayerResponsibilityEntry AWS API Documentation
4141
+ #
4142
+ class PayerResponsibilityEntry < Struct.new(
4143
+ :scope,
4144
+ :payer_responsibility_type)
4145
+ SENSITIVE = []
4146
+ include Aws::Structure
4147
+ end
4148
+
4070
4149
  # @!attribute [rw] resource_identifier
4071
4150
  # The ID or ARN of the service network or service for which the policy
4072
4151
  # is created.
@@ -4189,12 +4268,20 @@ module Aws::VPCLattice
4189
4268
  # The Amazon Resource Name (ARN) of the resource.
4190
4269
  # @return [Types::ArnResource]
4191
4270
  #
4271
+ # @!attribute [rw] cidr_resource
4272
+ # The network segment for a resource configuration of type CIDR,
4273
+ # specified as one or more CIDR ranges (`cidrRanges`). Resources whose
4274
+ # IP addresses fall within these ranges are reachable through a
4275
+ # `Tunnel` VPC endpoint.
4276
+ # @return [Types::CidrResource]
4277
+ #
4192
4278
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ResourceConfigurationDefinition AWS API Documentation
4193
4279
  #
4194
4280
  class ResourceConfigurationDefinition < Struct.new(
4195
4281
  :dns_resource,
4196
4282
  :ip_resource,
4197
4283
  :arn_resource,
4284
+ :cidr_resource,
4198
4285
  :unknown)
4199
4286
  SENSITIVE = []
4200
4287
  include Aws::Structure
@@ -4203,6 +4290,7 @@ module Aws::VPCLattice
4203
4290
  class DnsResource < ResourceConfigurationDefinition; end
4204
4291
  class IpResource < ResourceConfigurationDefinition; end
4205
4292
  class ArnResource < ResourceConfigurationDefinition; end
4293
+ class CidrResource < ResourceConfigurationDefinition; end
4206
4294
  class Unknown < ResourceConfigurationDefinition; end
4207
4295
  end
4208
4296
 
@@ -4240,6 +4328,9 @@ module Aws::VPCLattice
4240
4328
  # configuration.
4241
4329
  #
4242
4330
  # * `ARN` - An Amazon Web Services resource.
4331
+ #
4332
+ # * `CIDR` - A network segment (a range of IP addresses) accessed
4333
+ # through a `Tunnel` VPC endpoint.
4243
4334
  # @return [String]
4244
4335
  #
4245
4336
  # @!attribute [rw] status
@@ -4335,6 +4426,11 @@ module Aws::VPCLattice
4335
4426
  # ISO-8601 format.
4336
4427
  # @return [Time]
4337
4428
  #
4429
+ # @!attribute [rw] payer_responsibility
4430
+ # Who pays for each category of charges on the VPC endpoint
4431
+ # association.
4432
+ # @return [Array<Types::PayerResponsibilityEntry>]
4433
+ #
4338
4434
  # @see http://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/ResourceEndpointAssociationSummary AWS API Documentation
4339
4435
  #
4340
4436
  class ResourceEndpointAssociationSummary < Struct.new(
@@ -4346,7 +4442,8 @@ module Aws::VPCLattice
4346
4442
  :vpc_endpoint_id,
4347
4443
  :vpc_endpoint_owner,
4348
4444
  :created_by,
4349
- :created_at)
4445
+ :created_at,
4446
+ :payer_responsibility)
4350
4447
  SENSITIVE = []
4351
4448
  include Aws::Structure
4352
4449
  end
@@ -4749,7 +4846,8 @@ module Aws::VPCLattice
4749
4846
  # @return [Types::DnsEntry]
4750
4847
  #
4751
4848
  # @!attribute [rw] private_dns_entry
4752
- # The private DNS entry for the service.
4849
+ # The private DNS entry for the service. This entry includes only the
4850
+ # domain name.
4753
4851
  # @return [Types::DnsEntry]
4754
4852
  #
4755
4853
  # @!attribute [rw] is_managed_association
@@ -5681,6 +5779,9 @@ module Aws::VPCLattice
5681
5779
  # configuration.
5682
5780
  #
5683
5781
  # * `ARN` - An Amazon Web Services resource.
5782
+ #
5783
+ # * `CIDR` - A network segment (a range of IP addresses) accessed
5784
+ # through a `Tunnel` VPC endpoint.
5684
5785
  # @return [String]
5685
5786
  #
5686
5787
  # @!attribute [rw] port_ranges
@@ -55,7 +55,7 @@ module Aws::VPCLattice
55
55
  autoload :EndpointProvider, 'aws-sdk-vpclattice/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-vpclattice/endpoints'
57
57
 
58
- GEM_VERSION = '1.55.0'
58
+ GEM_VERSION = '1.56.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -147,9 +147,9 @@ module Aws
147
147
  def arn: () -> ::String
148
148
  def resource_gateway_id: () -> ::String
149
149
  def resource_configuration_group_id: () -> ::String
150
- def type: () -> ("GROUP" | "CHILD" | "SINGLE" | "ARN")
150
+ def type: () -> ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
151
151
  def port_ranges: () -> ::Array[::String]
152
- def protocol: () -> ("TCP")
152
+ def protocol: () -> ("TCP" | "TCP_UDP")
153
153
  def status: () -> ("ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
154
154
  def resource_configuration_definition: () -> Types::ResourceConfigurationDefinition
155
155
  def allow_association_to_shareable_service_network: () -> bool
@@ -163,9 +163,9 @@ module Aws
163
163
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VPCLattice/Client.html#create_resource_configuration-instance_method
164
164
  def create_resource_configuration: (
165
165
  name: ::String,
166
- type: ("GROUP" | "CHILD" | "SINGLE" | "ARN"),
166
+ type: ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR"),
167
167
  ?port_ranges: Array[::String],
168
- ?protocol: ("TCP"),
168
+ ?protocol: ("TCP" | "TCP_UDP"),
169
169
  ?resource_gateway_identifier: ::String,
170
170
  ?resource_configuration_group_identifier: ::String,
171
171
  ?resource_configuration_definition: Params::resource_configuration_definition,
@@ -613,10 +613,10 @@ module Aws
613
613
  def arn: () -> ::String
614
614
  def resource_gateway_id: () -> ::String
615
615
  def resource_configuration_group_id: () -> ::String
616
- def type: () -> ("GROUP" | "CHILD" | "SINGLE" | "ARN")
616
+ def type: () -> ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
617
617
  def allow_association_to_shareable_service_network: () -> bool
618
618
  def port_ranges: () -> ::Array[::String]
619
- def protocol: () -> ("TCP")
619
+ def protocol: () -> ("TCP" | "TCP_UDP")
620
620
  def custom_domain_name: () -> ::String
621
621
  def status: () -> ("ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
622
622
  def resource_configuration_definition: () -> Types::ResourceConfigurationDefinition
@@ -1158,10 +1158,10 @@ module Aws
1158
1158
  def arn: () -> ::String
1159
1159
  def resource_gateway_id: () -> ::String
1160
1160
  def resource_configuration_group_id: () -> ::String
1161
- def type: () -> ("GROUP" | "CHILD" | "SINGLE" | "ARN")
1161
+ def type: () -> ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
1162
1162
  def port_ranges: () -> ::Array[::String]
1163
1163
  def allow_association_to_shareable_service_network: () -> bool
1164
- def protocol: () -> ("TCP")
1164
+ def protocol: () -> ("TCP" | "TCP_UDP")
1165
1165
  def status: () -> ("ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
1166
1166
  def resource_configuration_definition: () -> Types::ResourceConfigurationDefinition
1167
1167
  end
data/sig/params.rbs CHANGED
@@ -60,6 +60,9 @@ module Aws
60
60
  }?,
61
61
  arn_resource: {
62
62
  arn: ::String?
63
+ }?,
64
+ cidr_resource: {
65
+ cidr_ranges: Array[::String]?
63
66
  }?
64
67
  }
65
68
 
data/sig/types.rbs CHANGED
@@ -43,6 +43,11 @@ module Aws::VPCLattice
43
43
  SENSITIVE: []
44
44
  end
45
45
 
46
+ class CidrResource
47
+ attr_accessor cidr_ranges: ::Array[::String]
48
+ SENSITIVE: []
49
+ end
50
+
46
51
  class ConflictException
47
52
  attr_accessor message: ::String
48
53
  attr_accessor resource_id: ::String
@@ -94,9 +99,9 @@ module Aws::VPCLattice
94
99
 
95
100
  class CreateResourceConfigurationRequest
96
101
  attr_accessor name: ::String
97
- attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN")
102
+ attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
98
103
  attr_accessor port_ranges: ::Array[::String]
99
- attr_accessor protocol: ("TCP")
104
+ attr_accessor protocol: ("TCP" | "TCP_UDP")
100
105
  attr_accessor resource_gateway_identifier: ::String
101
106
  attr_accessor resource_configuration_group_identifier: ::String
102
107
  attr_accessor resource_configuration_definition: Types::ResourceConfigurationDefinition
@@ -115,9 +120,9 @@ module Aws::VPCLattice
115
120
  attr_accessor arn: ::String
116
121
  attr_accessor resource_gateway_id: ::String
117
122
  attr_accessor resource_configuration_group_id: ::String
118
- attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN")
123
+ attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
119
124
  attr_accessor port_ranges: ::Array[::String]
120
- attr_accessor protocol: ("TCP")
125
+ attr_accessor protocol: ("TCP" | "TCP_UDP")
121
126
  attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
122
127
  attr_accessor resource_configuration_definition: Types::ResourceConfigurationDefinition
123
128
  attr_accessor allow_association_to_shareable_service_network: bool
@@ -583,10 +588,10 @@ module Aws::VPCLattice
583
588
  attr_accessor arn: ::String
584
589
  attr_accessor resource_gateway_id: ::String
585
590
  attr_accessor resource_configuration_group_id: ::String
586
- attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN")
591
+ attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
587
592
  attr_accessor allow_association_to_shareable_service_network: bool
588
593
  attr_accessor port_ranges: ::Array[::String]
589
- attr_accessor protocol: ("TCP")
594
+ attr_accessor protocol: ("TCP" | "TCP_UDP")
590
595
  attr_accessor custom_domain_name: ::String
591
596
  attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
592
597
  attr_accessor resource_configuration_definition: Types::ResourceConfigurationDefinition
@@ -1101,6 +1106,12 @@ module Aws::VPCLattice
1101
1106
  end
1102
1107
  end
1103
1108
 
1109
+ class PayerResponsibilityEntry
1110
+ attr_accessor scope: ("ResourceGatewayCharges")
1111
+ attr_accessor payer_responsibility_type: ("VpcEndpointAccount" | "ResourceGatewayAccount")
1112
+ SENSITIVE: []
1113
+ end
1114
+
1104
1115
  class PutAuthPolicyRequest
1105
1116
  attr_accessor resource_identifier: ::String
1106
1117
  attr_accessor policy: ::String
@@ -1138,6 +1149,7 @@ module Aws::VPCLattice
1138
1149
  attr_accessor dns_resource: Types::DnsResource
1139
1150
  attr_accessor ip_resource: Types::IpResource
1140
1151
  attr_accessor arn_resource: Types::ArnResource
1152
+ attr_accessor cidr_resource: Types::CidrResource
1141
1153
  attr_accessor unknown: untyped
1142
1154
  SENSITIVE: []
1143
1155
 
@@ -1147,6 +1159,8 @@ module Aws::VPCLattice
1147
1159
  end
1148
1160
  class ArnResource < ResourceConfigurationDefinition
1149
1161
  end
1162
+ class CidrResource < ResourceConfigurationDefinition
1163
+ end
1150
1164
  class Unknown < ResourceConfigurationDefinition
1151
1165
  end
1152
1166
  end
@@ -1157,7 +1171,7 @@ module Aws::VPCLattice
1157
1171
  attr_accessor arn: ::String
1158
1172
  attr_accessor resource_gateway_id: ::String
1159
1173
  attr_accessor resource_configuration_group_id: ::String
1160
- attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN")
1174
+ attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
1161
1175
  attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
1162
1176
  attr_accessor amazon_managed: bool
1163
1177
  attr_accessor created_at: ::Time
@@ -1178,6 +1192,7 @@ module Aws::VPCLattice
1178
1192
  attr_accessor vpc_endpoint_owner: ::String
1179
1193
  attr_accessor created_by: ::String
1180
1194
  attr_accessor created_at: ::Time
1195
+ attr_accessor payer_responsibility: ::Array[Types::PayerResponsibilityEntry]
1181
1196
  SENSITIVE: []
1182
1197
  end
1183
1198
 
@@ -1514,10 +1529,10 @@ module Aws::VPCLattice
1514
1529
  attr_accessor arn: ::String
1515
1530
  attr_accessor resource_gateway_id: ::String
1516
1531
  attr_accessor resource_configuration_group_id: ::String
1517
- attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN")
1532
+ attr_accessor type: ("GROUP" | "CHILD" | "SINGLE" | "ARN" | "CIDR")
1518
1533
  attr_accessor port_ranges: ::Array[::String]
1519
1534
  attr_accessor allow_association_to_shareable_service_network: bool
1520
- attr_accessor protocol: ("TCP")
1535
+ attr_accessor protocol: ("TCP" | "TCP_UDP")
1521
1536
  attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED")
1522
1537
  attr_accessor resource_configuration_definition: Types::ResourceConfigurationDefinition
1523
1538
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-vpclattice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.55.0
4
+ version: 1.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services