iam

package
v6.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MPL-2.0 Imports: 41 Imported by: 0

Documentation

Overview

Package iam contains implementation for Akamai Terraform sub-provider responsible for managing identities and accesses

Index

Constants

View Source
const UnknownVariableValue = "74D93920-ED26-11E3-AC10-0800200C9A66"

UnknownVariableValue is a sentinel value that is used to denote that the value of a variable is unknown at this time. RawConfig uses this information to build up data about unknown keys. https://github.com/hashicorp/terraform-plugin-sdk/blob/v2.17.0/internal/configs/hcl2shim/values.go#L16

Variables

View Source
var (

	// ErrIAMGetCIDRBlock is returned when GetCIDRBlock fails.
	ErrIAMGetCIDRBlock = errors.New("IAM get CIDR block failed")
)
View Source
var (

	// ErrIAMGetUser is returned when GetUser fails.
	ErrIAMGetUser = errors.New("IAM get user failed")
)
View Source
var (

	// ErrIAMListAllowedAPIs is returned when ListAllowedAPIs fails.
	ErrIAMListAllowedAPIs = errors.New("IAM list allowed APIs failed")
)
View Source
var (

	// ErrIAMListCIDRBlocks is returned when ListCIDRBlocks fails.
	ErrIAMListCIDRBlocks = errors.New("IAM list CIDR blocks failed")
)

Functions

func NewAccessibleGroupsDataSource added in v6.5.0

func NewAccessibleGroupsDataSource() datasource.DataSource

NewAccessibleGroupsDataSource returns new accessible groups data source.

func NewAccountSwitchKeysDataSource added in v6.5.0

func NewAccountSwitchKeysDataSource() datasource.DataSource

NewAccountSwitchKeysDataSource returns a new account switch keys data source.

func NewAllowedAPIsDataSource added in v6.5.0

func NewAllowedAPIsDataSource() datasource.DataSource

NewAllowedAPIsDataSource returns a new iam allowed APIs data source

func NewAuthorizedUsersDataSource added in v6.5.0

func NewAuthorizedUsersDataSource() datasource.DataSource

NewAuthorizedUsersDataSource returns the list of authorized API client users.

func NewBlockedPropertiesDataSource added in v6.5.0

func NewBlockedPropertiesDataSource() datasource.DataSource

NewBlockedPropertiesDataSource returns all the properties that are blocked for a certain user in a group.

func NewCIDRBlockDataSource added in v6.5.0

func NewCIDRBlockDataSource() datasource.DataSource

NewCIDRBlockDataSource returns a new iam CIDR block data source.

func NewCIDRBlockResource added in v6.5.0

func NewCIDRBlockResource() resource.Resource

NewCIDRBlockResource returns new akamai_iam_cidr_block resource.

func NewCIDRBlocksDataSource added in v6.5.0

func NewCIDRBlocksDataSource() datasource.DataSource

NewCIDRBlocksDataSource returns a new iam CIDR blocks data source.

func NewGroupDataSource added in v6.5.0

func NewGroupDataSource() datasource.DataSource

NewGroupDataSource returns all the details for a group.

func NewIPAllowlistResource added in v6.5.0

func NewIPAllowlistResource() resource.Resource

NewIPAllowlistResource returns new akamai_iam_ip_allowlist resource.

func NewPasswordPolicyDataSource added in v6.5.0

func NewPasswordPolicyDataSource() datasource.DataSource

NewPasswordPolicyDataSource returns a new password policy data source.

func NewPropertyUsersDataSource added in v6.5.0

func NewPropertyUsersDataSource() datasource.DataSource

NewPropertyUsersDataSource returns a new iam property users data source.

func NewRoleDataSource added in v6.5.0

func NewRoleDataSource() datasource.DataSource

NewRoleDataSource returns all the details for a role.

func NewUserDataSource added in v6.5.0

func NewUserDataSource() datasource.DataSource

NewUserDataSource returns a new iam user data source.

func NewUsersAffectedByMovingGroupDataSource added in v6.5.0

func NewUsersAffectedByMovingGroupDataSource() datasource.DataSource

NewUsersAffectedByMovingGroupDataSource returns new users affected by moving group data source.

func NewUsersDataSource added in v6.5.0

func NewUsersDataSource() datasource.DataSource

NewUsersDataSource returns a new iam users data source.

Types

type Subprovider

type Subprovider struct {
	// contains filtered or unexported fields
}

Subprovider gathers IAM resources and data sources

func NewSubprovider

func NewSubprovider() *Subprovider

NewSubprovider returns a new IAM subprovider

func (*Subprovider) Client

func (p *Subprovider) Client(meta meta.Meta) iam.IAM

Client returns the IAM interface

func (*Subprovider) FrameworkDataSources

func (p *Subprovider) FrameworkDataSources() []func() datasource.DataSource

FrameworkDataSources returns the IAM data sources implemented using terraform-plugin-framework

func (*Subprovider) FrameworkResources

func (p *Subprovider) FrameworkResources() []func() resource.Resource

FrameworkResources returns the IAM resources implemented using terraform-plugin-framework

func (*Subprovider) PapiClient added in v6.5.0

func (p *Subprovider) PapiClient(meta meta.Meta) papi.PAPI

PapiClient returns the PAPI interface

func (*Subprovider) SDKDataSources

func (p *Subprovider) SDKDataSources() map[string]*schema.Resource

SDKDataSources returns the IAM data sources implemented using terraform-plugin-sdk

func (*Subprovider) SDKResources

func (p *Subprovider) SDKResources() map[string]*schema.Resource

SDKResources returns the IAM resources implemented using terraform-plugin-sdk

Jump to

Keyboard shortcuts

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