aws-sdk-ec2 1.330.0 → 1.331.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a69fcff846e5d95609e83ec6413a45b86a83170a2514b37f4ed731fb4299cbc
4
- data.tar.gz: 7bda7774d47f525744c200fb738b2da822768a040d9e224323e460a7a3e19513
3
+ metadata.gz: 6c0cf3cf9c882746d8706e45dd3f3674dca008373cc884b70b8ac7cdb0c8db28
4
+ data.tar.gz: f01f036cf3c47a3026ed0cf38a6175954e32cf9668e0745026fc4565783dc01b
5
5
  SHA512:
6
- metadata.gz: 1a72fdda001976b0eeb3d2ed3755c956a45e614fa55b676a6feac9ae61a5b0dd57c68fdde477469066e69aa5869ceb14927c5d8dc8659ce17d67c035e4252c72
7
- data.tar.gz: 6ae00a248db6d98f81153c8ed07206666d6b9263b90646f2d744bf4f18ac82d4552a32d651d3d41153b69383450e287df2e25c0228f387b1f2967883466070dd
6
+ metadata.gz: dac2d001ae7e27a036afdede4db837669cc02e967ed5fbee592f7900a3336004c3ff2822efd0c3aacb816af12da0f94dc71a02466a53c699024590a64b37a993
7
+ data.tar.gz: 1f91146980279ef0e86265e471693ecca5c063af126d25cff7dc4a959d986b900a2401789ef916fc598ed637049488d7f442c265e039808be683d42a70740abd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.331.0 (2022-09-08)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to send VPC Flow Logs to kinesis-data-firehose as new destination type
8
+
4
9
  1.330.0 (2022-09-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.330.0
1
+ 1.331.0
@@ -2354,10 +2354,10 @@ module Aws::EC2
2354
2354
  req.send_request(options)
2355
2355
  end
2356
2356
 
2357
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
2358
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
2359
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
2360
- # User Guide*.
2357
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
2358
+ # EC2-Classic to a VPC. For more information, see [Migrate from
2359
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
2360
+ # Guide*.
2361
2361
  #
2362
2362
  # </note>
2363
2363
  #
@@ -5296,10 +5296,10 @@ module Aws::EC2
5296
5296
  # really want a default VPC for my existing EC2 account. Is that
5297
5297
  # possible?" in the [Default VPCs FAQ][2].
5298
5298
  #
5299
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
5300
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
5301
- # from EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud
5302
- # User Guide*.
5299
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
5300
+ # EC2-Classic to a VPC. For more information, see [Migrate from
5301
+ # EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
5302
+ # Guide*.
5303
5303
  #
5304
5304
  # </note>
5305
5305
  #
@@ -5982,71 +5982,71 @@ module Aws::EC2
5982
5982
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
5983
5983
  #
5984
5984
  # @option params [String] :deliver_logs_permission_arn
5985
- # The ARN for the IAM role that permits Amazon EC2 to publish flow logs
5986
- # to a CloudWatch Logs log group in your account.
5985
+ # The ARN of the IAM role that allows Amazon EC2 to publish flow logs to
5986
+ # a CloudWatch Logs log group in your account.
5987
+ #
5988
+ # This parameter is required if the destination type is
5989
+ # `cloud-watch-logs` and unsupported otherwise.
5987
5990
  #
5988
- # If you specify `LogDestinationType` as `s3`, do not specify
5989
- # `DeliverLogsPermissionArn` or `LogGroupName`.
5991
+ # @option params [String] :deliver_cross_account_role
5992
+ # The ARN of the IAM role that allows Amazon EC2 to publish flow logs
5993
+ # across accounts.
5990
5994
  #
5991
5995
  # @option params [String] :log_group_name
5992
5996
  # The name of a new or existing CloudWatch Logs log group where Amazon
5993
5997
  # EC2 publishes your flow logs.
5994
5998
  #
5995
- # If you specify `LogDestinationType` as `s3`, do not specify
5996
- # `DeliverLogsPermissionArn` or `LogGroupName`.
5999
+ # This parameter is valid only if the destination type is
6000
+ # `cloud-watch-logs`.
5997
6001
  #
5998
6002
  # @option params [required, Array<String>] :resource_ids
5999
- # The ID of the subnet, network interface, or VPC for which you want to
6000
- # create a flow log.
6003
+ # The IDs of the resources to monitor. For example, if the resource type
6004
+ # is `VPC`, specify the IDs of the VPCs.
6001
6005
  #
6002
6006
  # Constraints: Maximum of 1000 resources
6003
6007
  #
6004
6008
  # @option params [required, String] :resource_type
6005
- # The type of resource for which to create the flow log. For example, if
6006
- # you specified a VPC ID for the `ResourceId` property, specify `VPC`
6007
- # for this property.
6009
+ # The type of resource to monitor.
6008
6010
  #
6009
6011
  # @option params [String] :traffic_type
6010
- # The type of traffic to log. You can log traffic that the resource
6011
- # accepts or rejects, or all traffic.
6012
+ # The type of traffic to monitor (accepted traffic, rejected traffic, or
6013
+ # all traffic).
6012
6014
  #
6013
6015
  # @option params [String] :log_destination_type
6014
- # The type of destination to which the flow log data is to be published.
6015
- # Flow log data can be published to CloudWatch Logs or Amazon S3. To
6016
- # publish flow log data to CloudWatch Logs, specify `cloud-watch-logs`.
6017
- # To publish flow log data to Amazon S3, specify `s3`.
6018
- #
6019
- # If you specify `LogDestinationType` as `s3`, do not specify
6020
- # `DeliverLogsPermissionArn` or `LogGroupName`.
6016
+ # The type of destination for the flow log data.
6021
6017
  #
6022
6018
  # Default: `cloud-watch-logs`
6023
6019
  #
6024
6020
  # @option params [String] :log_destination
6025
- # The destination to which the flow log data is to be published. Flow
6026
- # log data can be published to a CloudWatch Logs log group or an Amazon
6027
- # S3 bucket. The value specified for this parameter depends on the value
6028
- # specified for `LogDestinationType`.
6029
- #
6030
- # If `LogDestinationType` is not specified or `cloud-watch-logs`,
6031
- # specify the Amazon Resource Name (ARN) of the CloudWatch Logs log
6032
- # group. For example, to publish to a log group called `my-logs`,
6033
- # specify `arn:aws:logs:us-east-1:123456789012:log-group:my-logs`.
6034
- # Alternatively, use `LogGroupName` instead.
6035
- #
6036
- # If LogDestinationType is `s3`, specify the ARN of the Amazon S3
6037
- # bucket. You can also specify a subfolder in the bucket. To specify a
6038
- # subfolder in the bucket, use the following ARN format:
6039
- # `bucket_ARN/subfolder_name/`. For example, to specify a subfolder
6040
- # named `my-logs` in a bucket named `my-bucket`, use the following ARN:
6041
- # `arn:aws:s3:::my-bucket/my-logs/`. You cannot use `AWSLogs` as a
6042
- # subfolder name. This is a reserved term.
6021
+ # The destination for the flow log data. The meaning of this parameter
6022
+ # depends on the destination type.
6023
+ #
6024
+ # * If the destination type is `cloud-watch-logs`, specify the ARN of a
6025
+ # CloudWatch Logs log group. For example:
6026
+ #
6027
+ # arn:aws:logs:*region*\:*account\_id*\:log-group:*my\_group*
6028
+ #
6029
+ # Alternatively, use the `LogGroupName` parameter.
6030
+ #
6031
+ # * If the destination type is `s3`, specify the ARN of an S3 bucket.
6032
+ # For example:
6033
+ #
6034
+ # arn:aws:s3:::*my\_bucket*/*my\_subfolder*/
6035
+ #
6036
+ # The subfolder is optional. Note that you can't use `AWSLogs` as a
6037
+ # subfolder name.
6038
+ #
6039
+ # * If the destination type is `kinesis-data-firehose`, specify the ARN
6040
+ # of a Kinesis Data Firehose delivery stream. For example:
6041
+ #
6042
+ # arn:aws:firehose:*region*\:*account\_id*\:deliverystream:*my\_stream*
6043
6043
  #
6044
6044
  # @option params [String] :log_format
6045
- # The fields to include in the flow log record, in the order in which
6046
- # they should appear. For a list of available fields, see [Flow log
6047
- # records][1]. If you omit this parameter, the flow log is created using
6048
- # the default format. If you specify this parameter, you must specify at
6049
- # least one field.
6045
+ # The fields to include in the flow log record. List the fields in the
6046
+ # order in which they should appear. For more information about the
6047
+ # available fields, see [Flow log records][1]. If you omit this
6048
+ # parameter, the flow log is created using the default format. If you
6049
+ # specify this parameter, you must include at least one field.
6050
6050
  #
6051
6051
  # Specify the fields using the `$\{field-id\}` format, separated by
6052
6052
  # spaces. For the CLI, surround this parameter value with single quotes
@@ -6089,11 +6089,12 @@ module Aws::EC2
6089
6089
  # dry_run: false,
6090
6090
  # client_token: "String",
6091
6091
  # deliver_logs_permission_arn: "String",
6092
+ # deliver_cross_account_role: "String",
6092
6093
  # log_group_name: "String",
6093
6094
  # resource_ids: ["FlowLogResourceId"], # required
6094
6095
  # resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface, TransitGateway, TransitGatewayAttachment
6095
6096
  # traffic_type: "ACCEPT", # accepts ACCEPT, REJECT, ALL
6096
- # log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
6097
+ # log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3, kinesis-data-firehose
6097
6098
  # log_destination: "String",
6098
6099
  # log_format: "String",
6099
6100
  # tag_specifications: [
@@ -18026,10 +18027,10 @@ module Aws::EC2
18026
18027
  # a VPC through ClassicLink. You cannot use this request to return
18027
18028
  # information about other instances.
18028
18029
  #
18029
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
18030
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
18031
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
18032
- # User Guide*.
18030
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
18031
+ # EC2-Classic to a VPC. For more information, see [Migrate from
18032
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
18033
+ # Guide*.
18033
18034
  #
18034
18035
  # </note>
18035
18036
  #
@@ -19805,9 +19806,11 @@ module Aws::EC2
19805
19806
  req.send_request(options)
19806
19807
  end
19807
19808
 
19808
- # Describes one or more flow logs. To view the information in your flow
19809
- # logs (the log streams for the network interfaces), you must use the
19810
- # CloudWatch Logs console or the CloudWatch Logs API.
19809
+ # Describes one or more flow logs.
19810
+ #
19811
+ # To view the published flow log records, you must view the log
19812
+ # destination. For example, the CloudWatch Logs log group, the Amazon S3
19813
+ # bucket, or the Kinesis Data Firehose delivery stream.
19811
19814
  #
19812
19815
  # @option params [Boolean] :dry_run
19813
19816
  # Checks whether you have the required permissions for the action,
@@ -19821,9 +19824,8 @@ module Aws::EC2
19821
19824
  # * `deliver-log-status` - The status of the logs delivery (`SUCCESS` \|
19822
19825
  # `FAILED`).
19823
19826
  #
19824
- # * `log-destination-type` - The type of destination to which the flow
19825
- # log publishes data. Possible destination types include
19826
- # `cloud-watch-logs` and `s3`.
19827
+ # * `log-destination-type` - The type of destination for the flow log
19828
+ # data (`cloud-watch-logs` \| `s3` \| `kinesis-data-firehose`).
19827
19829
  #
19828
19830
  # * `flow-log-id` - The ID of the flow log.
19829
19831
  #
@@ -19885,13 +19887,14 @@ module Aws::EC2
19885
19887
  # resp.flow_logs[0].creation_time #=> Time
19886
19888
  # resp.flow_logs[0].deliver_logs_error_message #=> String
19887
19889
  # resp.flow_logs[0].deliver_logs_permission_arn #=> String
19890
+ # resp.flow_logs[0].deliver_cross_account_role #=> String
19888
19891
  # resp.flow_logs[0].deliver_logs_status #=> String
19889
19892
  # resp.flow_logs[0].flow_log_id #=> String
19890
19893
  # resp.flow_logs[0].flow_log_status #=> String
19891
19894
  # resp.flow_logs[0].log_group_name #=> String
19892
19895
  # resp.flow_logs[0].resource_id #=> String
19893
19896
  # resp.flow_logs[0].traffic_type #=> String, one of "ACCEPT", "REJECT", "ALL"
19894
- # resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
19897
+ # resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3", "kinesis-data-firehose"
19895
19898
  # resp.flow_logs[0].log_destination #=> String
19896
19899
  # resp.flow_logs[0].log_format #=> String
19897
19900
  # resp.flow_logs[0].tags #=> Array
@@ -31841,10 +31844,10 @@ module Aws::EC2
31841
31844
 
31842
31845
  # Describes the ClassicLink status of one or more VPCs.
31843
31846
  #
31844
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
31845
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
31846
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
31847
- # User Guide*.
31847
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
31848
+ # EC2-Classic to a VPC. For more information, see [Migrate from
31849
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
31850
+ # Guide*.
31848
31851
  #
31849
31852
  # </note>
31850
31853
  #
@@ -31913,10 +31916,10 @@ module Aws::EC2
31913
31916
  req.send_request(options)
31914
31917
  end
31915
31918
 
31916
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
31917
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
31918
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
31919
- # User Guide*.
31919
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
31920
+ # EC2-Classic to a VPC. For more information, see [Migrate from
31921
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
31922
+ # Guide*.
31920
31923
  #
31921
31924
  # </note>
31922
31925
  #
@@ -33096,10 +33099,10 @@ module Aws::EC2
33096
33099
  req.send_request(options)
33097
33100
  end
33098
33101
 
33099
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
33100
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
33101
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
33102
- # User Guide*.
33102
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
33103
+ # EC2-Classic to a VPC. For more information, see [Migrate from
33104
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
33105
+ # Guide*.
33103
33106
  #
33104
33107
  # </note>
33105
33108
  #
@@ -33788,10 +33791,10 @@ module Aws::EC2
33788
33791
  # Disables ClassicLink for a VPC. You cannot disable ClassicLink for a
33789
33792
  # VPC that has EC2-Classic instances linked to it.
33790
33793
  #
33791
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
33792
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
33793
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
33794
- # User Guide*.
33794
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
33795
+ # EC2-Classic to a VPC. For more information, see [Migrate from
33796
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
33797
+ # Guide*.
33795
33798
  #
33796
33799
  # </note>
33797
33800
  #
@@ -33840,10 +33843,10 @@ module Aws::EC2
33840
33843
  #
33841
33844
  # You must specify a VPC ID in the request.
33842
33845
  #
33843
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
33844
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
33845
- # from EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud
33846
- # User Guide*.
33846
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
33847
+ # EC2-Classic to a VPC. For more information, see [Migrate from
33848
+ # EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
33849
+ # Guide*.
33847
33850
  #
33848
33851
  # </note>
33849
33852
  #
@@ -34989,10 +34992,10 @@ module Aws::EC2
34989
34992
  req.send_request(options)
34990
34993
  end
34991
34994
 
34992
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
34993
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
34994
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
34995
- # User Guide*.
34995
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
34996
+ # EC2-Classic to a VPC. For more information, see [Migrate from
34997
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
34998
+ # Guide*.
34996
34999
  #
34997
35000
  # </note>
34998
35001
  #
@@ -35043,10 +35046,10 @@ module Aws::EC2
35043
35046
  req.send_request(options)
35044
35047
  end
35045
35048
 
35046
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
35047
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
35048
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
35049
- # User Guide*.
35049
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
35050
+ # EC2-Classic to a VPC. For more information, see [Migrate from
35051
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
35052
+ # Guide*.
35050
35053
  #
35051
35054
  # </note>
35052
35055
  #
@@ -43379,10 +43382,10 @@ module Aws::EC2
43379
43382
  req.send_request(options)
43380
43383
  end
43381
43384
 
43382
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
43383
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
43384
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
43385
- # User Guide*.
43385
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
43386
+ # EC2-Classic to a VPC. For more information, see [Migrate from
43387
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
43388
+ # Guide*.
43386
43389
  #
43387
43390
  # </note>
43388
43391
  #
@@ -50814,7 +50817,7 @@ module Aws::EC2
50814
50817
  params: params,
50815
50818
  config: config)
50816
50819
  context[:gem_name] = 'aws-sdk-ec2'
50817
- context[:gem_version] = '1.330.0'
50820
+ context[:gem_version] = '1.331.0'
50818
50821
  Seahorse::Client::Request.new(handlers, context)
50819
50822
  end
50820
50823
 
@@ -4039,6 +4039,7 @@ module Aws::EC2
4039
4039
  CreateFlowLogsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4040
4040
  CreateFlowLogsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
4041
4041
  CreateFlowLogsRequest.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "DeliverLogsPermissionArn"))
4042
+ CreateFlowLogsRequest.add_member(:deliver_cross_account_role, Shapes::ShapeRef.new(shape: String, location_name: "DeliverCrossAccountRole"))
4042
4043
  CreateFlowLogsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: String, location_name: "LogGroupName"))
4043
4044
  CreateFlowLogsRequest.add_member(:resource_ids, Shapes::ShapeRef.new(shape: FlowLogResourceIds, required: true, location_name: "ResourceId"))
4044
4045
  CreateFlowLogsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: FlowLogsResourceType, required: true, location_name: "ResourceType"))
@@ -7597,6 +7598,7 @@ module Aws::EC2
7597
7598
  FlowLog.add_member(:creation_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "creationTime"))
7598
7599
  FlowLog.add_member(:deliver_logs_error_message, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsErrorMessage"))
7599
7600
  FlowLog.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsPermissionArn"))
7601
+ FlowLog.add_member(:deliver_cross_account_role, Shapes::ShapeRef.new(shape: String, location_name: "deliverCrossAccountRole"))
7600
7602
  FlowLog.add_member(:deliver_logs_status, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsStatus"))
7601
7603
  FlowLog.add_member(:flow_log_id, Shapes::ShapeRef.new(shape: String, location_name: "flowLogId"))
7602
7604
  FlowLog.add_member(:flow_log_status, Shapes::ShapeRef.new(shape: String, location_name: "flowLogStatus"))
@@ -5087,10 +5087,10 @@ module Aws::EC2
5087
5087
  include Aws::Structure
5088
5088
  end
5089
5089
 
5090
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
5091
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
5092
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
5093
- # User Guide*.
5090
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
5091
+ # EC2-Classic to a VPC. For more information, see [Migrate from
5092
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
5093
+ # Guide*.
5094
5094
  #
5095
5095
  # </note>
5096
5096
  #
@@ -8125,11 +8125,12 @@ module Aws::EC2
8125
8125
  # dry_run: false,
8126
8126
  # client_token: "String",
8127
8127
  # deliver_logs_permission_arn: "String",
8128
+ # deliver_cross_account_role: "String",
8128
8129
  # log_group_name: "String",
8129
8130
  # resource_ids: ["FlowLogResourceId"], # required
8130
8131
  # resource_type: "VPC", # required, accepts VPC, Subnet, NetworkInterface, TransitGateway, TransitGatewayAttachment
8131
8132
  # traffic_type: "ACCEPT", # accepts ACCEPT, REJECT, ALL
8132
- # log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
8133
+ # log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3, kinesis-data-firehose
8133
8134
  # log_destination: "String",
8134
8135
  # log_format: "String",
8135
8136
  # tag_specifications: [
@@ -8169,79 +8170,79 @@ module Aws::EC2
8169
8170
  # @return [String]
8170
8171
  #
8171
8172
  # @!attribute [rw] deliver_logs_permission_arn
8172
- # The ARN for the IAM role that permits Amazon EC2 to publish flow
8173
- # logs to a CloudWatch Logs log group in your account.
8173
+ # The ARN of the IAM role that allows Amazon EC2 to publish flow logs
8174
+ # to a CloudWatch Logs log group in your account.
8174
8175
  #
8175
- # If you specify `LogDestinationType` as `s3`, do not specify
8176
- # `DeliverLogsPermissionArn` or `LogGroupName`.
8176
+ # This parameter is required if the destination type is
8177
+ # `cloud-watch-logs` and unsupported otherwise.
8178
+ # @return [String]
8179
+ #
8180
+ # @!attribute [rw] deliver_cross_account_role
8181
+ # The ARN of the IAM role that allows Amazon EC2 to publish flow logs
8182
+ # across accounts.
8177
8183
  # @return [String]
8178
8184
  #
8179
8185
  # @!attribute [rw] log_group_name
8180
8186
  # The name of a new or existing CloudWatch Logs log group where Amazon
8181
8187
  # EC2 publishes your flow logs.
8182
8188
  #
8183
- # If you specify `LogDestinationType` as `s3`, do not specify
8184
- # `DeliverLogsPermissionArn` or `LogGroupName`.
8189
+ # This parameter is valid only if the destination type is
8190
+ # `cloud-watch-logs`.
8185
8191
  # @return [String]
8186
8192
  #
8187
8193
  # @!attribute [rw] resource_ids
8188
- # The ID of the subnet, network interface, or VPC for which you want
8189
- # to create a flow log.
8194
+ # The IDs of the resources to monitor. For example, if the resource
8195
+ # type is `VPC`, specify the IDs of the VPCs.
8190
8196
  #
8191
8197
  # Constraints: Maximum of 1000 resources
8192
8198
  # @return [Array<String>]
8193
8199
  #
8194
8200
  # @!attribute [rw] resource_type
8195
- # The type of resource for which to create the flow log. For example,
8196
- # if you specified a VPC ID for the `ResourceId` property, specify
8197
- # `VPC` for this property.
8201
+ # The type of resource to monitor.
8198
8202
  # @return [String]
8199
8203
  #
8200
8204
  # @!attribute [rw] traffic_type
8201
- # The type of traffic to log. You can log traffic that the resource
8202
- # accepts or rejects, or all traffic.
8205
+ # The type of traffic to monitor (accepted traffic, rejected traffic,
8206
+ # or all traffic).
8203
8207
  # @return [String]
8204
8208
  #
8205
8209
  # @!attribute [rw] log_destination_type
8206
- # The type of destination to which the flow log data is to be
8207
- # published. Flow log data can be published to CloudWatch Logs or
8208
- # Amazon S3. To publish flow log data to CloudWatch Logs, specify
8209
- # `cloud-watch-logs`. To publish flow log data to Amazon S3, specify
8210
- # `s3`.
8211
- #
8212
- # If you specify `LogDestinationType` as `s3`, do not specify
8213
- # `DeliverLogsPermissionArn` or `LogGroupName`.
8210
+ # The type of destination for the flow log data.
8214
8211
  #
8215
8212
  # Default: `cloud-watch-logs`
8216
8213
  # @return [String]
8217
8214
  #
8218
8215
  # @!attribute [rw] log_destination
8219
- # The destination to which the flow log data is to be published. Flow
8220
- # log data can be published to a CloudWatch Logs log group or an
8221
- # Amazon S3 bucket. The value specified for this parameter depends on
8222
- # the value specified for `LogDestinationType`.
8223
- #
8224
- # If `LogDestinationType` is not specified or `cloud-watch-logs`,
8225
- # specify the Amazon Resource Name (ARN) of the CloudWatch Logs log
8226
- # group. For example, to publish to a log group called `my-logs`,
8227
- # specify `arn:aws:logs:us-east-1:123456789012:log-group:my-logs`.
8228
- # Alternatively, use `LogGroupName` instead.
8229
- #
8230
- # If LogDestinationType is `s3`, specify the ARN of the Amazon S3
8231
- # bucket. You can also specify a subfolder in the bucket. To specify a
8232
- # subfolder in the bucket, use the following ARN format:
8233
- # `bucket_ARN/subfolder_name/`. For example, to specify a subfolder
8234
- # named `my-logs` in a bucket named `my-bucket`, use the following
8235
- # ARN: `arn:aws:s3:::my-bucket/my-logs/`. You cannot use `AWSLogs` as
8236
- # a subfolder name. This is a reserved term.
8216
+ # The destination for the flow log data. The meaning of this parameter
8217
+ # depends on the destination type.
8218
+ #
8219
+ # * If the destination type is `cloud-watch-logs`, specify the ARN of
8220
+ # a CloudWatch Logs log group. For example:
8221
+ #
8222
+ # arn:aws:logs:*region*\:*account\_id*\:log-group:*my\_group*
8223
+ #
8224
+ # Alternatively, use the `LogGroupName` parameter.
8225
+ #
8226
+ # * If the destination type is `s3`, specify the ARN of an S3 bucket.
8227
+ # For example:
8228
+ #
8229
+ # arn:aws:s3:::*my\_bucket*/*my\_subfolder*/
8230
+ #
8231
+ # The subfolder is optional. Note that you can't use `AWSLogs` as a
8232
+ # subfolder name.
8233
+ #
8234
+ # * If the destination type is `kinesis-data-firehose`, specify the
8235
+ # ARN of a Kinesis Data Firehose delivery stream. For example:
8236
+ #
8237
+ # arn:aws:firehose:*region*\:*account\_id*\:deliverystream:*my\_stream*
8237
8238
  # @return [String]
8238
8239
  #
8239
8240
  # @!attribute [rw] log_format
8240
- # The fields to include in the flow log record, in the order in which
8241
- # they should appear. For a list of available fields, see [Flow log
8242
- # records][1]. If you omit this parameter, the flow log is created
8243
- # using the default format. If you specify this parameter, you must
8244
- # specify at least one field.
8241
+ # The fields to include in the flow log record. List the fields in the
8242
+ # order in which they should appear. For more information about the
8243
+ # available fields, see [Flow log records][1]. If you omit this
8244
+ # parameter, the flow log is created using the default format. If you
8245
+ # specify this parameter, you must include at least one field.
8245
8246
  #
8246
8247
  # Specify the fields using the `$\{field-id\}` format, separated by
8247
8248
  # spaces. For the CLI, surround this parameter value with single
@@ -8282,6 +8283,7 @@ module Aws::EC2
8282
8283
  :dry_run,
8283
8284
  :client_token,
8284
8285
  :deliver_logs_permission_arn,
8286
+ :deliver_cross_account_role,
8285
8287
  :log_group_name,
8286
8288
  :resource_ids,
8287
8289
  :resource_type,
@@ -20125,9 +20127,8 @@ module Aws::EC2
20125
20127
  # * `deliver-log-status` - The status of the logs delivery (`SUCCESS`
20126
20128
  # \| `FAILED`).
20127
20129
  #
20128
- # * `log-destination-type` - The type of destination to which the flow
20129
- # log publishes data. Possible destination types include
20130
- # `cloud-watch-logs` and `s3`.
20130
+ # * `log-destination-type` - The type of destination for the flow log
20131
+ # data (`cloud-watch-logs` \| `s3` \| `kinesis-data-firehose`).
20131
20132
  #
20132
20133
  # * `flow-log-id` - The ID of the flow log.
20133
20134
  #
@@ -35085,7 +35086,13 @@ module Aws::EC2
35085
35086
  # @return [String]
35086
35087
  #
35087
35088
  # @!attribute [rw] deliver_logs_permission_arn
35088
- # The ARN of the IAM role that posts logs to CloudWatch Logs.
35089
+ # The ARN of the IAM role allows the service to publish logs to
35090
+ # CloudWatch Logs.
35091
+ # @return [String]
35092
+ #
35093
+ # @!attribute [rw] deliver_cross_account_role
35094
+ # The ARN of the IAM role that allows the service to publish flow logs
35095
+ # across accounts.
35089
35096
  # @return [String]
35090
35097
  #
35091
35098
  # @!attribute [rw] deliver_logs_status
@@ -35093,7 +35100,7 @@ module Aws::EC2
35093
35100
  # @return [String]
35094
35101
  #
35095
35102
  # @!attribute [rw] flow_log_id
35096
- # The flow log ID.
35103
+ # The ID of the flow log.
35097
35104
  # @return [String]
35098
35105
  #
35099
35106
  # @!attribute [rw] flow_log_status
@@ -35105,7 +35112,7 @@ module Aws::EC2
35105
35112
  # @return [String]
35106
35113
  #
35107
35114
  # @!attribute [rw] resource_id
35108
- # The ID of the resource on which the flow log was created.
35115
+ # The ID of the resource being monitored.
35109
35116
  # @return [String]
35110
35117
  #
35111
35118
  # @!attribute [rw] traffic_type
@@ -35113,18 +35120,12 @@ module Aws::EC2
35113
35120
  # @return [String]
35114
35121
  #
35115
35122
  # @!attribute [rw] log_destination_type
35116
- # The type of destination to which the flow log data is published.
35117
- # Flow log data can be published to CloudWatch Logs or Amazon S3.
35123
+ # The type of destination for the flow log data.
35118
35124
  # @return [String]
35119
35125
  #
35120
35126
  # @!attribute [rw] log_destination
35121
- # The destination to which the flow log data is published. Flow log
35122
- # data can be published to an CloudWatch Logs log group or an Amazon
35123
- # S3 bucket. If the flow log publishes to CloudWatch Logs, this
35124
- # element indicates the Amazon Resource Name (ARN) of the CloudWatch
35125
- # Logs log group to which the data is published. If the flow log
35126
- # publishes to Amazon S3, this element indicates the ARN of the Amazon
35127
- # S3 bucket to which the data is published.
35127
+ # The Amazon Resource Name (ARN) of the destination for the flow log
35128
+ # data.
35128
35129
  # @return [String]
35129
35130
  #
35130
35131
  # @!attribute [rw] log_format
@@ -35160,6 +35161,7 @@ module Aws::EC2
35160
35161
  :creation_time,
35161
35162
  :deliver_logs_error_message,
35162
35163
  :deliver_logs_permission_arn,
35164
+ :deliver_cross_account_role,
35163
35165
  :deliver_logs_status,
35164
35166
  :flow_log_id,
35165
35167
  :flow_log_status,
@@ -53941,10 +53943,10 @@ module Aws::EC2
53941
53943
  include Aws::Structure
53942
53944
  end
53943
53945
 
53944
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
53945
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
53946
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
53947
- # User Guide*.
53946
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
53947
+ # EC2-Classic to a VPC. For more information, see [Migrate from
53948
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
53949
+ # Guide*.
53948
53950
  #
53949
53951
  # </note>
53950
53952
  #
@@ -53982,10 +53984,10 @@ module Aws::EC2
53982
53984
  include Aws::Structure
53983
53985
  end
53984
53986
 
53985
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
53986
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
53987
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
53988
- # User Guide*.
53987
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
53988
+ # EC2-Classic to a VPC. For more information, see [Migrate from
53989
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
53990
+ # Guide*.
53989
53991
  #
53990
53992
  # </note>
53991
53993
  #
@@ -69988,10 +69990,10 @@ module Aws::EC2
69988
69990
  include Aws::Structure
69989
69991
  end
69990
69992
 
69991
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
69992
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
69993
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
69994
- # User Guide*.
69993
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
69994
+ # EC2-Classic to a VPC. For more information, see [Migrate from
69995
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
69996
+ # Guide*.
69995
69997
  #
69996
69998
  # </note>
69997
69999
  #
@@ -70266,10 +70268,10 @@ module Aws::EC2
70266
70268
  include Aws::Structure
70267
70269
  end
70268
70270
 
70269
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
70270
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
70271
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
70272
- # User Guide*.
70271
+ # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
70272
+ # EC2-Classic to a VPC. For more information, see [Migrate from
70273
+ # EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
70274
+ # Guide*.
70273
70275
  #
70274
70276
  # </note>
70275
70277
  #
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.330.0'
75
+ GEM_VERSION = '1.331.0'
76
76
 
77
77
  end
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.330.0
4
+ version: 1.331.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-09-07 00:00:00.000000000 Z
11
+ date: 2022-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4