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 Details

    • create

      @Stability(Stable) public static CfnPublisher.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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
    • 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

      @Stability(Stable) public CfnPublisher.Builder 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.

      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

      @Stability(Stable) public CfnPublisher build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPublisher>
      Returns:
      a newly built instance of CfnPublisher.