![JAR search and dependency download from the Maven repository](/logo.png)
io.burkard.cdk.services.logs.CrossAccountDestination.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.logs
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CrossAccountDestination {
def apply(
internalResourceId: String,
targetArn: String,
role: software.amazon.awscdk.services.iam.IRole,
destinationName: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.logs.CrossAccountDestination =
software.amazon.awscdk.services.logs.CrossAccountDestination.Builder
.create(stackCtx, internalResourceId)
.targetArn(targetArn)
.role(role)
.destinationName(destinationName.orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy