-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAccessPolicy_AccessPolicyIdentityProperty.go
39 lines (36 loc) · 1.68 KB
/
CfnAccessPolicy_AccessPolicyIdentityProperty.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
package awsiotsitewise
// The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.
//
// 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"
//
// accessPolicyIdentityProperty := &AccessPolicyIdentityProperty{
// IamRole: &IamRoleProperty{
// Arn: jsii.String("arn"),
// },
// IamUser: &IamUserProperty{
// Arn: jsii.String("arn"),
// },
// User: &UserProperty{
// Id: jsii.String("id"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html
//
type CfnAccessPolicy_AccessPolicyIdentityProperty struct {
// An IAM role identity.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity-iamrole
//
IamRole interface{} `field:"optional" json:"iamRole" yaml:"iamRole"`
// An IAM user identity.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity-iamuser
//
IamUser interface{} `field:"optional" json:"iamUser" yaml:"iamUser"`
// An IAM Identity Center user identity.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity-user
//
User interface{} `field:"optional" json:"user" yaml:"user"`
}