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

io.burkard.cdk.services.config.CfnRemediationConfiguration.scala Maven / Gradle / Ivy

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

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

  def apply(
    internalResourceId: String,
    targetId: String,
    targetType: String,
    configRuleName: String,
    automatic: Option[Boolean] = None,
    resourceType: Option[String] = None,
    executionControls: Option[software.amazon.awscdk.services.config.CfnRemediationConfiguration.ExecutionControlsProperty] = None,
    targetVersion: Option[String] = None,
    retryAttemptSeconds: Option[Number] = None,
    maximumAutomaticAttempts: Option[Number] = None,
    parameters: Option[AnyRef] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.config.CfnRemediationConfiguration =
    software.amazon.awscdk.services.config.CfnRemediationConfiguration.Builder
      .create(stackCtx, internalResourceId)
      .targetId(targetId)
      .targetType(targetType)
      .configRuleName(configRuleName)
      .automatic(automatic.map(Boolean.box).orNull)
      .resourceType(resourceType.orNull)
      .executionControls(executionControls.orNull)
      .targetVersion(targetVersion.orNull)
      .retryAttemptSeconds(retryAttemptSeconds.orNull)
      .maximumAutomaticAttempts(maximumAutomaticAttempts.orNull)
      .parameters(parameters.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy