Documentation ¶
Index ¶
- type Args
- type Configuration
- type ConfigurationAttributes
- func (c ConfigurationAttributes) BytesScannedCutoffPerQuery() terra.NumberValue
- func (c ConfigurationAttributes) EnforceWorkgroupConfiguration() terra.BoolValue
- func (c ConfigurationAttributes) EngineVersion() terra.ListValue[ConfigurationEngineVersionAttributes]
- func (c ConfigurationAttributes) ExecutionRole() terra.StringValue
- func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
- func (c ConfigurationAttributes) PublishCloudwatchMetricsEnabled() terra.BoolValue
- func (c ConfigurationAttributes) RequesterPaysEnabled() terra.BoolValue
- func (c ConfigurationAttributes) ResultConfiguration() terra.ListValue[ConfigurationResultConfigurationAttributes]
- type ConfigurationEngineVersion
- type ConfigurationEngineVersionAttributes
- func (ev ConfigurationEngineVersionAttributes) EffectiveEngineVersion() terra.StringValue
- func (ev ConfigurationEngineVersionAttributes) InternalRef() (terra.Reference, error)
- func (ev ConfigurationEngineVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ev ConfigurationEngineVersionAttributes) InternalWithRef(ref terra.Reference) ConfigurationEngineVersionAttributes
- func (ev ConfigurationEngineVersionAttributes) SelectedEngineVersion() terra.StringValue
- type ConfigurationEngineVersionState
- type ConfigurationResultConfiguration
- type ConfigurationResultConfigurationAclConfiguration
- type ConfigurationResultConfigurationAclConfigurationAttributes
- func (ac ConfigurationResultConfigurationAclConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ac ConfigurationResultConfigurationAclConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac ConfigurationResultConfigurationAclConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationResultConfigurationAclConfigurationAttributes
- func (ac ConfigurationResultConfigurationAclConfigurationAttributes) S3AclOption() terra.StringValue
- type ConfigurationResultConfigurationAclConfigurationState
- type ConfigurationResultConfigurationAttributes
- func (rc ConfigurationResultConfigurationAttributes) AclConfiguration() terra.ListValue[ConfigurationResultConfigurationAclConfigurationAttributes]
- func (rc ConfigurationResultConfigurationAttributes) EncryptionConfiguration() ...
- func (rc ConfigurationResultConfigurationAttributes) ExpectedBucketOwner() terra.StringValue
- func (rc ConfigurationResultConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (rc ConfigurationResultConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ConfigurationResultConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationResultConfigurationAttributes
- func (rc ConfigurationResultConfigurationAttributes) OutputLocation() terra.StringValue
- type ConfigurationResultConfigurationEncryptionConfiguration
- type ConfigurationResultConfigurationEncryptionConfigurationAttributes
- func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) EncryptionOption() terra.StringValue
- func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationResultConfigurationEncryptionConfigurationAttributes
- func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) KmsKeyArn() terra.StringValue
- type ConfigurationResultConfigurationEncryptionConfigurationState
- type ConfigurationResultConfigurationState
- type ConfigurationState
- type Resource
- func (aaw *Resource) Attributes() awsAthenaWorkgroupAttributes
- func (aaw *Resource) Configuration() interface{}
- func (aaw *Resource) DependOn() terra.Reference
- func (aaw *Resource) Dependencies() terra.Dependencies
- func (aaw *Resource) ImportState(state io.Reader) error
- func (aaw *Resource) LifecycleManagement() *terra.Lifecycle
- func (aaw *Resource) LocalName() string
- func (aaw *Resource) State() (*awsAthenaWorkgroupState, bool)
- func (aaw *Resource) StateMust() *awsAthenaWorkgroupState
- func (aaw *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // ForceDestroy: bool, optional ForceDestroy terra.BoolValue `hcl:"force_destroy,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // State: string, optional State terra.StringValue `hcl:"state,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"` // Configuration: optional Configuration *Configuration `hcl:"configuration,block"` }
Args contains the configurations for aws_athena_workgroup.
type Configuration ¶
type Configuration struct { // BytesScannedCutoffPerQuery: number, optional BytesScannedCutoffPerQuery terra.NumberValue `hcl:"bytes_scanned_cutoff_per_query,attr"` // EnforceWorkgroupConfiguration: bool, optional EnforceWorkgroupConfiguration terra.BoolValue `hcl:"enforce_workgroup_configuration,attr"` // ExecutionRole: string, optional ExecutionRole terra.StringValue `hcl:"execution_role,attr"` // PublishCloudwatchMetricsEnabled: bool, optional PublishCloudwatchMetricsEnabled terra.BoolValue `hcl:"publish_cloudwatch_metrics_enabled,attr"` // RequesterPaysEnabled: bool, optional RequesterPaysEnabled terra.BoolValue `hcl:"requester_pays_enabled,attr"` // ConfigurationEngineVersion: optional EngineVersion *ConfigurationEngineVersion `hcl:"engine_version,block"` // ConfigurationResultConfiguration: optional ResultConfiguration *ConfigurationResultConfiguration `hcl:"result_configuration,block"` }
type ConfigurationAttributes ¶
type ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationAttributes) BytesScannedCutoffPerQuery ¶
func (c ConfigurationAttributes) BytesScannedCutoffPerQuery() terra.NumberValue
func (ConfigurationAttributes) EnforceWorkgroupConfiguration ¶
func (c ConfigurationAttributes) EnforceWorkgroupConfiguration() terra.BoolValue
func (ConfigurationAttributes) EngineVersion ¶
func (c ConfigurationAttributes) EngineVersion() terra.ListValue[ConfigurationEngineVersionAttributes]
func (ConfigurationAttributes) ExecutionRole ¶
func (c ConfigurationAttributes) ExecutionRole() terra.StringValue
func (ConfigurationAttributes) InternalRef ¶
func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationAttributes) InternalTokens ¶
func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationAttributes) InternalWithRef ¶
func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
func (ConfigurationAttributes) PublishCloudwatchMetricsEnabled ¶
func (c ConfigurationAttributes) PublishCloudwatchMetricsEnabled() terra.BoolValue
func (ConfigurationAttributes) RequesterPaysEnabled ¶
func (c ConfigurationAttributes) RequesterPaysEnabled() terra.BoolValue
func (ConfigurationAttributes) ResultConfiguration ¶
func (c ConfigurationAttributes) ResultConfiguration() terra.ListValue[ConfigurationResultConfigurationAttributes]
type ConfigurationEngineVersion ¶
type ConfigurationEngineVersion struct { // SelectedEngineVersion: string, optional SelectedEngineVersion terra.StringValue `hcl:"selected_engine_version,attr"` }
type ConfigurationEngineVersionAttributes ¶
type ConfigurationEngineVersionAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationEngineVersionAttributes) EffectiveEngineVersion ¶
func (ev ConfigurationEngineVersionAttributes) EffectiveEngineVersion() terra.StringValue
func (ConfigurationEngineVersionAttributes) InternalRef ¶
func (ev ConfigurationEngineVersionAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationEngineVersionAttributes) InternalTokens ¶
func (ev ConfigurationEngineVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationEngineVersionAttributes) InternalWithRef ¶
func (ev ConfigurationEngineVersionAttributes) InternalWithRef(ref terra.Reference) ConfigurationEngineVersionAttributes
func (ConfigurationEngineVersionAttributes) SelectedEngineVersion ¶
func (ev ConfigurationEngineVersionAttributes) SelectedEngineVersion() terra.StringValue
type ConfigurationResultConfiguration ¶
type ConfigurationResultConfiguration struct { // ExpectedBucketOwner: string, optional ExpectedBucketOwner terra.StringValue `hcl:"expected_bucket_owner,attr"` // OutputLocation: string, optional OutputLocation terra.StringValue `hcl:"output_location,attr"` // ConfigurationResultConfigurationAclConfiguration: optional AclConfiguration *ConfigurationResultConfigurationAclConfiguration `hcl:"acl_configuration,block"` // ConfigurationResultConfigurationEncryptionConfiguration: optional EncryptionConfiguration *ConfigurationResultConfigurationEncryptionConfiguration `hcl:"encryption_configuration,block"` }
type ConfigurationResultConfigurationAclConfiguration ¶
type ConfigurationResultConfigurationAclConfiguration struct { // S3AclOption: string, required S3AclOption terra.StringValue `hcl:"s3_acl_option,attr" validate:"required"` }
type ConfigurationResultConfigurationAclConfigurationAttributes ¶
type ConfigurationResultConfigurationAclConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationResultConfigurationAclConfigurationAttributes) InternalRef ¶
func (ac ConfigurationResultConfigurationAclConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationResultConfigurationAclConfigurationAttributes) InternalTokens ¶
func (ac ConfigurationResultConfigurationAclConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationResultConfigurationAclConfigurationAttributes) InternalWithRef ¶
func (ac ConfigurationResultConfigurationAclConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationResultConfigurationAclConfigurationAttributes
func (ConfigurationResultConfigurationAclConfigurationAttributes) S3AclOption ¶
func (ac ConfigurationResultConfigurationAclConfigurationAttributes) S3AclOption() terra.StringValue
type ConfigurationResultConfigurationAclConfigurationState ¶
type ConfigurationResultConfigurationAclConfigurationState struct {
S3AclOption string `json:"s3_acl_option"`
}
type ConfigurationResultConfigurationAttributes ¶
type ConfigurationResultConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationResultConfigurationAttributes) AclConfiguration ¶
func (rc ConfigurationResultConfigurationAttributes) AclConfiguration() terra.ListValue[ConfigurationResultConfigurationAclConfigurationAttributes]
func (ConfigurationResultConfigurationAttributes) EncryptionConfiguration ¶
func (rc ConfigurationResultConfigurationAttributes) EncryptionConfiguration() terra.ListValue[ConfigurationResultConfigurationEncryptionConfigurationAttributes]
func (ConfigurationResultConfigurationAttributes) ExpectedBucketOwner ¶
func (rc ConfigurationResultConfigurationAttributes) ExpectedBucketOwner() terra.StringValue
func (ConfigurationResultConfigurationAttributes) InternalRef ¶
func (rc ConfigurationResultConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationResultConfigurationAttributes) InternalTokens ¶
func (rc ConfigurationResultConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationResultConfigurationAttributes) InternalWithRef ¶
func (rc ConfigurationResultConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationResultConfigurationAttributes
func (ConfigurationResultConfigurationAttributes) OutputLocation ¶
func (rc ConfigurationResultConfigurationAttributes) OutputLocation() terra.StringValue
type ConfigurationResultConfigurationEncryptionConfiguration ¶
type ConfigurationResultConfigurationEncryptionConfiguration struct { // EncryptionOption: string, optional EncryptionOption terra.StringValue `hcl:"encryption_option,attr"` // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` }
type ConfigurationResultConfigurationEncryptionConfigurationAttributes ¶
type ConfigurationResultConfigurationEncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationResultConfigurationEncryptionConfigurationAttributes) EncryptionOption ¶
func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) EncryptionOption() terra.StringValue
func (ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalRef ¶
func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalTokens ¶
func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationResultConfigurationEncryptionConfigurationAttributes) InternalWithRef ¶
func (ConfigurationResultConfigurationEncryptionConfigurationAttributes) KmsKeyArn ¶
func (ec ConfigurationResultConfigurationEncryptionConfigurationAttributes) KmsKeyArn() terra.StringValue
type ConfigurationResultConfigurationState ¶
type ConfigurationResultConfigurationState struct { ExpectedBucketOwner string `json:"expected_bucket_owner"` OutputLocation string `json:"output_location"` AclConfiguration []ConfigurationResultConfigurationAclConfigurationState `json:"acl_configuration"` EncryptionConfiguration []ConfigurationResultConfigurationEncryptionConfigurationState `json:"encryption_configuration"` }
type ConfigurationState ¶
type ConfigurationState struct { BytesScannedCutoffPerQuery float64 `json:"bytes_scanned_cutoff_per_query"` EnforceWorkgroupConfiguration bool `json:"enforce_workgroup_configuration"` ExecutionRole string `json:"execution_role"` PublishCloudwatchMetricsEnabled bool `json:"publish_cloudwatch_metrics_enabled"` RequesterPaysEnabled bool `json:"requester_pays_enabled"` EngineVersion []ConfigurationEngineVersionState `json:"engine_version"` ResultConfiguration []ConfigurationResultConfigurationState `json:"result_configuration"` }
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_athena_workgroup.
func (*Resource) Attributes ¶
func (aaw *Resource) Attributes() awsAthenaWorkgroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aaw *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aaw *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.
Click to show internal directories.
Click to hide internal directories.