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