Skip to content

Commit

Permalink
feat(client-ec2): This release adds flow logs for Transit Gateway to …
Browse files Browse the repository at this point in the history
…allow customers to gain deeper visibility and insights into network traffic through their Transit Gateways.
  • Loading branch information
awstools committed Jul 14, 2022
1 parent ac9d765 commit 57b3f71
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
9 changes: 7 additions & 2 deletions clients/client-ec2/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,12 @@ export namespace DestinationOptionsRequest {

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

export type FlowLogsResourceType = "NetworkInterface" | "Subnet" | "VPC";
export type FlowLogsResourceType =
| "NetworkInterface"
| "Subnet"
| "TransitGateway"
| "TransitGatewayAttachment"
| "VPC";

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

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

/**
* <p>The type of destination to which the flow log data is to be published. Flow log data can be
Expand Down
11 changes: 9 additions & 2 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11165,8 +11165,7 @@
"TrafficType": {
"target": "com.amazonaws.ec2#TrafficType",
"traits": {
"smithy.api#documentation": "<p>The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.</p>"
}
},
"LogDestinationType": {
Expand Down Expand Up @@ -37266,6 +37265,14 @@
{
"value": "NetworkInterface",
"name": "NetworkInterface"
},
{
"value": "TransitGateway",
"name": "TransitGateway"
},
{
"value": "TransitGatewayAttachment",
"name": "TransitGatewayAttachment"
}
]
}
Expand Down

0 comments on commit 57b3f71

Please sign in to comment.