Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataDataLocation
- type DataDataLocationAttributes
- func (dl DataDataLocationAttributes) Arn() terra.StringValue
- func (dl DataDataLocationAttributes) CatalogId() terra.StringValue
- func (dl DataDataLocationAttributes) InternalRef() (terra.Reference, error)
- func (dl DataDataLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dl DataDataLocationAttributes) InternalWithRef(ref terra.Reference) DataDataLocationAttributes
- type DataDataLocationState
- type DataDatabase
- type DataDatabaseAttributes
- func (d DataDatabaseAttributes) CatalogId() terra.StringValue
- func (d DataDatabaseAttributes) InternalRef() (terra.Reference, error)
- func (d DataDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DataDatabaseAttributes) InternalWithRef(ref terra.Reference) DataDatabaseAttributes
- func (d DataDatabaseAttributes) Name() terra.StringValue
- type DataDatabaseState
- type DataLfTag
- type DataLfTagAttributes
- func (lt DataLfTagAttributes) CatalogId() terra.StringValue
- func (lt DataLfTagAttributes) InternalRef() (terra.Reference, error)
- func (lt DataLfTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt DataLfTagAttributes) InternalWithRef(ref terra.Reference) DataLfTagAttributes
- func (lt DataLfTagAttributes) Key() terra.StringValue
- func (lt DataLfTagAttributes) Values() terra.SetValue[terra.StringValue]
- type DataLfTagPolicy
- type DataLfTagPolicyAttributes
- func (ltp DataLfTagPolicyAttributes) CatalogId() terra.StringValue
- func (ltp DataLfTagPolicyAttributes) Expression() terra.ListValue[DataLfTagPolicyExpressionAttributes]
- func (ltp DataLfTagPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ltp DataLfTagPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ltp DataLfTagPolicyAttributes) InternalWithRef(ref terra.Reference) DataLfTagPolicyAttributes
- func (ltp DataLfTagPolicyAttributes) ResourceType() terra.StringValue
- type DataLfTagPolicyExpression
- type DataLfTagPolicyExpressionAttributes
- func (e DataLfTagPolicyExpressionAttributes) InternalRef() (terra.Reference, error)
- func (e DataLfTagPolicyExpressionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e DataLfTagPolicyExpressionAttributes) InternalWithRef(ref terra.Reference) DataLfTagPolicyExpressionAttributes
- func (e DataLfTagPolicyExpressionAttributes) Key() terra.StringValue
- func (e DataLfTagPolicyExpressionAttributes) Values() terra.SetValue[terra.StringValue]
- type DataLfTagPolicyExpressionState
- type DataLfTagPolicyState
- type DataLfTagState
- type DataLocation
- type DataLocationAttributes
- func (dl DataLocationAttributes) Arn() terra.StringValue
- func (dl DataLocationAttributes) CatalogId() terra.StringValue
- func (dl DataLocationAttributes) InternalRef() (terra.Reference, error)
- func (dl DataLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dl DataLocationAttributes) InternalWithRef(ref terra.Reference) DataLocationAttributes
- type DataLocationState
- type DataSource
- type DataTable
- type DataTableAttributes
- func (t DataTableAttributes) CatalogId() terra.StringValue
- func (t DataTableAttributes) DatabaseName() terra.StringValue
- func (t DataTableAttributes) InternalRef() (terra.Reference, error)
- func (t DataTableAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t DataTableAttributes) InternalWithRef(ref terra.Reference) DataTableAttributes
- func (t DataTableAttributes) Name() terra.StringValue
- func (t DataTableAttributes) Wildcard() terra.BoolValue
- type DataTableState
- type DataTableWithColumns
- type DataTableWithColumnsAttributes
- func (twc DataTableWithColumnsAttributes) CatalogId() terra.StringValue
- func (twc DataTableWithColumnsAttributes) ColumnNames() terra.SetValue[terra.StringValue]
- func (twc DataTableWithColumnsAttributes) DatabaseName() terra.StringValue
- func (twc DataTableWithColumnsAttributes) ExcludedColumnNames() terra.SetValue[terra.StringValue]
- func (twc DataTableWithColumnsAttributes) InternalRef() (terra.Reference, error)
- func (twc DataTableWithColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (twc DataTableWithColumnsAttributes) InternalWithRef(ref terra.Reference) DataTableWithColumnsAttributes
- func (twc DataTableWithColumnsAttributes) Name() terra.StringValue
- func (twc DataTableWithColumnsAttributes) Wildcard() terra.BoolValue
- type DataTableWithColumnsState
- type Database
- type DatabaseAttributes
- func (d DatabaseAttributes) CatalogId() terra.StringValue
- func (d DatabaseAttributes) InternalRef() (terra.Reference, error)
- func (d DatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DatabaseAttributes) InternalWithRef(ref terra.Reference) DatabaseAttributes
- func (d DatabaseAttributes) Name() terra.StringValue
- type DatabaseState
- type LfTag
- type LfTagAttributes
- func (lt LfTagAttributes) CatalogId() terra.StringValue
- func (lt LfTagAttributes) InternalRef() (terra.Reference, error)
- func (lt LfTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt LfTagAttributes) InternalWithRef(ref terra.Reference) LfTagAttributes
- func (lt LfTagAttributes) Key() terra.StringValue
- func (lt LfTagAttributes) Values() terra.SetValue[terra.StringValue]
- type LfTagPolicy
- type LfTagPolicyAttributes
- func (ltp LfTagPolicyAttributes) CatalogId() terra.StringValue
- func (ltp LfTagPolicyAttributes) Expression() terra.ListValue[LfTagPolicyExpressionAttributes]
- func (ltp LfTagPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ltp LfTagPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ltp LfTagPolicyAttributes) InternalWithRef(ref terra.Reference) LfTagPolicyAttributes
- func (ltp LfTagPolicyAttributes) ResourceType() terra.StringValue
- type LfTagPolicyExpression
- type LfTagPolicyExpressionAttributes
- func (e LfTagPolicyExpressionAttributes) InternalRef() (terra.Reference, error)
- func (e LfTagPolicyExpressionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e LfTagPolicyExpressionAttributes) InternalWithRef(ref terra.Reference) LfTagPolicyExpressionAttributes
- func (e LfTagPolicyExpressionAttributes) Key() terra.StringValue
- func (e LfTagPolicyExpressionAttributes) Values() terra.SetValue[terra.StringValue]
- type LfTagPolicyExpressionState
- type LfTagPolicyState
- type LfTagState
- type Resource
- func (alp *Resource) Attributes() awsLakeformationPermissionsAttributes
- func (alp *Resource) Configuration() interface{}
- func (alp *Resource) DependOn() terra.Reference
- func (alp *Resource) Dependencies() terra.Dependencies
- func (alp *Resource) ImportState(state io.Reader) error
- func (alp *Resource) LifecycleManagement() *terra.Lifecycle
- func (alp *Resource) LocalName() string
- func (alp *Resource) State() (*awsLakeformationPermissionsState, bool)
- func (alp *Resource) StateMust() *awsLakeformationPermissionsState
- func (alp *Resource) Type() string
- type Table
- type TableAttributes
- func (t TableAttributes) CatalogId() terra.StringValue
- func (t TableAttributes) DatabaseName() terra.StringValue
- func (t TableAttributes) InternalRef() (terra.Reference, error)
- func (t TableAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TableAttributes) InternalWithRef(ref terra.Reference) TableAttributes
- func (t TableAttributes) Name() terra.StringValue
- func (t TableAttributes) Wildcard() terra.BoolValue
- type TableState
- type TableWithColumns
- type TableWithColumnsAttributes
- func (twc TableWithColumnsAttributes) CatalogId() terra.StringValue
- func (twc TableWithColumnsAttributes) ColumnNames() terra.SetValue[terra.StringValue]
- func (twc TableWithColumnsAttributes) DatabaseName() terra.StringValue
- func (twc TableWithColumnsAttributes) ExcludedColumnNames() terra.SetValue[terra.StringValue]
- func (twc TableWithColumnsAttributes) InternalRef() (terra.Reference, error)
- func (twc TableWithColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (twc TableWithColumnsAttributes) InternalWithRef(ref terra.Reference) TableWithColumnsAttributes
- func (twc TableWithColumnsAttributes) Name() terra.StringValue
- func (twc TableWithColumnsAttributes) Wildcard() terra.BoolValue
- type TableWithColumnsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // CatalogResource: bool, optional CatalogResource terra.BoolValue `hcl:"catalog_resource,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Permissions: list of string, required Permissions terra.ListValue[terra.StringValue] `hcl:"permissions,attr" validate:"required"` // PermissionsWithGrantOption: list of string, optional PermissionsWithGrantOption terra.ListValue[terra.StringValue] `hcl:"permissions_with_grant_option,attr"` // Principal: string, required Principal terra.StringValue `hcl:"principal,attr" validate:"required"` // DataLocation: optional DataLocation *DataLocation `hcl:"data_location,block"` // Database: optional Database *Database `hcl:"database,block"` // LfTag: optional LfTag *LfTag `hcl:"lf_tag,block"` // LfTagPolicy: optional LfTagPolicy *LfTagPolicy `hcl:"lf_tag_policy,block"` // Table: optional Table *Table `hcl:"table,block"` // TableWithColumns: optional TableWithColumns *TableWithColumns `hcl:"table_with_columns,block"` }
Args contains the configurations for aws_lakeformation_permissions.
type DataArgs ¶
type DataArgs struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // CatalogResource: bool, optional CatalogResource terra.BoolValue `hcl:"catalog_resource,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Principal: string, required Principal terra.StringValue `hcl:"principal,attr" validate:"required"` // DataLocation: optional DataLocation *DataDataLocation `hcl:"data_location,block"` // Database: optional Database *DataDatabase `hcl:"database,block"` // LfTag: optional LfTag *DataLfTag `hcl:"lf_tag,block"` // LfTagPolicy: optional LfTagPolicy *DataLfTagPolicy `hcl:"lf_tag_policy,block"` // Table: optional Table *DataTable `hcl:"table,block"` // TableWithColumns: optional TableWithColumns *DataTableWithColumns `hcl:"table_with_columns,block"` }
DataArgs contains the configurations for aws_lakeformation_permissions.
type DataDataLocation ¶
type DataDataLocation struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,attr" validate:"required"` // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` }
type DataDataLocationAttributes ¶
type DataDataLocationAttributes struct {
// contains filtered or unexported fields
}
func (DataDataLocationAttributes) Arn ¶
func (dl DataDataLocationAttributes) Arn() terra.StringValue
func (DataDataLocationAttributes) CatalogId ¶
func (dl DataDataLocationAttributes) CatalogId() terra.StringValue
func (DataDataLocationAttributes) InternalRef ¶
func (dl DataDataLocationAttributes) InternalRef() (terra.Reference, error)
func (DataDataLocationAttributes) InternalTokens ¶
func (dl DataDataLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDataLocationAttributes) InternalWithRef ¶
func (dl DataDataLocationAttributes) InternalWithRef(ref terra.Reference) DataDataLocationAttributes
type DataDataLocationState ¶
type DataDatabase ¶
type DataDatabase struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type DataDatabaseAttributes ¶
type DataDatabaseAttributes struct {
// contains filtered or unexported fields
}
func (DataDatabaseAttributes) CatalogId ¶
func (d DataDatabaseAttributes) CatalogId() terra.StringValue
func (DataDatabaseAttributes) InternalRef ¶
func (d DataDatabaseAttributes) InternalRef() (terra.Reference, error)
func (DataDatabaseAttributes) InternalTokens ¶
func (d DataDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDatabaseAttributes) InternalWithRef ¶
func (d DataDatabaseAttributes) InternalWithRef(ref terra.Reference) DataDatabaseAttributes
func (DataDatabaseAttributes) Name ¶
func (d DataDatabaseAttributes) Name() terra.StringValue
type DataDatabaseState ¶
type DataLfTag ¶
type DataLfTag struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type DataLfTagAttributes ¶
type DataLfTagAttributes struct {
// contains filtered or unexported fields
}
func (DataLfTagAttributes) CatalogId ¶
func (lt DataLfTagAttributes) CatalogId() terra.StringValue
func (DataLfTagAttributes) InternalRef ¶
func (lt DataLfTagAttributes) InternalRef() (terra.Reference, error)
func (DataLfTagAttributes) InternalTokens ¶
func (lt DataLfTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLfTagAttributes) InternalWithRef ¶
func (lt DataLfTagAttributes) InternalWithRef(ref terra.Reference) DataLfTagAttributes
func (DataLfTagAttributes) Key ¶
func (lt DataLfTagAttributes) Key() terra.StringValue
func (DataLfTagAttributes) Values ¶
func (lt DataLfTagAttributes) Values() terra.SetValue[terra.StringValue]
type DataLfTagPolicy ¶
type DataLfTagPolicy struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // ResourceType: string, required ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"` // LfTagPolicyExpression: min=1,max=5 Expression []DataLfTagPolicyExpression `hcl:"expression,block" validate:"min=1,max=5"` }
type DataLfTagPolicyAttributes ¶
type DataLfTagPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataLfTagPolicyAttributes) CatalogId ¶
func (ltp DataLfTagPolicyAttributes) CatalogId() terra.StringValue
func (DataLfTagPolicyAttributes) Expression ¶
func (ltp DataLfTagPolicyAttributes) Expression() terra.ListValue[DataLfTagPolicyExpressionAttributes]
func (DataLfTagPolicyAttributes) InternalRef ¶
func (ltp DataLfTagPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataLfTagPolicyAttributes) InternalTokens ¶
func (ltp DataLfTagPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLfTagPolicyAttributes) InternalWithRef ¶
func (ltp DataLfTagPolicyAttributes) InternalWithRef(ref terra.Reference) DataLfTagPolicyAttributes
func (DataLfTagPolicyAttributes) ResourceType ¶
func (ltp DataLfTagPolicyAttributes) ResourceType() terra.StringValue
type DataLfTagPolicyExpression ¶
type DataLfTagPolicyExpression struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type DataLfTagPolicyExpressionAttributes ¶
type DataLfTagPolicyExpressionAttributes struct {
// contains filtered or unexported fields
}
func (DataLfTagPolicyExpressionAttributes) InternalRef ¶
func (e DataLfTagPolicyExpressionAttributes) InternalRef() (terra.Reference, error)
func (DataLfTagPolicyExpressionAttributes) InternalTokens ¶
func (e DataLfTagPolicyExpressionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLfTagPolicyExpressionAttributes) InternalWithRef ¶
func (e DataLfTagPolicyExpressionAttributes) InternalWithRef(ref terra.Reference) DataLfTagPolicyExpressionAttributes
func (DataLfTagPolicyExpressionAttributes) Key ¶
func (e DataLfTagPolicyExpressionAttributes) Key() terra.StringValue
func (DataLfTagPolicyExpressionAttributes) Values ¶
func (e DataLfTagPolicyExpressionAttributes) Values() terra.SetValue[terra.StringValue]
type DataLfTagPolicyState ¶
type DataLfTagPolicyState struct { CatalogId string `json:"catalog_id"` ResourceType string `json:"resource_type"` Expression []DataLfTagPolicyExpressionState `json:"expression"` }
type DataLfTagState ¶
type DataLocation ¶
type DataLocation struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,attr" validate:"required"` // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` }
type DataLocationAttributes ¶
type DataLocationAttributes struct {
// contains filtered or unexported fields
}
func (DataLocationAttributes) Arn ¶
func (dl DataLocationAttributes) Arn() terra.StringValue
func (DataLocationAttributes) CatalogId ¶
func (dl DataLocationAttributes) CatalogId() terra.StringValue
func (DataLocationAttributes) InternalRef ¶
func (dl DataLocationAttributes) InternalRef() (terra.Reference, error)
func (DataLocationAttributes) InternalTokens ¶
func (dl DataLocationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLocationAttributes) InternalWithRef ¶
func (dl DataLocationAttributes) InternalWithRef(ref terra.Reference) DataLocationAttributes
type DataLocationState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_lakeformation_permissions.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (alp *DataSource) Attributes() dataAwsLakeformationPermissionsAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (alp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (alp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (alp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTable ¶
type DataTable struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Wildcard: bool, optional Wildcard terra.BoolValue `hcl:"wildcard,attr"` }
type DataTableAttributes ¶
type DataTableAttributes struct {
// contains filtered or unexported fields
}
func (DataTableAttributes) CatalogId ¶
func (t DataTableAttributes) CatalogId() terra.StringValue
func (DataTableAttributes) DatabaseName ¶
func (t DataTableAttributes) DatabaseName() terra.StringValue
func (DataTableAttributes) InternalRef ¶
func (t DataTableAttributes) InternalRef() (terra.Reference, error)
func (DataTableAttributes) InternalTokens ¶
func (t DataTableAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTableAttributes) InternalWithRef ¶
func (t DataTableAttributes) InternalWithRef(ref terra.Reference) DataTableAttributes
func (DataTableAttributes) Name ¶
func (t DataTableAttributes) Name() terra.StringValue
func (DataTableAttributes) Wildcard ¶
func (t DataTableAttributes) Wildcard() terra.BoolValue
type DataTableState ¶
type DataTableWithColumns ¶
type DataTableWithColumns struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // ColumnNames: set of string, optional ColumnNames terra.SetValue[terra.StringValue] `hcl:"column_names,attr"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // ExcludedColumnNames: set of string, optional ExcludedColumnNames terra.SetValue[terra.StringValue] `hcl:"excluded_column_names,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Wildcard: bool, optional Wildcard terra.BoolValue `hcl:"wildcard,attr"` }
type DataTableWithColumnsAttributes ¶
type DataTableWithColumnsAttributes struct {
// contains filtered or unexported fields
}
func (DataTableWithColumnsAttributes) CatalogId ¶
func (twc DataTableWithColumnsAttributes) CatalogId() terra.StringValue
func (DataTableWithColumnsAttributes) ColumnNames ¶
func (twc DataTableWithColumnsAttributes) ColumnNames() terra.SetValue[terra.StringValue]
func (DataTableWithColumnsAttributes) DatabaseName ¶
func (twc DataTableWithColumnsAttributes) DatabaseName() terra.StringValue
func (DataTableWithColumnsAttributes) ExcludedColumnNames ¶
func (twc DataTableWithColumnsAttributes) ExcludedColumnNames() terra.SetValue[terra.StringValue]
func (DataTableWithColumnsAttributes) InternalRef ¶
func (twc DataTableWithColumnsAttributes) InternalRef() (terra.Reference, error)
func (DataTableWithColumnsAttributes) InternalTokens ¶
func (twc DataTableWithColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTableWithColumnsAttributes) InternalWithRef ¶
func (twc DataTableWithColumnsAttributes) InternalWithRef(ref terra.Reference) DataTableWithColumnsAttributes
func (DataTableWithColumnsAttributes) Name ¶
func (twc DataTableWithColumnsAttributes) Name() terra.StringValue
func (DataTableWithColumnsAttributes) Wildcard ¶
func (twc DataTableWithColumnsAttributes) Wildcard() terra.BoolValue
type Database ¶
type Database struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type DatabaseAttributes ¶
type DatabaseAttributes struct {
// contains filtered or unexported fields
}
func (DatabaseAttributes) CatalogId ¶
func (d DatabaseAttributes) CatalogId() terra.StringValue
func (DatabaseAttributes) InternalRef ¶
func (d DatabaseAttributes) InternalRef() (terra.Reference, error)
func (DatabaseAttributes) InternalTokens ¶
func (d DatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DatabaseAttributes) InternalWithRef ¶
func (d DatabaseAttributes) InternalWithRef(ref terra.Reference) DatabaseAttributes
func (DatabaseAttributes) Name ¶
func (d DatabaseAttributes) Name() terra.StringValue
type DatabaseState ¶
type LfTag ¶
type LfTag struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type LfTagAttributes ¶
type LfTagAttributes struct {
// contains filtered or unexported fields
}
func (LfTagAttributes) CatalogId ¶
func (lt LfTagAttributes) CatalogId() terra.StringValue
func (LfTagAttributes) InternalRef ¶
func (lt LfTagAttributes) InternalRef() (terra.Reference, error)
func (LfTagAttributes) InternalTokens ¶
func (lt LfTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LfTagAttributes) InternalWithRef ¶
func (lt LfTagAttributes) InternalWithRef(ref terra.Reference) LfTagAttributes
func (LfTagAttributes) Key ¶
func (lt LfTagAttributes) Key() terra.StringValue
func (LfTagAttributes) Values ¶
func (lt LfTagAttributes) Values() terra.SetValue[terra.StringValue]
type LfTagPolicy ¶
type LfTagPolicy struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // ResourceType: string, required ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"` // LfTagPolicyExpression: min=1,max=5 Expression []LfTagPolicyExpression `hcl:"expression,block" validate:"min=1,max=5"` }
type LfTagPolicyAttributes ¶
type LfTagPolicyAttributes struct {
// contains filtered or unexported fields
}
func (LfTagPolicyAttributes) CatalogId ¶
func (ltp LfTagPolicyAttributes) CatalogId() terra.StringValue
func (LfTagPolicyAttributes) Expression ¶
func (ltp LfTagPolicyAttributes) Expression() terra.ListValue[LfTagPolicyExpressionAttributes]
func (LfTagPolicyAttributes) InternalRef ¶
func (ltp LfTagPolicyAttributes) InternalRef() (terra.Reference, error)
func (LfTagPolicyAttributes) InternalTokens ¶
func (ltp LfTagPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LfTagPolicyAttributes) InternalWithRef ¶
func (ltp LfTagPolicyAttributes) InternalWithRef(ref terra.Reference) LfTagPolicyAttributes
func (LfTagPolicyAttributes) ResourceType ¶
func (ltp LfTagPolicyAttributes) ResourceType() terra.StringValue
type LfTagPolicyExpression ¶
type LfTagPolicyExpression struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type LfTagPolicyExpressionAttributes ¶
type LfTagPolicyExpressionAttributes struct {
// contains filtered or unexported fields
}
func (LfTagPolicyExpressionAttributes) InternalRef ¶
func (e LfTagPolicyExpressionAttributes) InternalRef() (terra.Reference, error)
func (LfTagPolicyExpressionAttributes) InternalTokens ¶
func (e LfTagPolicyExpressionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LfTagPolicyExpressionAttributes) InternalWithRef ¶
func (e LfTagPolicyExpressionAttributes) InternalWithRef(ref terra.Reference) LfTagPolicyExpressionAttributes
func (LfTagPolicyExpressionAttributes) Key ¶
func (e LfTagPolicyExpressionAttributes) Key() terra.StringValue
func (LfTagPolicyExpressionAttributes) Values ¶
func (e LfTagPolicyExpressionAttributes) Values() terra.SetValue[terra.StringValue]
type LfTagPolicyState ¶
type LfTagPolicyState struct { CatalogId string `json:"catalog_id"` ResourceType string `json:"resource_type"` Expression []LfTagPolicyExpressionState `json:"expression"` }
type LfTagState ¶
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_lakeformation_permissions.
func (*Resource) Attributes ¶
func (alp *Resource) Attributes() awsLakeformationPermissionsAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (alp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (alp *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.
type Table ¶
type Table struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Wildcard: bool, optional Wildcard terra.BoolValue `hcl:"wildcard,attr"` }
type TableAttributes ¶
type TableAttributes struct {
// contains filtered or unexported fields
}
func (TableAttributes) CatalogId ¶
func (t TableAttributes) CatalogId() terra.StringValue
func (TableAttributes) DatabaseName ¶
func (t TableAttributes) DatabaseName() terra.StringValue
func (TableAttributes) InternalRef ¶
func (t TableAttributes) InternalRef() (terra.Reference, error)
func (TableAttributes) InternalTokens ¶
func (t TableAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TableAttributes) InternalWithRef ¶
func (t TableAttributes) InternalWithRef(ref terra.Reference) TableAttributes
func (TableAttributes) Name ¶
func (t TableAttributes) Name() terra.StringValue
func (TableAttributes) Wildcard ¶
func (t TableAttributes) Wildcard() terra.BoolValue
type TableState ¶
type TableWithColumns ¶
type TableWithColumns struct { // CatalogId: string, optional CatalogId terra.StringValue `hcl:"catalog_id,attr"` // ColumnNames: set of string, optional ColumnNames terra.SetValue[terra.StringValue] `hcl:"column_names,attr"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // ExcludedColumnNames: set of string, optional ExcludedColumnNames terra.SetValue[terra.StringValue] `hcl:"excluded_column_names,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Wildcard: bool, optional Wildcard terra.BoolValue `hcl:"wildcard,attr"` }
type TableWithColumnsAttributes ¶
type TableWithColumnsAttributes struct {
// contains filtered or unexported fields
}
func (TableWithColumnsAttributes) CatalogId ¶
func (twc TableWithColumnsAttributes) CatalogId() terra.StringValue
func (TableWithColumnsAttributes) ColumnNames ¶
func (twc TableWithColumnsAttributes) ColumnNames() terra.SetValue[terra.StringValue]
func (TableWithColumnsAttributes) DatabaseName ¶
func (twc TableWithColumnsAttributes) DatabaseName() terra.StringValue
func (TableWithColumnsAttributes) ExcludedColumnNames ¶
func (twc TableWithColumnsAttributes) ExcludedColumnNames() terra.SetValue[terra.StringValue]
func (TableWithColumnsAttributes) InternalRef ¶
func (twc TableWithColumnsAttributes) InternalRef() (terra.Reference, error)
func (TableWithColumnsAttributes) InternalTokens ¶
func (twc TableWithColumnsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TableWithColumnsAttributes) InternalWithRef ¶
func (twc TableWithColumnsAttributes) InternalWithRef(ref terra.Reference) TableWithColumnsAttributes
func (TableWithColumnsAttributes) Name ¶
func (twc TableWithColumnsAttributes) Name() terra.StringValue
func (TableWithColumnsAttributes) Wildcard ¶
func (twc TableWithColumnsAttributes) Wildcard() terra.BoolValue