@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:23.987Z") 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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnPublisher.Builder
A fluent builder for
CfnPublisher . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnPublisher(Construct scope,
java.lang.String id,
CfnPublisherProps props)
Create a new `AWS::CloudFormation::Publisher`.
|
protected |
CfnPublisher(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPublisher(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAcceptTermsAndConditions()
Whether you accept the [Terms and Conditions](https://docs.aws.amazon.com/https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf) for publishing extensions in the CloudFormation registry.
|
java.lang.String |
getAttrIdentityProvider()
The type of account used as the identity provider when registering this publisher with CloudFormation .
|
java.lang.String |
getAttrPublisherId()
The ID of the extension publisher.
|
java.lang.String |
getAttrPublisherProfile()
The URL to the publisher's profile with the identity provider.
|
java.lang.String |
getAttrPublisherStatus()
Whether the publisher is verified.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.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.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setAcceptTermsAndConditions(java.lang.Boolean value)
Whether you accept the [Terms and Conditions](https://docs.aws.amazon.com/https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf) for publishing extensions in the CloudFormation registry.
|
void |
setAcceptTermsAndConditions(IResolvable value)
Whether you accept the [Terms and Conditions](https://docs.aws.amazon.com/https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf) for publishing extensions in the CloudFormation registry.
|
void |
setConnectionArn(java.lang.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.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnPublisher(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPublisher(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnPublisher(Construct scope, java.lang.String id, CfnPublisherProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrIdentityProvider()
Values include: AWS_Marketplace
| Bitbucket
| GitHub
.
public java.lang.String getAttrPublisherId()
This publisher ID applies to your account in all AWS Regions .
public java.lang.String getAttrPublisherProfile()
public java.lang.String getAttrPublisherStatus()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.Object getAcceptTermsAndConditions()
The default is false
.
public void setAcceptTermsAndConditions(java.lang.Boolean value)
The default is false
.
public void setAcceptTermsAndConditions(IResolvable value)
The default is false
.
public java.lang.String getConnectionArn()
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .
public void setConnectionArn(java.lang.String value)
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .