# CfnPublisherProps

Properties for defining a `CfnPublisher`.

Used as props by: [CfnPublisher](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnPublisher.html)

- Source: Generated at build time

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `acceptTermsAndConditions`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (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` .

- `connectionArn`: string — 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 [Prerequisite: Registering your account to publish CloudFormation extensions](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs) in the *AWS CloudFormation Command Line Interface (CLI) User Guide* .
