aws-sdk-ec2 1.327.0 → 1.328.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +33 -1
- data/lib/aws-sdk-ec2/client_api.rb +24 -0
- data/lib/aws-sdk-ec2/types.rb +160 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3b493691b7b9f4aa2d938b58ba33672143409ec593bde2430c3d4da3d2050cc
|
4
|
+
data.tar.gz: a70bd601f86769213d4cd7bbb99ead5c36d31fe916f7dce4f30f98eff101e98b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00aac31bb6a4e4be6855529cae75b54f0672d9b4fa57ba4cb7d45df3bb2b1e4dd1d7315ffde10749890cb120f576b04108eb0cc39aa972ace2b7c72aaecbe2bd
|
7
|
+
data.tar.gz: 055e0c2108f83cce333ffc1d4d24417498ec28eef3ed10ad3357cf0130adeec2419a802c95971e800eb0dcd06b4810a05061abbd9b6bb7b83236d9f82bae6a80
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.328.0 (2022-08-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for VPN log options , a new feature allowing S2S VPN connections to send IKE activity logs to CloudWatch Logs
|
8
|
+
|
4
9
|
1.327.0 (2022-08-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.328.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -13330,6 +13330,13 @@ module Aws::EC2
|
|
13330
13330
|
# },
|
13331
13331
|
# ],
|
13332
13332
|
# startup_action: "String",
|
13333
|
+
# log_options: {
|
13334
|
+
# cloud_watch_log_options: {
|
13335
|
+
# log_enabled: false,
|
13336
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
13337
|
+
# log_output_format: "String",
|
13338
|
+
# },
|
13339
|
+
# },
|
13333
13340
|
# },
|
13334
13341
|
# ],
|
13335
13342
|
# local_ipv_4_network_cidr: "String",
|
@@ -13401,6 +13408,9 @@ module Aws::EC2
|
|
13401
13408
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions #=> Array
|
13402
13409
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions[0].value #=> String
|
13403
13410
|
# resp.vpn_connection.options.tunnel_options[0].startup_action #=> String
|
13411
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
13412
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
13413
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
13404
13414
|
# resp.vpn_connection.routes #=> Array
|
13405
13415
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
13406
13416
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -32959,6 +32969,9 @@ module Aws::EC2
|
|
32959
32969
|
# resp.vpn_connections[0].options.tunnel_options[0].ike_versions #=> Array
|
32960
32970
|
# resp.vpn_connections[0].options.tunnel_options[0].ike_versions[0].value #=> String
|
32961
32971
|
# resp.vpn_connections[0].options.tunnel_options[0].startup_action #=> String
|
32972
|
+
# resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
32973
|
+
# resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
32974
|
+
# resp.vpn_connections[0].options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
32962
32975
|
# resp.vpn_connections[0].routes #=> Array
|
32963
32976
|
# resp.vpn_connections[0].routes[0].destination_cidr_block #=> String
|
32964
32977
|
# resp.vpn_connections[0].routes[0].source #=> String, one of "Static"
|
@@ -43644,6 +43657,9 @@ module Aws::EC2
|
|
43644
43657
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions #=> Array
|
43645
43658
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions[0].value #=> String
|
43646
43659
|
# resp.vpn_connection.options.tunnel_options[0].startup_action #=> String
|
43660
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
43661
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
43662
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
43647
43663
|
# resp.vpn_connection.routes #=> Array
|
43648
43664
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
43649
43665
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -43770,6 +43786,9 @@ module Aws::EC2
|
|
43770
43786
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions #=> Array
|
43771
43787
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions[0].value #=> String
|
43772
43788
|
# resp.vpn_connection.options.tunnel_options[0].startup_action #=> String
|
43789
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
43790
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
43791
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
43773
43792
|
# resp.vpn_connection.routes #=> Array
|
43774
43793
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
43775
43794
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -43869,6 +43888,9 @@ module Aws::EC2
|
|
43869
43888
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions #=> Array
|
43870
43889
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions[0].value #=> String
|
43871
43890
|
# resp.vpn_connection.options.tunnel_options[0].startup_action #=> String
|
43891
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
43892
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
43893
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
43872
43894
|
# resp.vpn_connection.routes #=> Array
|
43873
43895
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
43874
43896
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -43975,6 +43997,13 @@ module Aws::EC2
|
|
43975
43997
|
# },
|
43976
43998
|
# ],
|
43977
43999
|
# startup_action: "String",
|
44000
|
+
# log_options: {
|
44001
|
+
# cloud_watch_log_options: {
|
44002
|
+
# log_enabled: false,
|
44003
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
44004
|
+
# log_output_format: "String",
|
44005
|
+
# },
|
44006
|
+
# },
|
43978
44007
|
# },
|
43979
44008
|
# dry_run: false,
|
43980
44009
|
# })
|
@@ -44028,6 +44057,9 @@ module Aws::EC2
|
|
44028
44057
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions #=> Array
|
44029
44058
|
# resp.vpn_connection.options.tunnel_options[0].ike_versions[0].value #=> String
|
44030
44059
|
# resp.vpn_connection.options.tunnel_options[0].startup_action #=> String
|
44060
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_enabled #=> Boolean
|
44061
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_group_arn #=> String
|
44062
|
+
# resp.vpn_connection.options.tunnel_options[0].log_options.cloud_watch_log_options.log_output_format #=> String
|
44031
44063
|
# resp.vpn_connection.routes #=> Array
|
44032
44064
|
# resp.vpn_connection.routes[0].destination_cidr_block #=> String
|
44033
44065
|
# resp.vpn_connection.routes[0].source #=> String, one of "Static"
|
@@ -50782,7 +50814,7 @@ module Aws::EC2
|
|
50782
50814
|
params: params,
|
50783
50815
|
config: config)
|
50784
50816
|
context[:gem_name] = 'aws-sdk-ec2'
|
50785
|
-
context[:gem_version] = '1.
|
50817
|
+
context[:gem_version] = '1.328.0'
|
50786
50818
|
Seahorse::Client::Request.new(handlers, context)
|
50787
50819
|
end
|
50788
50820
|
|
@@ -305,6 +305,9 @@ module Aws::EC2
|
|
305
305
|
ClientVpnRouteStatus = Shapes::StructureShape.new(name: 'ClientVpnRouteStatus')
|
306
306
|
ClientVpnRouteStatusCode = Shapes::StringShape.new(name: 'ClientVpnRouteStatusCode')
|
307
307
|
ClientVpnSecurityGroupIdSet = Shapes::ListShape.new(name: 'ClientVpnSecurityGroupIdSet')
|
308
|
+
CloudWatchLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogGroupArn')
|
309
|
+
CloudWatchLogOptions = Shapes::StructureShape.new(name: 'CloudWatchLogOptions')
|
310
|
+
CloudWatchLogOptionsSpecification = Shapes::StructureShape.new(name: 'CloudWatchLogOptionsSpecification')
|
308
311
|
CoipAddressUsage = Shapes::StructureShape.new(name: 'CoipAddressUsage')
|
309
312
|
CoipAddressUsageSet = Shapes::ListShape.new(name: 'CoipAddressUsageSet')
|
310
313
|
CoipPool = Shapes::StructureShape.new(name: 'CoipPool')
|
@@ -2723,6 +2726,8 @@ module Aws::EC2
|
|
2723
2726
|
VpnStaticRoute = Shapes::StructureShape.new(name: 'VpnStaticRoute')
|
2724
2727
|
VpnStaticRouteList = Shapes::ListShape.new(name: 'VpnStaticRouteList')
|
2725
2728
|
VpnStaticRouteSource = Shapes::StringShape.new(name: 'VpnStaticRouteSource')
|
2729
|
+
VpnTunnelLogOptions = Shapes::StructureShape.new(name: 'VpnTunnelLogOptions')
|
2730
|
+
VpnTunnelLogOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelLogOptionsSpecification')
|
2726
2731
|
VpnTunnelOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelOptionsSpecification')
|
2727
2732
|
VpnTunnelOptionsSpecificationsList = Shapes::ListShape.new(name: 'VpnTunnelOptionsSpecificationsList')
|
2728
2733
|
WeekDay = Shapes::StringShape.new(name: 'WeekDay')
|
@@ -3733,6 +3738,16 @@ module Aws::EC2
|
|
3733
3738
|
|
3734
3739
|
ClientVpnSecurityGroupIdSet.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "item")
|
3735
3740
|
|
3741
|
+
CloudWatchLogOptions.add_member(:log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "logEnabled"))
|
3742
|
+
CloudWatchLogOptions.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "logGroupArn"))
|
3743
|
+
CloudWatchLogOptions.add_member(:log_output_format, Shapes::ShapeRef.new(shape: String, location_name: "logOutputFormat"))
|
3744
|
+
CloudWatchLogOptions.struct_class = Types::CloudWatchLogOptions
|
3745
|
+
|
3746
|
+
CloudWatchLogOptionsSpecification.add_member(:log_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "LogEnabled"))
|
3747
|
+
CloudWatchLogOptionsSpecification.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, location_name: "LogGroupArn"))
|
3748
|
+
CloudWatchLogOptionsSpecification.add_member(:log_output_format, Shapes::ShapeRef.new(shape: String, location_name: "LogOutputFormat"))
|
3749
|
+
CloudWatchLogOptionsSpecification.struct_class = Types::CloudWatchLogOptionsSpecification
|
3750
|
+
|
3736
3751
|
CoipAddressUsage.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
3737
3752
|
CoipAddressUsage.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: String, location_name: "awsAccountId"))
|
3738
3753
|
CoipAddressUsage.add_member(:aws_service, Shapes::ShapeRef.new(shape: String, location_name: "awsService"))
|
@@ -10254,6 +10269,7 @@ module Aws::EC2
|
|
10254
10269
|
ModifyVpnTunnelOptionsSpecification.add_member(:phase_2_dh_group_numbers, Shapes::ShapeRef.new(shape: Phase2DHGroupNumbersRequestList, location_name: "Phase2DHGroupNumber"))
|
10255
10270
|
ModifyVpnTunnelOptionsSpecification.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsRequestList, location_name: "IKEVersion"))
|
10256
10271
|
ModifyVpnTunnelOptionsSpecification.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "StartupAction"))
|
10272
|
+
ModifyVpnTunnelOptionsSpecification.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptionsSpecification, location_name: "LogOptions"))
|
10257
10273
|
ModifyVpnTunnelOptionsSpecification.struct_class = Types::ModifyVpnTunnelOptionsSpecification
|
10258
10274
|
|
10259
10275
|
MonitorInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
@@ -13004,6 +13020,7 @@ module Aws::EC2
|
|
13004
13020
|
TunnelOption.add_member(:phase_2_dh_group_numbers, Shapes::ShapeRef.new(shape: Phase2DHGroupNumbersList, location_name: "phase2DHGroupNumberSet"))
|
13005
13021
|
TunnelOption.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsList, location_name: "ikeVersionSet"))
|
13006
13022
|
TunnelOption.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "startupAction"))
|
13023
|
+
TunnelOption.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptions, location_name: "logOptions"))
|
13007
13024
|
TunnelOption.struct_class = Types::TunnelOption
|
13008
13025
|
|
13009
13026
|
TunnelOptionsList.member = Shapes::ShapeRef.new(shape: TunnelOption, location_name: "item")
|
@@ -13442,6 +13459,12 @@ module Aws::EC2
|
|
13442
13459
|
|
13443
13460
|
VpnStaticRouteList.member = Shapes::ShapeRef.new(shape: VpnStaticRoute, location_name: "item")
|
13444
13461
|
|
13462
|
+
VpnTunnelLogOptions.add_member(:cloud_watch_log_options, Shapes::ShapeRef.new(shape: CloudWatchLogOptions, location_name: "cloudWatchLogOptions"))
|
13463
|
+
VpnTunnelLogOptions.struct_class = Types::VpnTunnelLogOptions
|
13464
|
+
|
13465
|
+
VpnTunnelLogOptionsSpecification.add_member(:cloud_watch_log_options, Shapes::ShapeRef.new(shape: CloudWatchLogOptionsSpecification, location_name: "CloudWatchLogOptions"))
|
13466
|
+
VpnTunnelLogOptionsSpecification.struct_class = Types::VpnTunnelLogOptionsSpecification
|
13467
|
+
|
13445
13468
|
VpnTunnelOptionsSpecification.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideCidr"))
|
13446
13469
|
VpnTunnelOptionsSpecification.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideIpv6Cidr"))
|
13447
13470
|
VpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKey"))
|
@@ -13460,6 +13483,7 @@ module Aws::EC2
|
|
13460
13483
|
VpnTunnelOptionsSpecification.add_member(:phase_2_dh_group_numbers, Shapes::ShapeRef.new(shape: Phase2DHGroupNumbersRequestList, location_name: "Phase2DHGroupNumber"))
|
13461
13484
|
VpnTunnelOptionsSpecification.add_member(:ike_versions, Shapes::ShapeRef.new(shape: IKEVersionsRequestList, location_name: "IKEVersion"))
|
13462
13485
|
VpnTunnelOptionsSpecification.add_member(:startup_action, Shapes::ShapeRef.new(shape: String, location_name: "StartupAction"))
|
13486
|
+
VpnTunnelOptionsSpecification.add_member(:log_options, Shapes::ShapeRef.new(shape: VpnTunnelLogOptionsSpecification, location_name: "LogOptions"))
|
13463
13487
|
VpnTunnelOptionsSpecification.struct_class = Types::VpnTunnelOptionsSpecification
|
13464
13488
|
|
13465
13489
|
VpnTunnelOptionsSpecificationsList.member = Shapes::ShapeRef.new(shape: VpnTunnelOptionsSpecification)
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -5832,6 +5832,74 @@ module Aws::EC2
|
|
5832
5832
|
include Aws::Structure
|
5833
5833
|
end
|
5834
5834
|
|
5835
|
+
# Options for sending VPN tunnel logs to CloudWatch.
|
5836
|
+
#
|
5837
|
+
# @!attribute [rw] log_enabled
|
5838
|
+
# Status of VPN tunnel logging feature. Default value is `False`.
|
5839
|
+
#
|
5840
|
+
# Valid values: `True` \| `False`
|
5841
|
+
# @return [Boolean]
|
5842
|
+
#
|
5843
|
+
# @!attribute [rw] log_group_arn
|
5844
|
+
# The Amazon Resource Name (ARN) of the CloudWatch log group to send
|
5845
|
+
# logs to.
|
5846
|
+
# @return [String]
|
5847
|
+
#
|
5848
|
+
# @!attribute [rw] log_output_format
|
5849
|
+
# Configured log format. Default format is `json`.
|
5850
|
+
#
|
5851
|
+
# Valid values: `json` \| `text`
|
5852
|
+
# @return [String]
|
5853
|
+
#
|
5854
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CloudWatchLogOptions AWS API Documentation
|
5855
|
+
#
|
5856
|
+
class CloudWatchLogOptions < Struct.new(
|
5857
|
+
:log_enabled,
|
5858
|
+
:log_group_arn,
|
5859
|
+
:log_output_format)
|
5860
|
+
SENSITIVE = []
|
5861
|
+
include Aws::Structure
|
5862
|
+
end
|
5863
|
+
|
5864
|
+
# Options for sending VPN tunnel logs to CloudWatch.
|
5865
|
+
#
|
5866
|
+
# @note When making an API call, you may pass CloudWatchLogOptionsSpecification
|
5867
|
+
# data as a hash:
|
5868
|
+
#
|
5869
|
+
# {
|
5870
|
+
# log_enabled: false,
|
5871
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
5872
|
+
# log_output_format: "String",
|
5873
|
+
# }
|
5874
|
+
#
|
5875
|
+
# @!attribute [rw] log_enabled
|
5876
|
+
# Enable or disable VPN tunnel logging feature. Default value is
|
5877
|
+
# `False`.
|
5878
|
+
#
|
5879
|
+
# Valid values: `True` \| `False`
|
5880
|
+
# @return [Boolean]
|
5881
|
+
#
|
5882
|
+
# @!attribute [rw] log_group_arn
|
5883
|
+
# The Amazon Resource Name (ARN) of the CloudWatch log group to send
|
5884
|
+
# logs to.
|
5885
|
+
# @return [String]
|
5886
|
+
#
|
5887
|
+
# @!attribute [rw] log_output_format
|
5888
|
+
# Set log format. Default format is `json`.
|
5889
|
+
#
|
5890
|
+
# Valid values: `json` \| `text`
|
5891
|
+
# @return [String]
|
5892
|
+
#
|
5893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CloudWatchLogOptionsSpecification AWS API Documentation
|
5894
|
+
#
|
5895
|
+
class CloudWatchLogOptionsSpecification < Struct.new(
|
5896
|
+
:log_enabled,
|
5897
|
+
:log_group_arn,
|
5898
|
+
:log_output_format)
|
5899
|
+
SENSITIVE = []
|
5900
|
+
include Aws::Structure
|
5901
|
+
end
|
5902
|
+
|
5835
5903
|
# Describes address usage for a customer-owned address pool.
|
5836
5904
|
#
|
5837
5905
|
# @!attribute [rw] allocation_id
|
@@ -14185,6 +14253,13 @@ module Aws::EC2
|
|
14185
14253
|
# },
|
14186
14254
|
# ],
|
14187
14255
|
# startup_action: "String",
|
14256
|
+
# log_options: {
|
14257
|
+
# cloud_watch_log_options: {
|
14258
|
+
# log_enabled: false,
|
14259
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
14260
|
+
# log_output_format: "String",
|
14261
|
+
# },
|
14262
|
+
# },
|
14188
14263
|
# },
|
14189
14264
|
# ],
|
14190
14265
|
# local_ipv_4_network_cidr: "String",
|
@@ -51841,6 +51916,13 @@ module Aws::EC2
|
|
51841
51916
|
# },
|
51842
51917
|
# ],
|
51843
51918
|
# startup_action: "String",
|
51919
|
+
# log_options: {
|
51920
|
+
# cloud_watch_log_options: {
|
51921
|
+
# log_enabled: false,
|
51922
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
51923
|
+
# log_output_format: "String",
|
51924
|
+
# },
|
51925
|
+
# },
|
51844
51926
|
# },
|
51845
51927
|
# dry_run: false,
|
51846
51928
|
# }
|
@@ -51939,6 +52021,13 @@ module Aws::EC2
|
|
51939
52021
|
# },
|
51940
52022
|
# ],
|
51941
52023
|
# startup_action: "String",
|
52024
|
+
# log_options: {
|
52025
|
+
# cloud_watch_log_options: {
|
52026
|
+
# log_enabled: false,
|
52027
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
52028
|
+
# log_output_format: "String",
|
52029
|
+
# },
|
52030
|
+
# },
|
51942
52031
|
# }
|
51943
52032
|
#
|
51944
52033
|
# @!attribute [rw] tunnel_inside_cidr
|
@@ -52107,6 +52196,10 @@ module Aws::EC2
|
|
52107
52196
|
# Default: `add`
|
52108
52197
|
# @return [String]
|
52109
52198
|
#
|
52199
|
+
# @!attribute [rw] log_options
|
52200
|
+
# Options for logging VPN tunnel activity.
|
52201
|
+
# @return [Types::VpnTunnelLogOptionsSpecification]
|
52202
|
+
#
|
52110
52203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsSpecification AWS API Documentation
|
52111
52204
|
#
|
52112
52205
|
class ModifyVpnTunnelOptionsSpecification < Struct.new(
|
@@ -52127,7 +52220,8 @@ module Aws::EC2
|
|
52127
52220
|
:phase_1_dh_group_numbers,
|
52128
52221
|
:phase_2_dh_group_numbers,
|
52129
52222
|
:ike_versions,
|
52130
|
-
:startup_action
|
52223
|
+
:startup_action,
|
52224
|
+
:log_options)
|
52131
52225
|
SENSITIVE = []
|
52132
52226
|
include Aws::Structure
|
52133
52227
|
end
|
@@ -68563,6 +68657,10 @@ module Aws::EC2
|
|
68563
68657
|
# connection.
|
68564
68658
|
# @return [String]
|
68565
68659
|
#
|
68660
|
+
# @!attribute [rw] log_options
|
68661
|
+
# Options for logging VPN tunnel activity.
|
68662
|
+
# @return [Types::VpnTunnelLogOptions]
|
68663
|
+
#
|
68566
68664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TunnelOption AWS API Documentation
|
68567
68665
|
#
|
68568
68666
|
class TunnelOption < Struct.new(
|
@@ -68584,7 +68682,8 @@ module Aws::EC2
|
|
68584
68682
|
:phase_1_dh_group_numbers,
|
68585
68683
|
:phase_2_dh_group_numbers,
|
68586
68684
|
:ike_versions,
|
68587
|
-
:startup_action
|
68685
|
+
:startup_action,
|
68686
|
+
:log_options)
|
68588
68687
|
SENSITIVE = []
|
68589
68688
|
include Aws::Structure
|
68590
68689
|
end
|
@@ -70521,6 +70620,13 @@ module Aws::EC2
|
|
70521
70620
|
# },
|
70522
70621
|
# ],
|
70523
70622
|
# startup_action: "String",
|
70623
|
+
# log_options: {
|
70624
|
+
# cloud_watch_log_options: {
|
70625
|
+
# log_enabled: false,
|
70626
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
70627
|
+
# log_output_format: "String",
|
70628
|
+
# },
|
70629
|
+
# },
|
70524
70630
|
# },
|
70525
70631
|
# ],
|
70526
70632
|
# local_ipv_4_network_cidr: "String",
|
@@ -70685,6 +70791,45 @@ module Aws::EC2
|
|
70685
70791
|
include Aws::Structure
|
70686
70792
|
end
|
70687
70793
|
|
70794
|
+
# Options for logging VPN tunnel activity.
|
70795
|
+
#
|
70796
|
+
# @!attribute [rw] cloud_watch_log_options
|
70797
|
+
# Options for sending VPN tunnel logs to CloudWatch.
|
70798
|
+
# @return [Types::CloudWatchLogOptions]
|
70799
|
+
#
|
70800
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelLogOptions AWS API Documentation
|
70801
|
+
#
|
70802
|
+
class VpnTunnelLogOptions < Struct.new(
|
70803
|
+
:cloud_watch_log_options)
|
70804
|
+
SENSITIVE = []
|
70805
|
+
include Aws::Structure
|
70806
|
+
end
|
70807
|
+
|
70808
|
+
# Options for logging VPN tunnel activity.
|
70809
|
+
#
|
70810
|
+
# @note When making an API call, you may pass VpnTunnelLogOptionsSpecification
|
70811
|
+
# data as a hash:
|
70812
|
+
#
|
70813
|
+
# {
|
70814
|
+
# cloud_watch_log_options: {
|
70815
|
+
# log_enabled: false,
|
70816
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
70817
|
+
# log_output_format: "String",
|
70818
|
+
# },
|
70819
|
+
# }
|
70820
|
+
#
|
70821
|
+
# @!attribute [rw] cloud_watch_log_options
|
70822
|
+
# Options for sending VPN tunnel logs to CloudWatch.
|
70823
|
+
# @return [Types::CloudWatchLogOptionsSpecification]
|
70824
|
+
#
|
70825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelLogOptionsSpecification AWS API Documentation
|
70826
|
+
#
|
70827
|
+
class VpnTunnelLogOptionsSpecification < Struct.new(
|
70828
|
+
:cloud_watch_log_options)
|
70829
|
+
SENSITIVE = []
|
70830
|
+
include Aws::Structure
|
70831
|
+
end
|
70832
|
+
|
70688
70833
|
# The tunnel options for a single VPN tunnel.
|
70689
70834
|
#
|
70690
70835
|
# @note When making an API call, you may pass VpnTunnelOptionsSpecification
|
@@ -70737,6 +70882,13 @@ module Aws::EC2
|
|
70737
70882
|
# },
|
70738
70883
|
# ],
|
70739
70884
|
# startup_action: "String",
|
70885
|
+
# log_options: {
|
70886
|
+
# cloud_watch_log_options: {
|
70887
|
+
# log_enabled: false,
|
70888
|
+
# log_group_arn: "CloudWatchLogGroupArn",
|
70889
|
+
# log_output_format: "String",
|
70890
|
+
# },
|
70891
|
+
# },
|
70740
70892
|
# }
|
70741
70893
|
#
|
70742
70894
|
# @!attribute [rw] tunnel_inside_cidr
|
@@ -70905,6 +71057,10 @@ module Aws::EC2
|
|
70905
71057
|
# Default: `add`
|
70906
71058
|
# @return [String]
|
70907
71059
|
#
|
71060
|
+
# @!attribute [rw] log_options
|
71061
|
+
# Options for logging VPN tunnel activity.
|
71062
|
+
# @return [Types::VpnTunnelLogOptionsSpecification]
|
71063
|
+
#
|
70908
71064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification AWS API Documentation
|
70909
71065
|
#
|
70910
71066
|
class VpnTunnelOptionsSpecification < Struct.new(
|
@@ -70925,7 +71081,8 @@ module Aws::EC2
|
|
70925
71081
|
:phase_1_dh_group_numbers,
|
70926
71082
|
:phase_2_dh_group_numbers,
|
70927
71083
|
:ike_versions,
|
70928
|
-
:startup_action
|
71084
|
+
:startup_action,
|
71085
|
+
:log_options)
|
70929
71086
|
SENSITIVE = []
|
70930
71087
|
include Aws::Structure
|
70931
71088
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.328.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|