Documentation ¶
Index ¶
- type AccountsAttributes
- func (a AccountsAttributes) Arn() terra.StringValue
- func (a AccountsAttributes) Email() terra.StringValue
- func (a AccountsAttributes) Id() terra.StringValue
- func (a AccountsAttributes) InternalRef() (terra.Reference, error)
- func (a AccountsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AccountsAttributes) InternalWithRef(ref terra.Reference) AccountsAttributes
- func (a AccountsAttributes) Name() terra.StringValue
- type AccountsState
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (aoou *Resource) Attributes() awsOrganizationsOrganizationalUnitAttributes
- func (aoou *Resource) Configuration() interface{}
- func (aoou *Resource) DependOn() terra.Reference
- func (aoou *Resource) Dependencies() terra.Dependencies
- func (aoou *Resource) ImportState(state io.Reader) error
- func (aoou *Resource) LifecycleManagement() *terra.Lifecycle
- func (aoou *Resource) LocalName() string
- func (aoou *Resource) State() (*awsOrganizationsOrganizationalUnitState, bool)
- func (aoou *Resource) StateMust() *awsOrganizationsOrganizationalUnitState
- func (aoou *Resource) Type() string
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 (a AccountsAttributes) Arn() terra.StringValue
func (AccountsAttributes) Email ¶
func (a AccountsAttributes) Email() terra.StringValue
func (AccountsAttributes) Id ¶
func (a AccountsAttributes) Id() terra.StringValue
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 (a AccountsAttributes) Name() terra.StringValue
type AccountsState ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ParentId: string, required ParentId terra.StringValue `hcl:"parent_id,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` }
Args contains the configurations for aws_organizations_organizational_unit.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ParentId: string, required ParentId terra.StringValue `hcl:"parent_id,attr" validate:"required"` }
DataArgs contains the configurations for aws_organizations_organizational_unit.
type DataSource ¶
DataSource represents the Terraform data resource aws_organizations_organizational_unit.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aoou *DataSource) Attributes() dataAwsOrganizationsOrganizationalUnitAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aoou *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aoou *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aoou *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_organizational_unit.
func (*Resource) Attributes ¶
func (aoou *Resource) Attributes() awsOrganizationsOrganizationalUnitAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aoou *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aoou *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.