Class FlowLogProps.Jsii$Proxy
- All Implemented Interfaces:
FlowLogOptions,FlowLogProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
FlowLogProps
FlowLogProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.FlowLogProps
FlowLogProps.Builder, FlowLogProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(FlowLogProps.Builder builder) Constructor that initializes the object based on literal property values passed by theFlowLogProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal FlowLogDestinationSpecifies the type of destination to which the flow log data is to be published.final StringThe name of the FlowLog.The fields to include in the flow log record, in the order in which they should appear.The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.final FlowLogResourceTypeThe type of resource for which to create the flow log.final FlowLogTrafficTypeThe type of traffic to log.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theFlowLogProps.Builder.
-
-
Method Details
-
getResourceType
Description copied from interface:FlowLogPropsThe type of resource for which to create the flow log.- Specified by:
getResourceTypein interfaceFlowLogProps
-
getFlowLogName
Description copied from interface:FlowLogPropsThe name of the FlowLog.Since the FlowLog resource doesn't support providing a physical name, the value provided here will be recorded in the
Nametag.Default: CDK generated name
- Specified by:
getFlowLogNamein interfaceFlowLogProps
-
getDestination
Description copied from interface:FlowLogOptionsSpecifies the type of destination to which the flow log data is to be published.Flow log data can be published to CloudWatch Logs or Amazon S3
Default: FlowLogDestinationType.toCloudWatchLogs()
- Specified by:
getDestinationin interfaceFlowLogOptions
-
getLogFormat
Description copied from interface:FlowLogOptionsThe fields to include in the flow log record, in the order in which they should appear.If multiple fields are specified, they will be separated by spaces. For full control over the literal log format string, pass a single field constructed with
LogFormat.custom().See https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
Default: - default log format is used.
- Specified by:
getLogFormatin interfaceFlowLogOptions
-
getMaxAggregationInterval
Description copied from interface:FlowLogOptionsThe maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.When creating flow logs for a Transit Gateway or Transit Gateway Attachment, this property must be ONE_MINUTES.
Default: - FlowLogMaxAggregationInterval.ONE_MINUTES if creating flow logs for Transit Gateway, otherwise FlowLogMaxAggregationInterval.TEN_MINUTES.
- Specified by:
getMaxAggregationIntervalin interfaceFlowLogOptions- See Also:
-
getTrafficType
Description copied from interface:FlowLogOptionsThe type of traffic to log.You can log traffic that the resource accepts or rejects, or all traffic. When the target is either
TransitGatewayorTransitGatewayAttachment, setting the traffic type is not possible.Default: ALL
- Specified by:
getTrafficTypein interfaceFlowLogOptions- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-