Package software.amazon.awscdk.core
Class CfnPublisher.Builder
java.lang.Object
software.amazon.awscdk.core.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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
-
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 Registering your account to publish CloudFormation extensions in the CloudFormation 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
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPublisher>
- Returns:
- a newly built instance of
CfnPublisher
.
-