io.burkard.cdk.services.s3objectlambda.CfnAccessPointPolicy.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.s3objectlambda
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAccessPointPolicy {
def apply(
internalResourceId: String,
policyDocument: AnyRef,
objectLambdaAccessPoint: String
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.s3objectlambda.CfnAccessPointPolicy =
software.amazon.awscdk.services.s3objectlambda.CfnAccessPointPolicy.Builder
.create(stackCtx, internalResourceId)
.policyDocument(policyDocument)
.objectLambdaAccessPoint(objectLambdaAccessPoint)
.build()
}