io.burkard.cdk.services.ec2.FlowLogProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object FlowLogProps {
def apply(
resourceType: software.amazon.awscdk.services.ec2.FlowLogResourceType,
trafficType: Option[software.amazon.awscdk.services.ec2.FlowLogTrafficType] = None,
flowLogName: Option[String] = None,
destination: Option[software.amazon.awscdk.services.ec2.FlowLogDestination] = None
): software.amazon.awscdk.services.ec2.FlowLogProps =
(new software.amazon.awscdk.services.ec2.FlowLogProps.Builder)
.resourceType(resourceType)
.trafficType(trafficType.orNull)
.flowLogName(flowLogName.orNull)
.destination(destination.orNull)
.build()
}