@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.416Z") @Stability(value=Stable) public enum FlowLogTrafficType extends Enum<FlowLogTrafficType>
Example:
// Example automatically generated from non-compiling source. May contain errors.
Vpc vpc = new Vpc(this, "Vpc");
vpc.addFlowLog("FlowLogS3", FlowLogOptions.builder()
.destination(FlowLogDestination.toS3())
.build());
vpc.addFlowLog("FlowLogCloudWatch", FlowLogOptions.builder()
.trafficType(FlowLogTrafficType.REJECT)
.build());
| Enum Constant and Description |
|---|
ACCEPT
Only log accepts.
|
ALL
Log all requests.
|
REJECT
Only log rejects.
|
| Modifier and Type | Method and Description |
|---|---|
static FlowLogTrafficType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowLogTrafficType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final FlowLogTrafficType ACCEPT
@Stability(value=Stable) public static final FlowLogTrafficType ALL
@Stability(value=Stable) public static final FlowLogTrafficType REJECT
public static FlowLogTrafficType[] values()
for (FlowLogTrafficType c : FlowLogTrafficType.values()) System.out.println(c);
public static FlowLogTrafficType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.