io.burkard.cdk.services.efs.FileSystemAttributes.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.efs
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object FileSystemAttributes {
def apply(
securityGroup: software.amazon.awscdk.services.ec2.ISecurityGroup,
fileSystemId: Option[String] = None,
fileSystemArn: Option[String] = None
): software.amazon.awscdk.services.efs.FileSystemAttributes =
(new software.amazon.awscdk.services.efs.FileSystemAttributes.Builder)
.securityGroup(securityGroup)
.fileSystemId(fileSystemId.orNull)
.fileSystemArn(fileSystemArn.orNull)
.build()
}