-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsroute53recoveryreadiness_CfnResourceSet_DNSTargetResourceProperty.go
39 lines (36 loc) · 1.71 KB
/
awsroute53recoveryreadiness_CfnResourceSet_DNSTargetResourceProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package awsroute53recoveryreadiness
// A component for DNS/routing control readiness checks and architecture checks.
//
// Example:
// // 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"
//
// dNSTargetResourceProperty := &dNSTargetResourceProperty{
// domainName: jsii.String("domainName"),
// hostedZoneArn: jsii.String("hostedZoneArn"),
// recordSetId: jsii.String("recordSetId"),
// recordType: jsii.String("recordType"),
// targetResource: &targetResourceProperty{
// nlbResource: &nLBResourceProperty{
// arn: jsii.String("arn"),
// },
// r53Resource: &r53ResourceRecordProperty{
// domainName: jsii.String("domainName"),
// recordSetId: jsii.String("recordSetId"),
// },
// },
// }
//
type CfnResourceSet_DNSTargetResourceProperty struct {
// The domain name that acts as an ingress point to a portion of the customer application.
DomainName *string `field:"optional" json:"domainName" yaml:"domainName"`
// The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.
HostedZoneArn *string `field:"optional" json:"hostedZoneArn" yaml:"hostedZoneArn"`
// The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.
RecordSetId *string `field:"optional" json:"recordSetId" yaml:"recordSetId"`
// The type of DNS record of the target resource.
RecordType *string `field:"optional" json:"recordType" yaml:"recordType"`
// The target resource that the Route 53 record points to.
TargetResource interface{} `field:"optional" json:"targetResource" yaml:"targetResource"`
}