Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type DataSourceS3PathAttributes
- func (ssp DataSourceS3PathAttributes) Bucket() terra.StringValue
- func (ssp DataSourceS3PathAttributes) InternalRef() (terra.Reference, error)
- func (ssp DataSourceS3PathAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssp DataSourceS3PathAttributes) InternalWithRef(ref terra.Reference) DataSourceS3PathAttributes
- func (ssp DataSourceS3PathAttributes) Key() terra.StringValue
- type DataSourceS3PathState
- type Resource
- func (akt *Resource) Attributes() awsKendraThesaurusAttributes
- func (akt *Resource) Configuration() interface{}
- func (akt *Resource) DependOn() terra.Reference
- func (akt *Resource) Dependencies() terra.Dependencies
- func (akt *Resource) ImportState(state io.Reader) error
- func (akt *Resource) LifecycleManagement() *terra.Lifecycle
- func (akt *Resource) LocalName() string
- func (akt *Resource) State() (*awsKendraThesaurusState, bool)
- func (akt *Resource) StateMust() *awsKendraThesaurusState
- func (akt *Resource) Type() string
- type SourceS3Path
- type SourceS3PathAttributes
- func (ssp SourceS3PathAttributes) Bucket() terra.StringValue
- func (ssp SourceS3PathAttributes) InternalRef() (terra.Reference, error)
- func (ssp SourceS3PathAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssp SourceS3PathAttributes) InternalWithRef(ref terra.Reference) SourceS3PathAttributes
- func (ssp SourceS3PathAttributes) Key() terra.StringValue
- type SourceS3PathState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
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"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IndexId: string, required IndexId terra.StringValue `hcl:"index_id,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RoleArn: string, required RoleArn terra.StringValue `hcl:"role_arn,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"` // SourceS3Path: required SourceS3Path *SourceS3Path `hcl:"source_s3_path,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_kendra_thesaurus.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IndexId: string, required IndexId terra.StringValue `hcl:"index_id,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // ThesaurusId: string, required ThesaurusId terra.StringValue `hcl:"thesaurus_id,attr" validate:"required"` }
DataArgs contains the configurations for aws_kendra_thesaurus.
type DataSource ¶
DataSource represents the Terraform data resource aws_kendra_thesaurus.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (akt *DataSource) Attributes() dataAwsKendraThesaurusAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (akt *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (akt *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (akt *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataSourceS3PathAttributes ¶
type DataSourceS3PathAttributes struct {
// contains filtered or unexported fields
}
func (DataSourceS3PathAttributes) Bucket ¶
func (ssp DataSourceS3PathAttributes) Bucket() terra.StringValue
func (DataSourceS3PathAttributes) InternalRef ¶
func (ssp DataSourceS3PathAttributes) InternalRef() (terra.Reference, error)
func (DataSourceS3PathAttributes) InternalTokens ¶
func (ssp DataSourceS3PathAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSourceS3PathAttributes) InternalWithRef ¶
func (ssp DataSourceS3PathAttributes) InternalWithRef(ref terra.Reference) DataSourceS3PathAttributes
func (DataSourceS3PathAttributes) Key ¶
func (ssp DataSourceS3PathAttributes) Key() terra.StringValue
type DataSourceS3PathState ¶
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_kendra_thesaurus.
func (*Resource) Attributes ¶
func (akt *Resource) Attributes() awsKendraThesaurusAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (akt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (akt *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 SourceS3Path ¶
type SourceS3Path struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` }
type SourceS3PathAttributes ¶
type SourceS3PathAttributes struct {
// contains filtered or unexported fields
}
func (SourceS3PathAttributes) Bucket ¶
func (ssp SourceS3PathAttributes) Bucket() terra.StringValue
func (SourceS3PathAttributes) InternalRef ¶
func (ssp SourceS3PathAttributes) InternalRef() (terra.Reference, error)
func (SourceS3PathAttributes) InternalTokens ¶
func (ssp SourceS3PathAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceS3PathAttributes) InternalWithRef ¶
func (ssp SourceS3PathAttributes) InternalWithRef(ref terra.Reference) SourceS3PathAttributes
func (SourceS3PathAttributes) Key ¶
func (ssp SourceS3PathAttributes) Key() terra.StringValue
type SourceS3PathState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue