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  *gocf.StringExpr   `json:",omitempty"`
	Principal *gocf.IAMPrincipal `json:",omitempty"`
	Condition interface{}        `json:",omitempty"`
}

PolicyStatement represents an entry in an IAM policy document

Source Files

Directories

Path Synopsis
Package iambuilder exposes a fluent IAM privilege builder
Package iambuilder exposes a fluent IAM privilege builder