/
AliasTargetInstanceProps.go
36 lines (33 loc) · 1.15 KB
/
AliasTargetInstanceProps.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
package awsservicediscovery
// 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"
//
// var service service
//
// aliasTargetInstanceProps := &AliasTargetInstanceProps{
// DnsName: jsii.String("dnsName"),
// Service: service,
//
// // the properties below are optional
// CustomAttributes: map[string]*string{
// "customAttributesKey": jsii.String("customAttributes"),
// },
// InstanceId: jsii.String("instanceId"),
// }
//
type AliasTargetInstanceProps struct {
// Custom attributes of the instance.
// Default: none.
//
CustomAttributes *map[string]*string `field:"optional" json:"customAttributes" yaml:"customAttributes"`
// The id of the instance resource.
// Default: Automatically generated name.
//
InstanceId *string `field:"optional" json:"instanceId" yaml:"instanceId"`
// DNS name of the target.
DnsName *string `field:"required" json:"dnsName" yaml:"dnsName"`
// The Cloudmap service this resource is registered to.
Service IService `field:"required" json:"service" yaml:"service"`
}