aws_organizations_organization

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsAttributes

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

func (AccountsAttributes) Arn

func (AccountsAttributes) Email

func (AccountsAttributes) Id

func (AccountsAttributes) InternalRef

func (a AccountsAttributes) InternalRef() (terra.Reference, error)

func (AccountsAttributes) InternalTokens

func (a AccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccountsAttributes) InternalWithRef

func (a AccountsAttributes) InternalWithRef(ref terra.Reference) AccountsAttributes

func (AccountsAttributes) Name

func (AccountsAttributes) Status

type AccountsState

type AccountsState struct {
	Arn    string `json:"arn"`
	Email  string `json:"email"`
	Id     string `json:"id"`
	Name   string `json:"name"`
	Status string `json:"status"`
}

type Args

type Args struct {
	// AwsServiceAccessPrincipals: set of string, optional
	AwsServiceAccessPrincipals terra.SetValue[terra.StringValue] `hcl:"aws_service_access_principals,attr"`
	// EnabledPolicyTypes: set of string, optional
	EnabledPolicyTypes terra.SetValue[terra.StringValue] `hcl:"enabled_policy_types,attr"`
	// FeatureSet: string, optional
	FeatureSet terra.StringValue `hcl:"feature_set,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
}

Args contains the configurations for aws_organizations_organization.

type DataAccountsAttributes

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

func (DataAccountsAttributes) Arn

func (DataAccountsAttributes) Email

func (DataAccountsAttributes) Id

func (DataAccountsAttributes) InternalRef

func (a DataAccountsAttributes) InternalRef() (terra.Reference, error)

func (DataAccountsAttributes) InternalTokens

func (a DataAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAccountsAttributes) InternalWithRef

func (DataAccountsAttributes) Name

func (DataAccountsAttributes) Status

type DataAccountsState

type DataAccountsState struct {
	Arn    string `json:"arn"`
	Email  string `json:"email"`
	Id     string `json:"id"`
	Name   string `json:"name"`
	Status string `json:"status"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
}

DataArgs contains the configurations for aws_organizations_organization.

type DataNonMasterAccountsAttributes

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

func (DataNonMasterAccountsAttributes) Arn

func (DataNonMasterAccountsAttributes) Email

func (DataNonMasterAccountsAttributes) Id

func (DataNonMasterAccountsAttributes) InternalRef

func (DataNonMasterAccountsAttributes) InternalTokens

func (nma DataNonMasterAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNonMasterAccountsAttributes) InternalWithRef

func (DataNonMasterAccountsAttributes) Name

func (DataNonMasterAccountsAttributes) Status

type DataNonMasterAccountsState

type DataNonMasterAccountsState struct {
	Arn    string `json:"arn"`
	Email  string `json:"email"`
	Id     string `json:"id"`
	Name   string `json:"name"`
	Status string `json:"status"`
}

type DataRootsAttributes

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

func (DataRootsAttributes) Arn

func (DataRootsAttributes) Id

func (DataRootsAttributes) InternalRef

func (r DataRootsAttributes) InternalRef() (terra.Reference, error)

func (DataRootsAttributes) InternalTokens

func (r DataRootsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRootsAttributes) InternalWithRef

func (r DataRootsAttributes) InternalWithRef(ref terra.Reference) DataRootsAttributes

func (DataRootsAttributes) Name

func (DataRootsAttributes) PolicyTypes

type DataRootsPolicyTypesAttributes

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

func (DataRootsPolicyTypesAttributes) InternalRef

func (DataRootsPolicyTypesAttributes) InternalTokens

func (pt DataRootsPolicyTypesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRootsPolicyTypesAttributes) InternalWithRef

func (DataRootsPolicyTypesAttributes) Status

func (DataRootsPolicyTypesAttributes) Type

type DataRootsPolicyTypesState

type DataRootsPolicyTypesState struct {
	Status string `json:"status"`
	Type   string `json:"type"`
}

type DataRootsState

type DataRootsState struct {
	Arn         string                      `json:"arn"`
	Id          string                      `json:"id"`
	Name        string                      `json:"name"`
	PolicyTypes []DataRootsPolicyTypesState `json:"policy_types"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_organizations_organization.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aoo *DataSource) Attributes() dataAwsOrganizationsOrganizationAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aoo *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aoo *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aoo *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type NonMasterAccountsAttributes

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

func (NonMasterAccountsAttributes) Arn

func (NonMasterAccountsAttributes) Email

func (NonMasterAccountsAttributes) Id

func (NonMasterAccountsAttributes) InternalRef

func (nma NonMasterAccountsAttributes) InternalRef() (terra.Reference, error)

func (NonMasterAccountsAttributes) InternalTokens

func (nma NonMasterAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NonMasterAccountsAttributes) InternalWithRef

func (NonMasterAccountsAttributes) Name

func (NonMasterAccountsAttributes) Status

type NonMasterAccountsState

type NonMasterAccountsState struct {
	Arn    string `json:"arn"`
	Email  string `json:"email"`
	Id     string `json:"id"`
	Name   string `json:"name"`
	Status string `json:"status"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_organizations_organization.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aoo *Resource) Attributes() awsOrganizationsOrganizationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aoo *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aoo *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aoo *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aoo *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aoo *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aoo *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aoo *Resource) State() (*awsOrganizationsOrganizationState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aoo *Resource) StateMust() *awsOrganizationsOrganizationState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aoo *Resource) Type() string

Type returns the Terraform object type for Resource.

type RootsAttributes

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

func (RootsAttributes) Arn

func (RootsAttributes) Id

func (RootsAttributes) InternalRef

func (r RootsAttributes) InternalRef() (terra.Reference, error)

func (RootsAttributes) InternalTokens

func (r RootsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RootsAttributes) InternalWithRef

func (r RootsAttributes) InternalWithRef(ref terra.Reference) RootsAttributes

func (RootsAttributes) Name

func (RootsAttributes) PolicyTypes

type RootsPolicyTypesAttributes

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

func (RootsPolicyTypesAttributes) InternalRef

func (pt RootsPolicyTypesAttributes) InternalRef() (terra.Reference, error)

func (RootsPolicyTypesAttributes) InternalTokens

func (pt RootsPolicyTypesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RootsPolicyTypesAttributes) InternalWithRef

func (RootsPolicyTypesAttributes) Status

func (RootsPolicyTypesAttributes) Type

type RootsPolicyTypesState

type RootsPolicyTypesState struct {
	Status string `json:"status"`
	Type   string `json:"type"`
}

type RootsState

type RootsState struct {
	Arn         string                  `json:"arn"`
	Id          string                  `json:"id"`
	Name        string                  `json:"name"`
	PolicyTypes []RootsPolicyTypesState `json:"policy_types"`
}

Jump to

Keyboard shortcuts

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