io.burkard.cdk.services.logs.destinations.KinesisDestinationProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.logs.destinations
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object KinesisDestinationProps {
def apply(
role: Option[software.amazon.awscdk.services.iam.IRole] = None
): software.amazon.awscdk.services.logs.destinations.KinesisDestinationProps =
(new software.amazon.awscdk.services.logs.destinations.KinesisDestinationProps.Builder)
.role(role.orNull)
.build()
}