iam

package
v1.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2020 License: MIT Imports: 1 Imported by: 27

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

Directories

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL