@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.003Z") @Stability(value=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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnPublisher.Builder
A fluent builder for
CfnPublisher. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPublisher(software.constructs.Construct scope,
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 |
|---|---|
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.
|
String |
getAttrIdentityProvider()
The type of account used as the identity provider when registering this publisher with CloudFormation .
|
String |
getAttrPublisherId()
The ID of the extension publisher.
|
String |
getAttrPublisherProfile()
The URL to the publisher's profile with the identity provider.
|
String |
getAttrPublisherStatus()
Whether the publisher is verified.
|
protected Map<String,Object> |
getCfnProperties() |
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAcceptTermsAndConditions(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(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPublisher(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPublisher(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPublisher(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrIdentityProvider()
Values include: AWS_Marketplace | Bitbucket | GitHub .
@Stability(value=Stable) @NotNull public String getAttrPublisherId()
This publisher ID applies to your account in all AWS Regions .
@Stability(value=Stable) @NotNull public String getAttrPublisherProfile()
@Stability(value=Stable) @NotNull public String getAttrPublisherStatus()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getAcceptTermsAndConditions()
The default is false .
@Stability(value=Stable)
public void setAcceptTermsAndConditions(@NotNull
Boolean value)
The default is false .
@Stability(value=Stable)
public void setAcceptTermsAndConditions(@NotNull
IResolvable value)
The default is false .
@Stability(value=Stable) @Nullable public String getConnectionArn()
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .
@Stability(value=Stable)
public void setConnectionArn(@Nullable
String value)
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .
Copyright © 2022. All rights reserved.