io.burkard.cdk.services.sns.cfnTopic.SubscriptionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sns.cfnTopic
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SubscriptionProperty {
def apply(
protocol: String,
endpoint: String
): software.amazon.awscdk.services.sns.CfnTopic.SubscriptionProperty =
(new software.amazon.awscdk.services.sns.CfnTopic.SubscriptionProperty.Builder)
.protocol(protocol)
.endpoint(endpoint)
.build()
}