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 ¶ added in v1.15.0
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 *gocf.StringExpr `json:",omitempty"` Principal *gocf.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.