iam

package
v0.0.0-...-82dfa79 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomRole

func NewCustomRole(customRole string) func(*IamComponent) error

func WithAssumeRolepolicy

func WithAssumeRolepolicy(dataAssumeRolePolicy []byte) func(*IamComponent)

func WithCustomPolicies

func WithCustomPolicies(customPolicies []string) func(*IamComponent)

Types

type ApplyRoles

type ApplyRoles func(*IamComponent) error

type BaseOpts

type BaseOpts func(*IamComponent)

type IamComponent

type IamComponent struct {
	pulumi.ResourceState
	// contains filtered or unexported fields
}

func NewIamComponent

func NewIamComponent(ctx *pulumi.Context, name string, iamOpts []BaseOpts, applyRoles []ApplyRoles, opts ...pulumi.ResourceOption) (*IamComponent, error)

func (*IamComponent) GetAllRoles

func (iamComp *IamComponent) GetAllRoles() iam.RoleArray

func (*IamComponent) GetRole

func (iamComp *IamComponent) GetRole(name string) *iam.Role

Jump to

Keyboard shortcuts

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