Skip to content

Commit 57b3f71

Browse files
author
awstools
committed
feat(client-ec2): This release adds flow logs for Transit Gateway to allow customers to gain deeper visibility and insights into network traffic through their Transit Gateways.
1 parent ac9d765 commit 57b3f71

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

clients/client-ec2/src/models/models_1.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,12 @@ export namespace DestinationOptionsRequest {
19911991

19921992
export type LogDestinationType = "cloud-watch-logs" | "s3";
19931993

1994-
export type FlowLogsResourceType = "NetworkInterface" | "Subnet" | "VPC";
1994+
export type FlowLogsResourceType =
1995+
| "NetworkInterface"
1996+
| "Subnet"
1997+
| "TransitGateway"
1998+
| "TransitGatewayAttachment"
1999+
| "VPC";
19952000

19962001
export type TrafficType = "ACCEPT" | "ALL" | "REJECT";
19972002

@@ -2040,7 +2045,7 @@ export interface CreateFlowLogsRequest {
20402045
/**
20412046
* <p>The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.</p>
20422047
*/
2043-
TrafficType: TrafficType | string | undefined;
2048+
TrafficType?: TrafficType | string;
20442049

20452050
/**
20462051
* <p>The type of destination to which the flow log data is to be published. Flow log data can be

codegen/sdk-codegen/aws-models/ec2.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11165,8 +11165,7 @@
1116511165
"TrafficType": {
1116611166
"target": "com.amazonaws.ec2#TrafficType",
1116711167
"traits": {
11168-
"smithy.api#documentation": "<p>The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.</p>",
11169-
"smithy.api#required": {}
11168+
"smithy.api#documentation": "<p>The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.</p>"
1117011169
}
1117111170
},
1117211171
"LogDestinationType": {
@@ -37266,6 +37265,14 @@
3726637265
{
3726737266
"value": "NetworkInterface",
3726837267
"name": "NetworkInterface"
37268+
},
37269+
{
37270+
"value": "TransitGateway",
37271+
"name": "TransitGateway"
37272+
},
37273+
{
37274+
"value": "TransitGatewayAttachment",
37275+
"name": "TransitGatewayAttachment"
3726937276
}
3727037277
]
3727137278
}

0 commit comments

Comments
 (0)