-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnServiceNetworkProps.go
50 lines (47 loc) · 2.04 KB
/
CfnServiceNetworkProps.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
package awsvpclattice
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnServiceNetwork`.
//
// 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"
//
// cfnServiceNetworkProps := &CfnServiceNetworkProps{
// AuthType: jsii.String("authType"),
// Name: jsii.String("name"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetwork.html
//
type CfnServiceNetworkProps struct {
// The type of IAM policy.
//
// - `NONE` : The resource does not use an IAM policy. This is the default.
// - `AWS_IAM` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetwork.html#cfn-vpclattice-servicenetwork-authtype
//
// Default: - "NONE".
//
AuthType *string `field:"optional" json:"authType" yaml:"authType"`
// The name of the service network.
//
// The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
//
// If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetwork.html#cfn-vpclattice-servicenetwork-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
// The tags for the service network.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetwork.html#cfn-vpclattice-servicenetwork-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}