io.burkard.cdk.services.apigateway.ResourceAttributes.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.apigateway
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ResourceAttributes {
def apply(
path: String,
restApi: software.amazon.awscdk.services.apigateway.IRestApi,
resourceId: String
): software.amazon.awscdk.services.apigateway.ResourceAttributes =
(new software.amazon.awscdk.services.apigateway.ResourceAttributes.Builder)
.path(path)
.restApi(restApi)
.resourceId(resourceId)
.build()
}