Skip to content
v2.278.0

RecordSetReference Struct ​

A reference to a RecordSet 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 recordSetReference: interfaces_route53.RecordSetReference = {
  recordSetName: 'recordSetName',
  type: 'type',
};
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_reference = interfaces_route53.RecordSetReference(
    record_set_name="recordSetName",
    type="type"
)
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.*;

RecordSetReference recordSetReference = RecordSetReference.builder()
        .recordSetName("recordSetName")
        .type("type")
        .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 recordSetReference = new RecordSetReference {
    RecordSetName = "recordSetName",
    Type = "type"
};
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"

recordSetReference := &RecordSetReference{
	RecordSetName: jsii.String("recordSetName"),
	Type: jsii.String("type"),
}

Properties ​

recordSetNamestringrecord_set_namestrrecordSetNameStringRecordSetNamestringRecordSetName*string required #
The Name of the RecordSet resource.
typestringtypestrtypeStringTypestringType*string required #
The Type of the RecordSet resource.