| Modifier and Type | Method and Description |
|---|---|
FlowLog |
build() |
static FlowLog.Builder |
create(software.constructs.Construct scope,
String id) |
FlowLog.Builder |
destination(FlowLogDestination destination)
(experimental) Specifies the type of destination to which the flow log data is to be published.
|
FlowLog.Builder |
flowLogName(String flowLogName)
(experimental) The name of the FlowLog.
|
FlowLog.Builder |
resourceType(FlowLogResourceType resourceType)
(experimental) The type of resource for which to create the flow log.
|
FlowLog.Builder |
trafficType(FlowLogTrafficType trafficType)
(experimental) The type of traffic to log.
|
@Stability(value=Experimental) public static FlowLog.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.FlowLog.Builder.@Stability(value=Experimental) public FlowLog.Builder destination(FlowLogDestination destination)
Flow log data can be published to CloudWatch Logs or Amazon S3
Default: FlowLogDestinationType.toCloudWatchLogs()
destination - Specifies the type of destination to which the flow log data is to be published. This parameter is required.this@Stability(value=Experimental) public FlowLog.Builder trafficType(FlowLogTrafficType trafficType)
You can log traffic that the resource accepts or rejects, or all traffic.
Default: ALL
trafficType - The type of traffic to log. This parameter is required.this@Stability(value=Experimental) public FlowLog.Builder resourceType(FlowLogResourceType resourceType)
resourceType - The type of resource for which to create the flow log. This parameter is required.this@Stability(value=Experimental) public FlowLog.Builder flowLogName(String flowLogName)
It is not recommended to use an explicit name.
Default: If you don't specify a flowLogName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
flowLogName - The name of the FlowLog. This parameter is required.thisCopyright © 2021. All rights reserved.