Documentation ¶
Overview ¶
Package iam exposes types and functionality to work with with AWS IAM service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeRolePolicyDocumentForServicePrincipal ¶
func AssumeRolePolicyDocumentForServicePrincipal(principal string) interface{}
AssumeRolePolicyDocumentForServicePrincipal returns the document for the given service principal
Types ¶
type PolicyStatement ¶
type PolicyStatement struct { Effect string Action []string Resource string `json:",omitempty"` Principal *iamtypes.IAMPrincipal `json:",omitempty"` Condition interface{} `json:",omitempty"` }
PolicyStatement represents an entry in an IAM policy document
Click to show internal directories.
Click to hide internal directories.