Documentation ¶
Index ¶
- type Args
- type CreateTableDefaultPermission
- type CreateTableDefaultPermissionAttributes
- func (ctdp CreateTableDefaultPermissionAttributes) InternalRef() (terra.Reference, error)
- func (ctdp CreateTableDefaultPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ctdp CreateTableDefaultPermissionAttributes) InternalWithRef(ref terra.Reference) CreateTableDefaultPermissionAttributes
- func (ctdp CreateTableDefaultPermissionAttributes) Permissions() terra.SetValue[terra.StringValue]
- func (ctdp CreateTableDefaultPermissionAttributes) Principal() terra.ListValue[CreateTableDefaultPermissionPrincipalAttributes]
- type CreateTableDefaultPermissionPrincipal
- type CreateTableDefaultPermissionPrincipalAttributes
- func (p CreateTableDefaultPermissionPrincipalAttributes) DataLakePrincipalIdentifier() terra.StringValue
- func (p CreateTableDefaultPermissionPrincipalAttributes) InternalRef() (terra.Reference, error)
- func (p CreateTableDefaultPermissionPrincipalAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p CreateTableDefaultPermissionPrincipalAttributes) InternalWithRef(ref terra.Reference) CreateTableDefaultPermissionPrincipalAttributes
- type CreateTableDefaultPermissionPrincipalState
- type CreateTableDefaultPermissionState
- type FederatedDatabase
- type FederatedDatabaseAttributes
- func (fd FederatedDatabaseAttributes) ConnectionName() terra.StringValue
- func (fd FederatedDatabaseAttributes) Identifier() terra.StringValue
- func (fd FederatedDatabaseAttributes) InternalRef() (terra.Reference, error)
- func (fd FederatedDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fd FederatedDatabaseAttributes) InternalWithRef(ref terra.Reference) FederatedDatabaseAttributes
- type FederatedDatabaseState
- type Resource
- func (agcd *Resource) Attributes() awsGlueCatalogDatabaseAttributes
- func (agcd *Resource) Configuration() interface{}
- func (agcd *Resource) DependOn() terra.Reference
- func (agcd *Resource) Dependencies() terra.Dependencies
- func (agcd *Resource) ImportState(state io.Reader) error
- func (agcd *Resource) LifecycleManagement() *terra.Lifecycle
- func (agcd *Resource) LocalName() string
- func (agcd *Resource) State() (*awsGlueCatalogDatabaseState, bool)
- func (agcd *Resource) StateMust() *awsGlueCatalogDatabaseState
- func (agcd *Resource) Type() string
- type TargetDatabase
- type TargetDatabaseAttributes
- func (td TargetDatabaseAttributes) CatalogId() terra.StringValue
- func (td TargetDatabaseAttributes) DatabaseName() terra.StringValue
- func (td TargetDatabaseAttributes) InternalRef() (terra.Reference, error)
- func (td TargetDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (td TargetDatabaseAttributes) InternalWithRef(ref terra.Reference) TargetDatabaseAttributes
- func (td TargetDatabaseAttributes) Region() terra.StringValue
- type TargetDatabaseState
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"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LocationUri: string, optional LocationUri terra.StringValue `hcl:"location_uri,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Parameters: map of string, optional Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"` // 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"` // CreateTableDefaultPermission: min=0 CreateTableDefaultPermission []CreateTableDefaultPermission `hcl:"create_table_default_permission,block" validate:"min=0"` // FederatedDatabase: optional FederatedDatabase *FederatedDatabase `hcl:"federated_database,block"` // TargetDatabase: optional TargetDatabase *TargetDatabase `hcl:"target_database,block"` }
Args contains the configurations for aws_glue_catalog_database.
type CreateTableDefaultPermission ¶
type CreateTableDefaultPermission struct { // Permissions: set of string, optional Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr"` // CreateTableDefaultPermissionPrincipal: optional Principal *CreateTableDefaultPermissionPrincipal `hcl:"principal,block"` }
type CreateTableDefaultPermissionAttributes ¶
type CreateTableDefaultPermissionAttributes struct {
// contains filtered or unexported fields
}
func (CreateTableDefaultPermissionAttributes) InternalRef ¶
func (ctdp CreateTableDefaultPermissionAttributes) InternalRef() (terra.Reference, error)
func (CreateTableDefaultPermissionAttributes) InternalTokens ¶
func (ctdp CreateTableDefaultPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CreateTableDefaultPermissionAttributes) InternalWithRef ¶
func (ctdp CreateTableDefaultPermissionAttributes) InternalWithRef(ref terra.Reference) CreateTableDefaultPermissionAttributes
func (CreateTableDefaultPermissionAttributes) Permissions ¶
func (ctdp CreateTableDefaultPermissionAttributes) Permissions() terra.SetValue[terra.StringValue]
func (CreateTableDefaultPermissionAttributes) Principal ¶
func (ctdp CreateTableDefaultPermissionAttributes) Principal() terra.ListValue[CreateTableDefaultPermissionPrincipalAttributes]
type CreateTableDefaultPermissionPrincipal ¶
type CreateTableDefaultPermissionPrincipal struct { // DataLakePrincipalIdentifier: string, optional DataLakePrincipalIdentifier terra.StringValue `hcl:"data_lake_principal_identifier,attr"` }
type CreateTableDefaultPermissionPrincipalAttributes ¶
type CreateTableDefaultPermissionPrincipalAttributes struct {
// contains filtered or unexported fields
}
func (CreateTableDefaultPermissionPrincipalAttributes) DataLakePrincipalIdentifier ¶
func (p CreateTableDefaultPermissionPrincipalAttributes) DataLakePrincipalIdentifier() terra.StringValue
func (CreateTableDefaultPermissionPrincipalAttributes) InternalRef ¶
func (p CreateTableDefaultPermissionPrincipalAttributes) InternalRef() (terra.Reference, error)
func (CreateTableDefaultPermissionPrincipalAttributes) InternalTokens ¶
func (p CreateTableDefaultPermissionPrincipalAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CreateTableDefaultPermissionPrincipalAttributes) InternalWithRef ¶
func (p CreateTableDefaultPermissionPrincipalAttributes) InternalWithRef(ref terra.Reference) CreateTableDefaultPermissionPrincipalAttributes
type CreateTableDefaultPermissionPrincipalState ¶
type CreateTableDefaultPermissionPrincipalState struct {
DataLakePrincipalIdentifier string `json:"data_lake_principal_identifier"`
}
type CreateTableDefaultPermissionState ¶
type CreateTableDefaultPermissionState struct { Permissions []string `json:"permissions"` Principal []CreateTableDefaultPermissionPrincipalState `json:"principal"` }
type FederatedDatabase ¶
type FederatedDatabase struct { // ConnectionName: string, optional ConnectionName terra.StringValue `hcl:"connection_name,attr"` // Identifier: string, optional Identifier terra.StringValue `hcl:"identifier,attr"` }
type FederatedDatabaseAttributes ¶
type FederatedDatabaseAttributes struct {
// contains filtered or unexported fields
}
func (FederatedDatabaseAttributes) ConnectionName ¶
func (fd FederatedDatabaseAttributes) ConnectionName() terra.StringValue
func (FederatedDatabaseAttributes) Identifier ¶
func (fd FederatedDatabaseAttributes) Identifier() terra.StringValue
func (FederatedDatabaseAttributes) InternalRef ¶
func (fd FederatedDatabaseAttributes) InternalRef() (terra.Reference, error)
func (FederatedDatabaseAttributes) InternalTokens ¶
func (fd FederatedDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FederatedDatabaseAttributes) InternalWithRef ¶
func (fd FederatedDatabaseAttributes) InternalWithRef(ref terra.Reference) FederatedDatabaseAttributes
type FederatedDatabaseState ¶
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_glue_catalog_database.
func (*Resource) Attributes ¶
func (agcd *Resource) Attributes() awsGlueCatalogDatabaseAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agcd *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agcd *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 TargetDatabase ¶
type TargetDatabase struct { // CatalogId: string, required CatalogId terra.StringValue `hcl:"catalog_id,attr" validate:"required"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` }
type TargetDatabaseAttributes ¶
type TargetDatabaseAttributes struct {
// contains filtered or unexported fields
}
func (TargetDatabaseAttributes) CatalogId ¶
func (td TargetDatabaseAttributes) CatalogId() terra.StringValue
func (TargetDatabaseAttributes) DatabaseName ¶
func (td TargetDatabaseAttributes) DatabaseName() terra.StringValue
func (TargetDatabaseAttributes) InternalRef ¶
func (td TargetDatabaseAttributes) InternalRef() (terra.Reference, error)
func (TargetDatabaseAttributes) InternalTokens ¶
func (td TargetDatabaseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetDatabaseAttributes) InternalWithRef ¶
func (td TargetDatabaseAttributes) InternalWithRef(ref terra.Reference) TargetDatabaseAttributes
func (TargetDatabaseAttributes) Region ¶
func (td TargetDatabaseAttributes) Region() terra.StringValue
type TargetDatabaseState ¶
Click to show internal directories.
Click to hide internal directories.