All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.ec2.NetworkAclEntryProps.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 NetworkAclEntryProps {

  def apply(
    networkAcl: software.amazon.awscdk.services.ec2.INetworkAcl,
    networkAclEntryName: Option[String] = None,
    cidr: Option[software.amazon.awscdk.services.ec2.AclCidr] = None,
    direction: Option[software.amazon.awscdk.services.ec2.TrafficDirection] = None,
    traffic: Option[software.amazon.awscdk.services.ec2.AclTraffic] = None,
    ruleNumber: Option[Number] = None,
    ruleAction: Option[software.amazon.awscdk.services.ec2.Action] = None
  ): software.amazon.awscdk.services.ec2.NetworkAclEntryProps =
    (new software.amazon.awscdk.services.ec2.NetworkAclEntryProps.Builder)
      .networkAcl(networkAcl)
      .networkAclEntryName(networkAclEntryName.orNull)
      .cidr(cidr.orNull)
      .direction(direction.orNull)
      .traffic(traffic.orNull)
      .ruleNumber(ruleNumber.orNull)
      .ruleAction(ruleAction.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy