Package software.amazon.awscdk
Class CfnPublisher.Builder
java.lang.Object
software.amazon.awscdk.CfnPublisher.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublisher>
- Enclosing class:
CfnPublisher
@Stability(Stable)
public static final class CfnPublisher.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublisher>
A fluent builder for
CfnPublisher
.-
Method Summary
Modifier and TypeMethodDescriptionacceptTermsAndConditions
(Boolean acceptTermsAndConditions) Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry.acceptTermsAndConditions
(IResolvable acceptTermsAndConditions) Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry.build()
connectionArn
(String connectionArn) If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.static CfnPublisher.Builder
-
Method Details
-
create
@Stability(Stable) public static CfnPublisher.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPublisher.Builder
.
-
acceptTermsAndConditions
@Stability(Stable) public CfnPublisher.Builder acceptTermsAndConditions(Boolean 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 register to publish public extensions to the CloudFormation registry.The default is
false
.- Parameters:
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 register to publish public extensions to the CloudFormation registry. This parameter is required.- Returns:
this
- See Also:
-
acceptTermsAndConditions
@Stability(Stable) public CfnPublisher.Builder acceptTermsAndConditions(IResolvable 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 register to publish public extensions to the CloudFormation registry.The default is
false
.- Parameters:
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 register to publish public extensions to the CloudFormation registry. This parameter is required.- Returns:
this
- See Also:
-
connectionArn
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the AWS CloudFormation Command Line Interface (CLI) User Guide .
- Parameters:
connectionArn
- If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPublisher>
- Returns:
- a newly built instance of
CfnPublisher
.
-