Class CfnPublisher
A CloudFormation AWS::CloudFormation::Publisher
.
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public class CfnPublisher : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnPublisher
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
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
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(Construct, String, ICfnPublisherProps) | Create a new |
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 |
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(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 System.String
- scoped id of the resource.
- props ICfnPublisherProps
- resource properties.
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
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
Remarks
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
Values include: AWS_Marketplace
| Bitbucket
| GitHub
.
CloudformationAttribute: IdentityProvider
AttrPublisherId
The ID of the extension publisher.
public virtual string AttrPublisherId { get; }
Property Value
System.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
System.String
Remarks
CloudformationAttribute: PublisherProfile
AttrPublisherStatus
Whether the publisher is verified.
public virtual string AttrPublisherStatus { get; }
Property Value
System.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
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
Remarks
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .
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>