-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnPrivateDnsNamespaceProps.go
63 lines (60 loc) · 2.83 KB
/
CfnPrivateDnsNamespaceProps.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package awsservicediscovery
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnPrivateDnsNamespace`.
//
// 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"
//
// cfnPrivateDnsNamespaceProps := &CfnPrivateDnsNamespaceProps{
// Name: jsii.String("name"),
// Vpc: jsii.String("vpc"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// Properties: &PropertiesProperty{
// DnsProperties: &PrivateDnsPropertiesMutableProperty{
// Soa: &SOAProperty{
// Ttl: jsii.Number(123),
// },
// },
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html
//
type CfnPrivateDnsNamespaceProps struct {
// The name that you want to assign to this namespace.
//
// When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The ID of the Amazon VPC that you want to associate the namespace with.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-vpc
//
Vpc *string `field:"required" json:"vpc" yaml:"vpc"`
// A description for the namespace.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// Properties for the private DNS namespace.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-properties
//
Properties interface{} `field:"optional" json:"properties" yaml:"properties"`
// The tags for the namespace.
//
// Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}