-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnGroup_PolicyProperty.go
34 lines (31 loc) · 1.39 KB
/
CfnGroup_PolicyProperty.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
package awsiam
// Contains information about an attached policy.
//
// An attached policy is a managed policy that has been attached to a user, group, or role.
//
// For more information about managed policies, see [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide* .
//
// 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 policyDocument interface{}
//
// policyProperty := &PolicyProperty{
// PolicyDocument: policyDocument,
// PolicyName: jsii.String("policyName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html
//
type CfnGroup_PolicyProperty struct {
// The policy document.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policydocument
//
PolicyDocument interface{} `field:"required" json:"policyDocument" yaml:"policyDocument"`
// The friendly name (not ARN) identifying the policy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policyname
//
PolicyName *string `field:"required" json:"policyName" yaml:"policyName"`
}