io.burkard.cdk.services.ec2.CfnSecurityGroupEgressProps.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 CfnSecurityGroupEgressProps {
def apply(
ipProtocol: String,
groupId: String,
toPort: Option[Number] = None,
description: Option[String] = None,
fromPort: Option[Number] = None,
cidrIp: Option[String] = None,
destinationPrefixListId: Option[String] = None,
cidrIpv6: Option[String] = None,
destinationSecurityGroupId: Option[String] = None
): software.amazon.awscdk.services.ec2.CfnSecurityGroupEgressProps =
(new software.amazon.awscdk.services.ec2.CfnSecurityGroupEgressProps.Builder)
.ipProtocol(ipProtocol)
.groupId(groupId)
.toPort(toPort.orNull)
.description(description.orNull)
.fromPort(fromPort.orNull)
.cidrIp(cidrIp.orNull)
.destinationPrefixListId(destinationPrefixListId.orNull)
.cidrIpv6(cidrIpv6.orNull)
.destinationSecurityGroupId(destinationSecurityGroupId.orNull)
.build()
}