-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnResolverEndpoint_IpAddressRequestProperty.go
35 lines (32 loc) · 1.93 KB
/
CfnResolverEndpoint_IpAddressRequestProperty.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
package awsroute53resolver
// In a [CreateResolverEndpoint](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html) request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). `IpAddressRequest` also includes the ID of the subnet that contains the IP address.
//
// 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"
//
// ipAddressRequestProperty := &IpAddressRequestProperty{
// SubnetId: jsii.String("subnetId"),
//
// // the properties below are optional
// Ip: jsii.String("ip"),
// Ipv6: jsii.String("ipv6"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverendpoint-ipaddressrequest.html
//
type CfnResolverEndpoint_IpAddressRequestProperty struct {
// The ID of the subnet that contains the IP address.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverendpoint-ipaddressrequest.html#cfn-route53resolver-resolverendpoint-ipaddressrequest-subnetid
//
SubnetId *string `field:"required" json:"subnetId" yaml:"subnetId"`
// The IPv4 address that you want to use for DNS queries.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverendpoint-ipaddressrequest.html#cfn-route53resolver-resolverendpoint-ipaddressrequest-ip
//
Ip *string `field:"optional" json:"ip" yaml:"ip"`
// The IPv6 address that you want to use for DNS queries.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverendpoint-ipaddressrequest.html#cfn-route53resolver-resolverendpoint-ipaddressrequest-ipv6
//
Ipv6 *string `field:"optional" json:"ipv6" yaml:"ipv6"`
}