Class CfnPublisher
Registers your account as a publisher of public extensions in the CloudFormation registry.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPublisher : CfnResource, IInspectable
Syntax (vb)
Public Class CfnPublisher
Inherits CfnResource
Implements IInspectable
Remarks
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
ExampleMetadata: fixture=_generated
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"
});
Synopsis
Constructors
CfnPublisher(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPublisher(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPublisher(Construct, String, ICfnPublisherProps) |
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. |
AttrIdentityProvider | The type of account used as the identity provider when registering this publisher with CloudFormation. |
AttrPublisherId | The ID of the extension publisher. |
AttrPublisherProfile | The URL to the publisher's profile with the identity provider. |
AttrPublisherStatus | Whether the publisher is verified. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConnectionArn | If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPublisher(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPublisher(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPublisher(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPublisher(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPublisher(Construct, String, ICfnPublisherProps)
public CfnPublisher(Construct scope, string id, ICfnPublisherProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- 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
System.Object
AttrIdentityProvider
The type of account used as the identity provider when registering this publisher with CloudFormation.
public virtual string AttrIdentityProvider { get; }
Property Value
System.String
Remarks
CloudformationAttribute: IdentityProvider
AttrPublisherId
The ID of the extension publisher.
public virtual string AttrPublisherId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PublisherId
AttrPublisherProfile
The URL to the publisher's profile with the identity provider.
public virtual string AttrPublisherProfile { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PublisherProfile
AttrPublisherStatus
Whether the publisher is verified.
public virtual string AttrPublisherStatus { get; }
Property Value
System.String
Remarks
Currently, all registered publishers are verified.
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
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
System.String
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 System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>