Skip to content
v2.278.0

RecordSetProtectionReference Struct ​

A reference to a RecordSetProtection resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as interfaces_route53 } from 'aws-cdk-lib/interfaces';
const recordSetProtectionReference: interfaces_route53.RecordSetProtectionReference = {
  hostedZoneId: 'hostedZoneId',
  recordName: 'recordName',
  recordType: 'recordType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_route53 as interfaces_route53

record_set_protection_reference = interfaces_route53.RecordSetProtectionReference(
    hosted_zone_id="hostedZoneId",
    record_name="recordName",
    record_type="recordType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.route53.*;

RecordSetProtectionReference recordSetProtectionReference = RecordSetProtectionReference.builder()
        .hostedZoneId("hostedZoneId")
        .recordName("recordName")
        .recordType("recordType")
        .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.Interfaces.Route53;

var recordSetProtectionReference = new RecordSetProtectionReference {
    HostedZoneId = "hostedZoneId",
    RecordName = "recordName",
    RecordType = "recordType"
};
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"

recordSetProtectionReference := &RecordSetProtectionReference{
	HostedZoneId: jsii.String("hostedZoneId"),
	RecordName: jsii.String("recordName"),
	RecordType: jsii.String("recordType"),
}

Properties ​

hostedZoneIdstringhosted_zone_idstrhostedZoneIdStringHostedZoneIdstringHostedZoneId*string required #
The HostedZoneId of the RecordSetProtection resource.
recordNamestringrecord_namestrrecordNameStringRecordNamestringRecordName*string required #
The RecordName of the RecordSetProtection resource.
recordTypestringrecord_typestrrecordTypeStringRecordTypestringRecordType*string required #
The RecordType of the RecordSetProtection resource.