CfnPublisherProps
- class aws_cdk.aws_cloudformation.CfnPublisherProps(*, accept_terms_and_conditions, connection_arn=None)
Bases:
object
Properties for defining a
CfnPublisher
.- Parameters:
accept_terms_and_conditions (
Union
[bool
,IResolvable
]) – 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. The default isfalse
.connection_arn (
Optional
[str
]) – If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_cloudformation as cloudformation cfn_publisher_props = cloudformation.CfnPublisherProps( accept_terms_and_conditions=False, # the properties below are optional connection_arn="connectionArn" )
Attributes
- accept_terms_and_conditions
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.
The default is
false
.
- connection_arn
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .