Documentation ¶
Index ¶
- type Args
- type CatalogTarget
- type CatalogTargetAttributes
- func (ct CatalogTargetAttributes) DatabaseName() terra.StringValue
- func (ct CatalogTargetAttributes) InternalRef() (terra.Reference, error)
- func (ct CatalogTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ct CatalogTargetAttributes) InternalWithRef(ref terra.Reference) CatalogTargetAttributes
- func (ct CatalogTargetAttributes) Tables() terra.ListValue[terra.StringValue]
- type CatalogTargetState
- type DeltaTarget
- type DeltaTargetAttributes
- func (dt DeltaTargetAttributes) ConnectionName() terra.StringValue
- func (dt DeltaTargetAttributes) DeltaTables() terra.SetValue[terra.StringValue]
- func (dt DeltaTargetAttributes) InternalRef() (terra.Reference, error)
- func (dt DeltaTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dt DeltaTargetAttributes) InternalWithRef(ref terra.Reference) DeltaTargetAttributes
- func (dt DeltaTargetAttributes) WriteManifest() terra.BoolValue
- type DeltaTargetState
- type DynamodbTarget
- type DynamodbTargetAttributes
- func (dt DynamodbTargetAttributes) InternalRef() (terra.Reference, error)
- func (dt DynamodbTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dt DynamodbTargetAttributes) InternalWithRef(ref terra.Reference) DynamodbTargetAttributes
- func (dt DynamodbTargetAttributes) Path() terra.StringValue
- func (dt DynamodbTargetAttributes) ScanAll() terra.BoolValue
- func (dt DynamodbTargetAttributes) ScanRate() terra.NumberValue
- type DynamodbTargetState
- type JdbcTarget
- type JdbcTargetAttributes
- func (jt JdbcTargetAttributes) ConnectionName() terra.StringValue
- func (jt JdbcTargetAttributes) Exclusions() terra.ListValue[terra.StringValue]
- func (jt JdbcTargetAttributes) InternalRef() (terra.Reference, error)
- func (jt JdbcTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (jt JdbcTargetAttributes) InternalWithRef(ref terra.Reference) JdbcTargetAttributes
- func (jt JdbcTargetAttributes) Path() terra.StringValue
- type JdbcTargetState
- type LineageConfiguration
- type LineageConfigurationAttributes
- func (lc LineageConfigurationAttributes) CrawlerLineageSettings() terra.StringValue
- func (lc LineageConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc LineageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc LineageConfigurationAttributes) InternalWithRef(ref terra.Reference) LineageConfigurationAttributes
- type LineageConfigurationState
- type MongodbTarget
- type MongodbTargetAttributes
- func (mt MongodbTargetAttributes) ConnectionName() terra.StringValue
- func (mt MongodbTargetAttributes) InternalRef() (terra.Reference, error)
- func (mt MongodbTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mt MongodbTargetAttributes) InternalWithRef(ref terra.Reference) MongodbTargetAttributes
- func (mt MongodbTargetAttributes) Path() terra.StringValue
- func (mt MongodbTargetAttributes) ScanAll() terra.BoolValue
- type MongodbTargetState
- type RecrawlPolicy
- type RecrawlPolicyAttributes
- func (rp RecrawlPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp RecrawlPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp RecrawlPolicyAttributes) InternalWithRef(ref terra.Reference) RecrawlPolicyAttributes
- func (rp RecrawlPolicyAttributes) RecrawlBehavior() terra.StringValue
- type RecrawlPolicyState
- type Resource
- func (agc *Resource) Attributes() awsGlueCrawlerAttributes
- func (agc *Resource) Configuration() interface{}
- func (agc *Resource) DependOn() terra.Reference
- func (agc *Resource) Dependencies() terra.Dependencies
- func (agc *Resource) ImportState(state io.Reader) error
- func (agc *Resource) LifecycleManagement() *terra.Lifecycle
- func (agc *Resource) LocalName() string
- func (agc *Resource) State() (*awsGlueCrawlerState, bool)
- func (agc *Resource) StateMust() *awsGlueCrawlerState
- func (agc *Resource) Type() string
- type S3Target
- type S3TargetAttributes
- func (st S3TargetAttributes) ConnectionName() terra.StringValue
- func (st S3TargetAttributes) DlqEventQueueArn() terra.StringValue
- func (st S3TargetAttributes) EventQueueArn() terra.StringValue
- func (st S3TargetAttributes) Exclusions() terra.ListValue[terra.StringValue]
- func (st S3TargetAttributes) InternalRef() (terra.Reference, error)
- func (st S3TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st S3TargetAttributes) InternalWithRef(ref terra.Reference) S3TargetAttributes
- func (st S3TargetAttributes) Path() terra.StringValue
- func (st S3TargetAttributes) SampleSize() terra.NumberValue
- type S3TargetState
- type SchemaChangePolicy
- type SchemaChangePolicyAttributes
- func (scp SchemaChangePolicyAttributes) DeleteBehavior() terra.StringValue
- func (scp SchemaChangePolicyAttributes) InternalRef() (terra.Reference, error)
- func (scp SchemaChangePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scp SchemaChangePolicyAttributes) InternalWithRef(ref terra.Reference) SchemaChangePolicyAttributes
- func (scp SchemaChangePolicyAttributes) UpdateBehavior() terra.StringValue
- type SchemaChangePolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Classifiers: list of string, optional Classifiers terra.ListValue[terra.StringValue] `hcl:"classifiers,attr"` // Configuration: string, optional Configuration terra.StringValue `hcl:"configuration,attr"` // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Role: string, required Role terra.StringValue `hcl:"role,attr" validate:"required"` // Schedule: string, optional Schedule terra.StringValue `hcl:"schedule,attr"` // SecurityConfiguration: string, optional SecurityConfiguration terra.StringValue `hcl:"security_configuration,attr"` // TablePrefix: string, optional TablePrefix terra.StringValue `hcl:"table_prefix,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"` // CatalogTarget: min=0 CatalogTarget []CatalogTarget `hcl:"catalog_target,block" validate:"min=0"` // DeltaTarget: min=0 DeltaTarget []DeltaTarget `hcl:"delta_target,block" validate:"min=0"` // DynamodbTarget: min=0 DynamodbTarget []DynamodbTarget `hcl:"dynamodb_target,block" validate:"min=0"` // JdbcTarget: min=0 JdbcTarget []JdbcTarget `hcl:"jdbc_target,block" validate:"min=0"` // LineageConfiguration: optional LineageConfiguration *LineageConfiguration `hcl:"lineage_configuration,block"` // MongodbTarget: min=0 MongodbTarget []MongodbTarget `hcl:"mongodb_target,block" validate:"min=0"` // RecrawlPolicy: optional RecrawlPolicy *RecrawlPolicy `hcl:"recrawl_policy,block"` // S3Target: min=0 S3Target []S3Target `hcl:"s3_target,block" validate:"min=0"` // SchemaChangePolicy: optional SchemaChangePolicy *SchemaChangePolicy `hcl:"schema_change_policy,block"` }
Args contains the configurations for aws_glue_crawler.
type CatalogTarget ¶
type CatalogTarget struct { // DatabaseName: string, required DatabaseName terra.StringValue `hcl:"database_name,attr" validate:"required"` // Tables: list of string, required Tables terra.ListValue[terra.StringValue] `hcl:"tables,attr" validate:"required"` }
type CatalogTargetAttributes ¶
type CatalogTargetAttributes struct {
// contains filtered or unexported fields
}
func (CatalogTargetAttributes) DatabaseName ¶
func (ct CatalogTargetAttributes) DatabaseName() terra.StringValue
func (CatalogTargetAttributes) InternalRef ¶
func (ct CatalogTargetAttributes) InternalRef() (terra.Reference, error)
func (CatalogTargetAttributes) InternalTokens ¶
func (ct CatalogTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CatalogTargetAttributes) InternalWithRef ¶
func (ct CatalogTargetAttributes) InternalWithRef(ref terra.Reference) CatalogTargetAttributes
func (CatalogTargetAttributes) Tables ¶
func (ct CatalogTargetAttributes) Tables() terra.ListValue[terra.StringValue]
type CatalogTargetState ¶
type DeltaTarget ¶
type DeltaTarget struct { // ConnectionName: string, required ConnectionName terra.StringValue `hcl:"connection_name,attr" validate:"required"` // DeltaTables: set of string, required DeltaTables terra.SetValue[terra.StringValue] `hcl:"delta_tables,attr" validate:"required"` // WriteManifest: bool, required WriteManifest terra.BoolValue `hcl:"write_manifest,attr" validate:"required"` }
type DeltaTargetAttributes ¶
type DeltaTargetAttributes struct {
// contains filtered or unexported fields
}
func (DeltaTargetAttributes) ConnectionName ¶
func (dt DeltaTargetAttributes) ConnectionName() terra.StringValue
func (DeltaTargetAttributes) DeltaTables ¶
func (dt DeltaTargetAttributes) DeltaTables() terra.SetValue[terra.StringValue]
func (DeltaTargetAttributes) InternalRef ¶
func (dt DeltaTargetAttributes) InternalRef() (terra.Reference, error)
func (DeltaTargetAttributes) InternalTokens ¶
func (dt DeltaTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeltaTargetAttributes) InternalWithRef ¶
func (dt DeltaTargetAttributes) InternalWithRef(ref terra.Reference) DeltaTargetAttributes
func (DeltaTargetAttributes) WriteManifest ¶
func (dt DeltaTargetAttributes) WriteManifest() terra.BoolValue
type DeltaTargetState ¶
type DynamodbTarget ¶
type DynamodbTarget struct { // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // ScanAll: bool, optional ScanAll terra.BoolValue `hcl:"scan_all,attr"` // ScanRate: number, optional ScanRate terra.NumberValue `hcl:"scan_rate,attr"` }
type DynamodbTargetAttributes ¶
type DynamodbTargetAttributes struct {
// contains filtered or unexported fields
}
func (DynamodbTargetAttributes) InternalRef ¶
func (dt DynamodbTargetAttributes) InternalRef() (terra.Reference, error)
func (DynamodbTargetAttributes) InternalTokens ¶
func (dt DynamodbTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DynamodbTargetAttributes) InternalWithRef ¶
func (dt DynamodbTargetAttributes) InternalWithRef(ref terra.Reference) DynamodbTargetAttributes
func (DynamodbTargetAttributes) Path ¶
func (dt DynamodbTargetAttributes) Path() terra.StringValue
func (DynamodbTargetAttributes) ScanAll ¶
func (dt DynamodbTargetAttributes) ScanAll() terra.BoolValue
func (DynamodbTargetAttributes) ScanRate ¶
func (dt DynamodbTargetAttributes) ScanRate() terra.NumberValue
type DynamodbTargetState ¶
type JdbcTarget ¶
type JdbcTarget struct { // ConnectionName: string, required ConnectionName terra.StringValue `hcl:"connection_name,attr" validate:"required"` // Exclusions: list of string, optional Exclusions terra.ListValue[terra.StringValue] `hcl:"exclusions,attr"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` }
type JdbcTargetAttributes ¶
type JdbcTargetAttributes struct {
// contains filtered or unexported fields
}
func (JdbcTargetAttributes) ConnectionName ¶
func (jt JdbcTargetAttributes) ConnectionName() terra.StringValue
func (JdbcTargetAttributes) Exclusions ¶
func (jt JdbcTargetAttributes) Exclusions() terra.ListValue[terra.StringValue]
func (JdbcTargetAttributes) InternalRef ¶
func (jt JdbcTargetAttributes) InternalRef() (terra.Reference, error)
func (JdbcTargetAttributes) InternalTokens ¶
func (jt JdbcTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (JdbcTargetAttributes) InternalWithRef ¶
func (jt JdbcTargetAttributes) InternalWithRef(ref terra.Reference) JdbcTargetAttributes
func (JdbcTargetAttributes) Path ¶
func (jt JdbcTargetAttributes) Path() terra.StringValue
type JdbcTargetState ¶
type LineageConfiguration ¶
type LineageConfiguration struct { // CrawlerLineageSettings: string, optional CrawlerLineageSettings terra.StringValue `hcl:"crawler_lineage_settings,attr"` }
type LineageConfigurationAttributes ¶
type LineageConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (LineageConfigurationAttributes) CrawlerLineageSettings ¶
func (lc LineageConfigurationAttributes) CrawlerLineageSettings() terra.StringValue
func (LineageConfigurationAttributes) InternalRef ¶
func (lc LineageConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LineageConfigurationAttributes) InternalTokens ¶
func (lc LineageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LineageConfigurationAttributes) InternalWithRef ¶
func (lc LineageConfigurationAttributes) InternalWithRef(ref terra.Reference) LineageConfigurationAttributes
type LineageConfigurationState ¶
type LineageConfigurationState struct {
CrawlerLineageSettings string `json:"crawler_lineage_settings"`
}
type MongodbTarget ¶
type MongodbTarget struct { // ConnectionName: string, required ConnectionName terra.StringValue `hcl:"connection_name,attr" validate:"required"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // ScanAll: bool, optional ScanAll terra.BoolValue `hcl:"scan_all,attr"` }
type MongodbTargetAttributes ¶
type MongodbTargetAttributes struct {
// contains filtered or unexported fields
}
func (MongodbTargetAttributes) ConnectionName ¶
func (mt MongodbTargetAttributes) ConnectionName() terra.StringValue
func (MongodbTargetAttributes) InternalRef ¶
func (mt MongodbTargetAttributes) InternalRef() (terra.Reference, error)
func (MongodbTargetAttributes) InternalTokens ¶
func (mt MongodbTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MongodbTargetAttributes) InternalWithRef ¶
func (mt MongodbTargetAttributes) InternalWithRef(ref terra.Reference) MongodbTargetAttributes
func (MongodbTargetAttributes) Path ¶
func (mt MongodbTargetAttributes) Path() terra.StringValue
func (MongodbTargetAttributes) ScanAll ¶
func (mt MongodbTargetAttributes) ScanAll() terra.BoolValue
type MongodbTargetState ¶
type RecrawlPolicy ¶
type RecrawlPolicy struct { // RecrawlBehavior: string, optional RecrawlBehavior terra.StringValue `hcl:"recrawl_behavior,attr"` }
type RecrawlPolicyAttributes ¶
type RecrawlPolicyAttributes struct {
// contains filtered or unexported fields
}
func (RecrawlPolicyAttributes) InternalRef ¶
func (rp RecrawlPolicyAttributes) InternalRef() (terra.Reference, error)
func (RecrawlPolicyAttributes) InternalTokens ¶
func (rp RecrawlPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RecrawlPolicyAttributes) InternalWithRef ¶
func (rp RecrawlPolicyAttributes) InternalWithRef(ref terra.Reference) RecrawlPolicyAttributes
func (RecrawlPolicyAttributes) RecrawlBehavior ¶
func (rp RecrawlPolicyAttributes) RecrawlBehavior() terra.StringValue
type RecrawlPolicyState ¶
type RecrawlPolicyState struct {
RecrawlBehavior string `json:"recrawl_behavior"`
}
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_crawler.
func (*Resource) Attributes ¶
func (agc *Resource) Attributes() awsGlueCrawlerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agc *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 S3Target ¶
type S3Target struct { // ConnectionName: string, optional ConnectionName terra.StringValue `hcl:"connection_name,attr"` // DlqEventQueueArn: string, optional DlqEventQueueArn terra.StringValue `hcl:"dlq_event_queue_arn,attr"` // EventQueueArn: string, optional EventQueueArn terra.StringValue `hcl:"event_queue_arn,attr"` // Exclusions: list of string, optional Exclusions terra.ListValue[terra.StringValue] `hcl:"exclusions,attr"` // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // SampleSize: number, optional SampleSize terra.NumberValue `hcl:"sample_size,attr"` }
type S3TargetAttributes ¶
type S3TargetAttributes struct {
// contains filtered or unexported fields
}
func (S3TargetAttributes) ConnectionName ¶
func (st S3TargetAttributes) ConnectionName() terra.StringValue
func (S3TargetAttributes) DlqEventQueueArn ¶
func (st S3TargetAttributes) DlqEventQueueArn() terra.StringValue
func (S3TargetAttributes) EventQueueArn ¶
func (st S3TargetAttributes) EventQueueArn() terra.StringValue
func (S3TargetAttributes) Exclusions ¶
func (st S3TargetAttributes) Exclusions() terra.ListValue[terra.StringValue]
func (S3TargetAttributes) InternalRef ¶
func (st S3TargetAttributes) InternalRef() (terra.Reference, error)
func (S3TargetAttributes) InternalTokens ¶
func (st S3TargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (S3TargetAttributes) InternalWithRef ¶
func (st S3TargetAttributes) InternalWithRef(ref terra.Reference) S3TargetAttributes
func (S3TargetAttributes) Path ¶
func (st S3TargetAttributes) Path() terra.StringValue
func (S3TargetAttributes) SampleSize ¶
func (st S3TargetAttributes) SampleSize() terra.NumberValue
type S3TargetState ¶
type SchemaChangePolicy ¶
type SchemaChangePolicy struct { // DeleteBehavior: string, optional DeleteBehavior terra.StringValue `hcl:"delete_behavior,attr"` // UpdateBehavior: string, optional UpdateBehavior terra.StringValue `hcl:"update_behavior,attr"` }
type SchemaChangePolicyAttributes ¶
type SchemaChangePolicyAttributes struct {
// contains filtered or unexported fields
}
func (SchemaChangePolicyAttributes) DeleteBehavior ¶
func (scp SchemaChangePolicyAttributes) DeleteBehavior() terra.StringValue
func (SchemaChangePolicyAttributes) InternalRef ¶
func (scp SchemaChangePolicyAttributes) InternalRef() (terra.Reference, error)
func (SchemaChangePolicyAttributes) InternalTokens ¶
func (scp SchemaChangePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SchemaChangePolicyAttributes) InternalWithRef ¶
func (scp SchemaChangePolicyAttributes) InternalWithRef(ref terra.Reference) SchemaChangePolicyAttributes
func (SchemaChangePolicyAttributes) UpdateBehavior ¶
func (scp SchemaChangePolicyAttributes) UpdateBehavior() terra.StringValue
type SchemaChangePolicyState ¶
Click to show internal directories.
Click to hide internal directories.