-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiam_GroupProps.go
49 lines (46 loc) · 1.64 KB
/
awsiam_GroupProps.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
package awsiam
// Properties for defining an IAM group.
//
// 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 managedPolicy managedPolicy
//
// groupProps := &groupProps{
// groupName: jsii.String("groupName"),
// managedPolicies: []iManagedPolicy{
// managedPolicy,
// },
// path: jsii.String("path"),
// }
//
// Experimental.
type GroupProps struct {
// A name for the IAM group.
//
// For valid values, see the GroupName parameter
// for the CreateGroup action in the IAM API Reference. If you don't specify
// a name, AWS CloudFormation generates a unique physical ID and uses that
// ID for the group name.
//
// If you specify a name, you must specify the CAPABILITY_NAMED_IAM value to
// acknowledge your template's capabilities. For more information, see
// Acknowledging IAM Resources in AWS CloudFormation Templates.
// Experimental.
GroupName *string `field:"optional" json:"groupName" yaml:"groupName"`
// A list of managed policies associated with this role.
//
// You can add managed policies later using
// `addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName))`.
// Experimental.
ManagedPolicies *[]IManagedPolicy `field:"optional" json:"managedPolicies" yaml:"managedPolicies"`
// The path to the group.
//
// For more information about paths, see [IAM
// Identifiers](http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html)
// in the IAM User Guide.
// Experimental.
Path *string `field:"optional" json:"path" yaml:"path"`
}