java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:05.361Z") @Stability(Stable) public class CfnPublisher extends CfnResource implements IInspectable
Registers your account as a publisher of public extensions in the CloudFormation registry.

Public extensions are available for use by all CloudFormation users.

For information on requirements for registering as a public extension publisher, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudformation.*;
 CfnPublisher cfnPublisher = CfnPublisher.Builder.create(this, "MyCfnPublisher")
         .acceptTermsAndConditions(false)
         // the properties below are optional
         .connectionArn("connectionArn")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnPublisher

      protected CfnPublisher(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnPublisher

      protected CfnPublisher(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnPublisher

      @Stability(Stable) public CfnPublisher(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPublisherProps props)
      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.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrIdentityProvider

      @Stability(Stable) @NotNull public String getAttrIdentityProvider()
      The type of account used as the identity provider when registering this publisher with CloudFormation.
    • getAttrPublisherId

      @Stability(Stable) @NotNull public String getAttrPublisherId()
      The ID of the extension publisher.
    • getAttrPublisherProfile

      @Stability(Stable) @NotNull public String getAttrPublisherProfile()
      The URL to the publisher's profile with the identity provider.
    • getAttrPublisherStatus

      @Stability(Stable) @NotNull public String getAttrPublisherStatus()
      Whether the publisher is verified.

      Currently, all registered publishers are verified.

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getAcceptTermsAndConditions

      @Stability(Stable) @NotNull public Object getAcceptTermsAndConditions()
      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.
    • setAcceptTermsAndConditions

      @Stability(Stable) public void setAcceptTermsAndConditions(@NotNull Boolean 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 register to publish public extensions to the CloudFormation registry.
    • setAcceptTermsAndConditions

      @Stability(Stable) public void setAcceptTermsAndConditions(@NotNull IResolvable 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 register to publish public extensions to the CloudFormation registry.
    • getConnectionArn

      @Stability(Stable) @Nullable public String getConnectionArn()
      If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
    • setConnectionArn

      @Stability(Stable) public void setConnectionArn(@Nullable String value)
      If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.