com.pulumi.awsnative.cloudformation.kotlin.PublisherArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudformation.kotlin
import com.pulumi.awsnative.cloudformation.PublisherArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Register as a publisher in the CloudFormation Registry.
* @property acceptTermsAndConditions Whether you accept the terms and conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to publish public extensions to the CloudFormation registry. The terms and conditions can be found at https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf
* @property connectionArn If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
*/
public data class PublisherArgs(
public val acceptTermsAndConditions: Output? = null,
public val connectionArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudformation.PublisherArgs =
com.pulumi.awsnative.cloudformation.PublisherArgs.builder()
.acceptTermsAndConditions(acceptTermsAndConditions?.applyValue({ args0 -> args0 }))
.connectionArn(connectionArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PublisherArgs].
*/
@PulumiTagMarker
public class PublisherArgsBuilder internal constructor() {
private var acceptTermsAndConditions: Output? = null
private var connectionArn: Output? = null
/**
* @param value Whether you accept the terms and conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to publish public extensions to the CloudFormation registry. The terms and conditions can be found at https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf
*/
@JvmName("tkntdmgfhsobmarh")
public suspend fun acceptTermsAndConditions(`value`: Output) {
this.acceptTermsAndConditions = value
}
/**
* @param value If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
*/
@JvmName("oktjxkxcqcldcrxr")
public suspend fun connectionArn(`value`: Output) {
this.connectionArn = value
}
/**
* @param value Whether you accept the terms and conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to publish public extensions to the CloudFormation registry. The terms and conditions can be found at https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf
*/
@JvmName("vhruvacwgdcsiiqw")
public suspend fun acceptTermsAndConditions(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.acceptTermsAndConditions = mapped
}
/**
* @param value If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
*/
@JvmName("vueouabdjgcuvofg")
public suspend fun connectionArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.connectionArn = mapped
}
internal fun build(): PublisherArgs = PublisherArgs(
acceptTermsAndConditions = acceptTermsAndConditions,
connectionArn = connectionArn,
)
}