-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnUserGroupProps.go
52 lines (49 loc) · 1.9 KB
/
CfnUserGroupProps.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
package awselasticache
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnUserGroup`.
//
// 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"
//
// cfnUserGroupProps := &CfnUserGroupProps{
// Engine: jsii.String("engine"),
// UserGroupId: jsii.String("userGroupId"),
// UserIds: []*string{
// jsii.String("userIds"),
// },
//
// // the properties below are optional
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html
//
type CfnUserGroupProps struct {
// The current supported value is redis.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html#cfn-elasticache-usergroup-engine
//
Engine *string `field:"required" json:"engine" yaml:"engine"`
// The ID of the user group.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html#cfn-elasticache-usergroup-usergroupid
//
UserGroupId *string `field:"required" json:"userGroupId" yaml:"userGroupId"`
// The list of user IDs that belong to the user group.
//
// A user named `default` must be included.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html#cfn-elasticache-usergroup-userids
//
UserIds *[]*string `field:"required" json:"userIds" yaml:"userIds"`
// An array of key-value pairs to apply to this user.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html#cfn-elasticache-usergroup-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}