# CfnRecordSetProtectionProps

Properties for defining a `CfnRecordSetProtection`.

Used as props by: [CfnRecordSetProtection](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_route53.CfnRecordSetProtection.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 { aws_route53 as route53 } from 'aws-cdk-lib';
const cfnRecordSetProtectionProps: route53.CfnRecordSetProtectionProps = {
  hostedZoneId: 'hostedZoneId',
  recordName: 'recordName',
  recordType: 'recordType',

  // the properties below are optional
  comment: 'comment',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53 as route53

cfn_record_set_protection_props = route53.CfnRecordSetProtectionProps(
    hosted_zone_id="hostedZoneId",
    record_name="recordName",
    record_type="recordType",

    # the properties below are optional
    comment="comment"
)
```

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.services.route53.*;

CfnRecordSetProtectionProps cfnRecordSetProtectionProps = CfnRecordSetProtectionProps.builder()
        .hostedZoneId("hostedZoneId")
        .recordName("recordName")
        .recordType("recordType")

        // the properties below are optional
        .comment("comment")
        .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.AWS.Route53;

var cfnRecordSetProtectionProps = new CfnRecordSetProtectionProps {
    HostedZoneId = "hostedZoneId",
    RecordName = "recordName",
    RecordType = "recordType",

    // the properties below are optional
    Comment = "comment"
};
```

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 "github.com/aws/aws-cdk-go/awscdk"

cfnRecordSetProtectionProps := &CfnRecordSetProtectionProps{
	HostedZoneId: jsii.String("hostedZoneId"),
	RecordName: jsii.String("recordName"),
	RecordType: jsii.String("recordType"),

	// the properties below are optional
	Comment: jsii.String("comment"),
}
```

## Properties

- `comment`: string

- `hostedZoneId`: string (required)

- `recordName`: string (required)

- `recordType`: string (required)
