Documentation ¶
Index ¶
- type Args
- type InputDataConfig
- type InputDataConfigAttributes
- func (idc InputDataConfigAttributes) AugmentedManifests() terra.SetValue[InputDataConfigAugmentedManifestsAttributes]
- func (idc InputDataConfigAttributes) DataFormat() terra.StringValue
- func (idc InputDataConfigAttributes) InternalRef() (terra.Reference, error)
- func (idc InputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (idc InputDataConfigAttributes) InternalWithRef(ref terra.Reference) InputDataConfigAttributes
- func (idc InputDataConfigAttributes) LabelDelimiter() terra.StringValue
- func (idc InputDataConfigAttributes) S3Uri() terra.StringValue
- func (idc InputDataConfigAttributes) TestS3Uri() terra.StringValue
- type InputDataConfigAugmentedManifests
- type InputDataConfigAugmentedManifestsAttributes
- func (am InputDataConfigAugmentedManifestsAttributes) AnnotationDataS3Uri() terra.StringValue
- func (am InputDataConfigAugmentedManifestsAttributes) AttributeNames() terra.ListValue[terra.StringValue]
- func (am InputDataConfigAugmentedManifestsAttributes) DocumentType() terra.StringValue
- func (am InputDataConfigAugmentedManifestsAttributes) InternalRef() (terra.Reference, error)
- func (am InputDataConfigAugmentedManifestsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (am InputDataConfigAugmentedManifestsAttributes) InternalWithRef(ref terra.Reference) InputDataConfigAugmentedManifestsAttributes
- func (am InputDataConfigAugmentedManifestsAttributes) S3Uri() terra.StringValue
- func (am InputDataConfigAugmentedManifestsAttributes) SourceDocumentsS3Uri() terra.StringValue
- func (am InputDataConfigAugmentedManifestsAttributes) Split() terra.StringValue
- type InputDataConfigAugmentedManifestsState
- type InputDataConfigState
- type OutputDataConfig
- type OutputDataConfigAttributes
- func (odc OutputDataConfigAttributes) InternalRef() (terra.Reference, error)
- func (odc OutputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (odc OutputDataConfigAttributes) InternalWithRef(ref terra.Reference) OutputDataConfigAttributes
- func (odc OutputDataConfigAttributes) KmsKeyId() terra.StringValue
- func (odc OutputDataConfigAttributes) OutputS3Uri() terra.StringValue
- func (odc OutputDataConfigAttributes) S3Uri() terra.StringValue
- type OutputDataConfigState
- type Resource
- func (acdc *Resource) Attributes() awsComprehendDocumentClassifierAttributes
- func (acdc *Resource) Configuration() interface{}
- func (acdc *Resource) DependOn() terra.Reference
- func (acdc *Resource) Dependencies() terra.Dependencies
- func (acdc *Resource) ImportState(state io.Reader) error
- func (acdc *Resource) LifecycleManagement() *terra.Lifecycle
- func (acdc *Resource) LocalName() string
- func (acdc *Resource) State() (*awsComprehendDocumentClassifierState, bool)
- func (acdc *Resource) StateMust() *awsComprehendDocumentClassifierState
- func (acdc *Resource) Type() string
- 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
- type VpcConfig
- type VpcConfigAttributes
- func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)
- func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes
- func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (vc VpcConfigAttributes) Subnets() terra.SetValue[terra.StringValue]
- type VpcConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DataAccessRoleArn: string, required DataAccessRoleArn terra.StringValue `hcl:"data_access_role_arn,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LanguageCode: string, required LanguageCode terra.StringValue `hcl:"language_code,attr" validate:"required"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // ModelKmsKeyId: string, optional ModelKmsKeyId terra.StringValue `hcl:"model_kms_key_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,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"` // VersionName: string, optional VersionName terra.StringValue `hcl:"version_name,attr"` // VersionNamePrefix: string, optional VersionNamePrefix terra.StringValue `hcl:"version_name_prefix,attr"` // VolumeKmsKeyId: string, optional VolumeKmsKeyId terra.StringValue `hcl:"volume_kms_key_id,attr"` // InputDataConfig: required InputDataConfig *InputDataConfig `hcl:"input_data_config,block" validate:"required"` // OutputDataConfig: optional OutputDataConfig *OutputDataConfig `hcl:"output_data_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VpcConfig: optional VpcConfig *VpcConfig `hcl:"vpc_config,block"` }
Args contains the configurations for aws_comprehend_document_classifier.
type InputDataConfig ¶
type InputDataConfig struct { // DataFormat: string, optional DataFormat terra.StringValue `hcl:"data_format,attr"` // LabelDelimiter: string, optional LabelDelimiter terra.StringValue `hcl:"label_delimiter,attr"` // S3Uri: string, optional S3Uri terra.StringValue `hcl:"s3_uri,attr"` // TestS3Uri: string, optional TestS3Uri terra.StringValue `hcl:"test_s3_uri,attr"` // InputDataConfigAugmentedManifests: min=0 AugmentedManifests []InputDataConfigAugmentedManifests `hcl:"augmented_manifests,block" validate:"min=0"` }
type InputDataConfigAttributes ¶
type InputDataConfigAttributes struct {
// contains filtered or unexported fields
}
func (InputDataConfigAttributes) AugmentedManifests ¶
func (idc InputDataConfigAttributes) AugmentedManifests() terra.SetValue[InputDataConfigAugmentedManifestsAttributes]
func (InputDataConfigAttributes) DataFormat ¶
func (idc InputDataConfigAttributes) DataFormat() terra.StringValue
func (InputDataConfigAttributes) InternalRef ¶
func (idc InputDataConfigAttributes) InternalRef() (terra.Reference, error)
func (InputDataConfigAttributes) InternalTokens ¶
func (idc InputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InputDataConfigAttributes) InternalWithRef ¶
func (idc InputDataConfigAttributes) InternalWithRef(ref terra.Reference) InputDataConfigAttributes
func (InputDataConfigAttributes) LabelDelimiter ¶
func (idc InputDataConfigAttributes) LabelDelimiter() terra.StringValue
func (InputDataConfigAttributes) S3Uri ¶
func (idc InputDataConfigAttributes) S3Uri() terra.StringValue
func (InputDataConfigAttributes) TestS3Uri ¶
func (idc InputDataConfigAttributes) TestS3Uri() terra.StringValue
type InputDataConfigAugmentedManifests ¶
type InputDataConfigAugmentedManifests struct { // AnnotationDataS3Uri: string, optional AnnotationDataS3Uri terra.StringValue `hcl:"annotation_data_s3_uri,attr"` // AttributeNames: list of string, required AttributeNames terra.ListValue[terra.StringValue] `hcl:"attribute_names,attr" validate:"required"` // DocumentType: string, optional DocumentType terra.StringValue `hcl:"document_type,attr"` // S3Uri: string, required S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"` // SourceDocumentsS3Uri: string, optional SourceDocumentsS3Uri terra.StringValue `hcl:"source_documents_s3_uri,attr"` // Split: string, optional Split terra.StringValue `hcl:"split,attr"` }
type InputDataConfigAugmentedManifestsAttributes ¶
type InputDataConfigAugmentedManifestsAttributes struct {
// contains filtered or unexported fields
}
func (InputDataConfigAugmentedManifestsAttributes) AnnotationDataS3Uri ¶
func (am InputDataConfigAugmentedManifestsAttributes) AnnotationDataS3Uri() terra.StringValue
func (InputDataConfigAugmentedManifestsAttributes) AttributeNames ¶
func (am InputDataConfigAugmentedManifestsAttributes) AttributeNames() terra.ListValue[terra.StringValue]
func (InputDataConfigAugmentedManifestsAttributes) DocumentType ¶
func (am InputDataConfigAugmentedManifestsAttributes) DocumentType() terra.StringValue
func (InputDataConfigAugmentedManifestsAttributes) InternalRef ¶
func (am InputDataConfigAugmentedManifestsAttributes) InternalRef() (terra.Reference, error)
func (InputDataConfigAugmentedManifestsAttributes) InternalTokens ¶
func (am InputDataConfigAugmentedManifestsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InputDataConfigAugmentedManifestsAttributes) InternalWithRef ¶
func (am InputDataConfigAugmentedManifestsAttributes) InternalWithRef(ref terra.Reference) InputDataConfigAugmentedManifestsAttributes
func (InputDataConfigAugmentedManifestsAttributes) S3Uri ¶
func (am InputDataConfigAugmentedManifestsAttributes) S3Uri() terra.StringValue
func (InputDataConfigAugmentedManifestsAttributes) SourceDocumentsS3Uri ¶
func (am InputDataConfigAugmentedManifestsAttributes) SourceDocumentsS3Uri() terra.StringValue
func (InputDataConfigAugmentedManifestsAttributes) Split ¶
func (am InputDataConfigAugmentedManifestsAttributes) Split() terra.StringValue
type InputDataConfigAugmentedManifestsState ¶
type InputDataConfigAugmentedManifestsState struct { AnnotationDataS3Uri string `json:"annotation_data_s3_uri"` AttributeNames []string `json:"attribute_names"` DocumentType string `json:"document_type"` S3Uri string `json:"s3_uri"` SourceDocumentsS3Uri string `json:"source_documents_s3_uri"` Split string `json:"split"` }
type InputDataConfigState ¶
type InputDataConfigState struct { DataFormat string `json:"data_format"` LabelDelimiter string `json:"label_delimiter"` S3Uri string `json:"s3_uri"` TestS3Uri string `json:"test_s3_uri"` AugmentedManifests []InputDataConfigAugmentedManifestsState `json:"augmented_manifests"` }
type OutputDataConfig ¶
type OutputDataConfig struct { // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // S3Uri: string, required S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"` }
type OutputDataConfigAttributes ¶
type OutputDataConfigAttributes struct {
// contains filtered or unexported fields
}
func (OutputDataConfigAttributes) InternalRef ¶
func (odc OutputDataConfigAttributes) InternalRef() (terra.Reference, error)
func (OutputDataConfigAttributes) InternalTokens ¶
func (odc OutputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OutputDataConfigAttributes) InternalWithRef ¶
func (odc OutputDataConfigAttributes) InternalWithRef(ref terra.Reference) OutputDataConfigAttributes
func (OutputDataConfigAttributes) KmsKeyId ¶
func (odc OutputDataConfigAttributes) KmsKeyId() terra.StringValue
func (OutputDataConfigAttributes) OutputS3Uri ¶
func (odc OutputDataConfigAttributes) OutputS3Uri() terra.StringValue
func (OutputDataConfigAttributes) S3Uri ¶
func (odc OutputDataConfigAttributes) S3Uri() terra.StringValue
type OutputDataConfigState ¶
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_comprehend_document_classifier.
func (*Resource) Attributes ¶
func (acdc *Resource) Attributes() awsComprehendDocumentClassifierAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acdc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acdc *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 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
type TimeoutsState ¶
type VpcConfig ¶
type VpcConfig struct { // SecurityGroupIds: set of string, required SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"` // Subnets: set of string, required Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"` }
type VpcConfigAttributes ¶
type VpcConfigAttributes struct {
// contains filtered or unexported fields
}
func (VpcConfigAttributes) InternalRef ¶
func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)
func (VpcConfigAttributes) InternalTokens ¶
func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VpcConfigAttributes) InternalWithRef ¶
func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes
func (VpcConfigAttributes) SecurityGroupIds ¶
func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (VpcConfigAttributes) Subnets ¶
func (vc VpcConfigAttributes) Subnets() terra.SetValue[terra.StringValue]
type VpcConfigState ¶
Click to show internal directories.
Click to hide internal directories.