io.burkard.cdk.services.gamelift.cfnFleet.ResourceCreationLimitPolicyProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.gamelift.cfnFleet
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ResourceCreationLimitPolicyProperty {
def apply(
newGameSessionsPerCreator: Option[Number] = None,
policyPeriodInMinutes: Option[Number] = None
): software.amazon.awscdk.services.gamelift.CfnFleet.ResourceCreationLimitPolicyProperty =
(new software.amazon.awscdk.services.gamelift.CfnFleet.ResourceCreationLimitPolicyProperty.Builder)
.newGameSessionsPerCreator(newGameSessionsPerCreator.orNull)
.policyPeriodInMinutes(policyPeriodInMinutes.orNull)
.build()
}