| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2 |
|
| software.amazon.awssdk.services.ec2.model |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<CreateFlowLogsResponse> |
Ec2AsyncClient.createFlowLogs(Consumer<CreateFlowLogsRequest.Builder> createFlowLogsRequest)
Creates one or more flow logs to capture information about IP traffic for a specific network interface, subnet,
or VPC.
|
default CreateFlowLogsResponse |
Ec2Client.createFlowLogs(Consumer<CreateFlowLogsRequest.Builder> createFlowLogsRequest)
Creates one or more flow logs to capture information about IP traffic for a specific network interface, subnet,
or VPC.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.builder() |
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.deliverCrossAccountRole(String deliverCrossAccountRole)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.deliverLogsPermissionArn(String deliverLogsPermissionArn)
The ARN of the IAM role that allows Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your
account.
|
default CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.destinationOptions(Consumer<DestinationOptionsRequest.Builder> destinationOptions)
The destination options.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.destinationOptions(DestinationOptionsRequest destinationOptions)
The destination options.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.logDestination(String logDestination)
The destination for the flow log data.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.logDestinationType(LogDestinationType logDestinationType)
The type of destination for the flow log data.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.logDestinationType(String logDestinationType)
The type of destination for the flow log data.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.logFormat(String logFormat)
The fields to include in the flow log record.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.logGroupName(String logGroupName)
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.maxAggregationInterval(Integer maxAggregationInterval)
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log
record.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.resourceIds(Collection<String> resourceIds)
The IDs of the resources to monitor.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.resourceIds(String... resourceIds)
The IDs of the resources to monitor.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.resourceType(FlowLogsResourceType resourceType)
The type of resource to monitor.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.resourceType(String resourceType)
The type of resource to monitor.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the flow logs.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the flow logs.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the flow logs.
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.toBuilder() |
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.trafficType(String trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
CreateFlowLogsRequest.Builder |
CreateFlowLogsRequest.Builder.trafficType(TrafficType trafficType)
The type of traffic to monitor (accepted traffic, rejected traffic, or all traffic).
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CreateFlowLogsRequest.Builder> |
CreateFlowLogsRequest.serializableBuilderClass() |
Copyright © 2022. All rights reserved.