CfnPublisherProps Struct
Properties for defining a CfnPublisher.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnPublisherProps: cdk.CfnPublisherProps = {
acceptTermsAndConditions: false,
// the properties below are optional
connectionArn: 'connectionArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
cfn_publisher_props = cdk.CfnPublisherProps(
accept_terms_and_conditions=False,
# the properties below are optional
connection_arn="connectionArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
CfnPublisherProps cfnPublisherProps = CfnPublisherProps.builder()
.acceptTermsAndConditions(false)
// the properties below are optional
.connectionArn("connectionArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnPublisherProps = new CfnPublisherProps {
AcceptTermsAndConditions = false,
// the properties below are optional
ConnectionArn = "connectionArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"
cfnPublisherProps := &CfnPublisherProps{
AcceptTermsAndConditions: jsii.Boolean(false),
// the properties below are optional
ConnectionArn: jsii.String("connectionArn"),
}
Properties
acceptTermsAndConditionsboolean | IResolvableaccept_terms_and_conditionstyping.Union[bool, IResolvable]acceptTermsAndConditionsBooleanAcceptTermsAndConditionsboolAcceptTermsAndConditionsinterface{}required#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. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.
The default is false .
connectionArnoptionalstringconnection_arnoptionalstrconnectionArnoptionalStringConnectionArnoptionalstringConnectionArnoptional*string#If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
notes
For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the AWS CloudFormation Command Line Interface (CLI) User Guide .