Table of Contents

Class CfnPublisher

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

A CloudFormation AWS::CloudFormation::Publisher.

public class CfnPublisher : CfnResource, IConstruct, IConstruct, IDependable, IInspectable
Inheritance
CfnPublisher
Implements
IConstruct
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;
             var cfnPublisher = new CfnPublisher(this, "MyCfnPublisher", new CfnPublisherProps {
                 AcceptTermsAndConditions = false,

                 // the properties below are optional
                 ConnectionArn = "connectionArn"
             });

Remarks

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 .

CloudformationResource: AWS::CloudFormation::Publisher

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-publisher.html

ExampleMetadata: fixture=_generated

Constructors

CfnPublisher(Construct, string, ICfnPublisherProps)

Create a new AWS::CloudFormation::Publisher.

public CfnPublisher(Construct scope, string id, ICfnPublisherProps props)

Parameters

scope Construct
  • scope in which this resource is defined.
id string
  • scoped id of the resource.
props ICfnPublisherProps
  • resource properties.

Properties

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.

public virtual object AcceptTermsAndConditions { get; set; }

Property Value

object

Remarks

AttrIdentityProvider

The type of account used as the identity provider when registering this publisher with CloudFormation .

public virtual string AttrIdentityProvider { get; }

Property Value

string

Remarks

Values include: AWS_Marketplace | Bitbucket | GitHub .

CloudformationAttribute: IdentityProvider

AttrPublisherId

The ID of the extension publisher.

public virtual string AttrPublisherId { get; }

Property Value

string

Remarks

This publisher ID applies to your account in all AWS Regions .

CloudformationAttribute: PublisherId

AttrPublisherProfile

The URL to the publisher's profile with the identity provider.

public virtual string AttrPublisherProfile { get; }

Property Value

string

Remarks

CloudformationAttribute: PublisherProfile

AttrPublisherStatus

Whether the publisher is verified.

public virtual string AttrPublisherStatus { get; }

Property Value

string

Remarks

CloudformationAttribute: PublisherStatus

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }

Property Value

string

CfnProperties

protected override IDictionary<string, object> CfnProperties { get; }

Property Value

IDictionary<string, object>

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 virtual string? ConnectionArn { get; set; }

Property Value

string

Remarks

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)

Parameters

inspector TreeInspector
  • tree inspector to collect and process attributes.

RenderProperties(IDictionary<string, object>)

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)

Parameters

props IDictionary<string, object>

Returns

IDictionary<string, object>