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

io.burkard.cdk.services.events.CfnEventBusPolicy.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.events

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnEventBusPolicy {

  def apply(
    internalResourceId: String,
    statementId: String,
    statement: Option[AnyRef] = None,
    condition: Option[software.amazon.awscdk.services.events.CfnEventBusPolicy.ConditionProperty] = None,
    eventBusName: Option[String] = None,
    principal: Option[String] = None,
    action: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.events.CfnEventBusPolicy =
    software.amazon.awscdk.services.events.CfnEventBusPolicy.Builder
      .create(stackCtx, internalResourceId)
      .statementId(statementId)
      .statement(statement.orNull)
      .condition(condition.orNull)
      .eventBusName(eventBusName.orNull)
      .principal(principal.orNull)
      .action(action.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy