v1beta1

package
v1.19.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=transcribe.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "transcribe.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	LanguageModel_Kind             = "LanguageModel"
	LanguageModel_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LanguageModel_Kind}.String()
	LanguageModel_KindAPIVersion   = LanguageModel_Kind + "." + CRDGroupVersion.String()
	LanguageModel_GroupVersionKind = CRDGroupVersion.WithKind(LanguageModel_Kind)
)

Repository type metadata.

View Source
var (
	Vocabulary_Kind             = "Vocabulary"
	Vocabulary_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Vocabulary_Kind}.String()
	Vocabulary_KindAPIVersion   = Vocabulary_Kind + "." + CRDGroupVersion.String()
	Vocabulary_GroupVersionKind = CRDGroupVersion.WithKind(Vocabulary_Kind)
)

Repository type metadata.

View Source
var (
	VocabularyFilter_Kind             = "VocabularyFilter"
	VocabularyFilter_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: VocabularyFilter_Kind}.String()
	VocabularyFilter_KindAPIVersion   = VocabularyFilter_Kind + "." + CRDGroupVersion.String()
	VocabularyFilter_GroupVersionKind = CRDGroupVersion.WithKind(VocabularyFilter_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type InputDataConfigInitParameters added in v0.38.0

type InputDataConfigInitParameters struct {

	// IAM role with access to S3 bucket.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	DataAccessRoleArn *string `json:"dataAccessRoleArn,omitempty" tf:"data_access_role_arn,omitempty"`

	// Reference to a Role in iam to populate dataAccessRoleArn.
	// +kubebuilder:validation:Optional
	DataAccessRoleArnRef *v1.Reference `json:"dataAccessRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate dataAccessRoleArn.
	// +kubebuilder:validation:Optional
	DataAccessRoleArnSelector *v1.Selector `json:"dataAccessRoleArnSelector,omitempty" tf:"-"`

	// S3 URI where training data is located.
	S3URI *string `json:"s3Uri,omitempty" tf:"s3_uri,omitempty"`

	// S3 URI where tuning data is located.
	TuningDataS3URI *string `json:"tuningDataS3Uri,omitempty" tf:"tuning_data_s3_uri,omitempty"`
}

func (*InputDataConfigInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputDataConfigInitParameters.

func (*InputDataConfigInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InputDataConfigObservation

type InputDataConfigObservation struct {

	// IAM role with access to S3 bucket.
	DataAccessRoleArn *string `json:"dataAccessRoleArn,omitempty" tf:"data_access_role_arn,omitempty"`

	// S3 URI where training data is located.
	S3URI *string `json:"s3Uri,omitempty" tf:"s3_uri,omitempty"`

	// S3 URI where tuning data is located.
	TuningDataS3URI *string `json:"tuningDataS3Uri,omitempty" tf:"tuning_data_s3_uri,omitempty"`
}

func (*InputDataConfigObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputDataConfigObservation.

func (*InputDataConfigObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InputDataConfigParameters

type InputDataConfigParameters struct {

	// IAM role with access to S3 bucket.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	DataAccessRoleArn *string `json:"dataAccessRoleArn,omitempty" tf:"data_access_role_arn,omitempty"`

	// Reference to a Role in iam to populate dataAccessRoleArn.
	// +kubebuilder:validation:Optional
	DataAccessRoleArnRef *v1.Reference `json:"dataAccessRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate dataAccessRoleArn.
	// +kubebuilder:validation:Optional
	DataAccessRoleArnSelector *v1.Selector `json:"dataAccessRoleArnSelector,omitempty" tf:"-"`

	// S3 URI where training data is located.
	// +kubebuilder:validation:Optional
	S3URI *string `json:"s3Uri" tf:"s3_uri,omitempty"`

	// S3 URI where tuning data is located.
	// +kubebuilder:validation:Optional
	TuningDataS3URI *string `json:"tuningDataS3Uri,omitempty" tf:"tuning_data_s3_uri,omitempty"`
}

func (*InputDataConfigParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputDataConfigParameters.

func (*InputDataConfigParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LanguageModel

type LanguageModel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.baseModelName) || (has(self.initProvider) && has(self.initProvider.baseModelName))",message="spec.forProvider.baseModelName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputDataConfig) || (has(self.initProvider) && has(self.initProvider.inputDataConfig))",message="spec.forProvider.inputDataConfig is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter"
	Spec   LanguageModelSpec   `json:"spec"`
	Status LanguageModelStatus `json:"status,omitempty"`
}

LanguageModel is the Schema for the LanguageModels API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*LanguageModel) ConvertFrom added in v1.7.0

func (tr *LanguageModel) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the LanguageModel type.

func (*LanguageModel) ConvertTo added in v1.7.0

func (tr *LanguageModel) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this LanguageModel to the hub type.

func (*LanguageModel) DeepCopy

func (in *LanguageModel) DeepCopy() *LanguageModel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModel.

func (*LanguageModel) DeepCopyInto

func (in *LanguageModel) DeepCopyInto(out *LanguageModel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LanguageModel) DeepCopyObject

func (in *LanguageModel) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LanguageModel) GetCondition

func (mg *LanguageModel) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this LanguageModel.

func (*LanguageModel) GetConnectionDetailsMapping

func (tr *LanguageModel) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this LanguageModel

func (*LanguageModel) GetDeletionPolicy

func (mg *LanguageModel) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this LanguageModel.

func (*LanguageModel) GetID

func (tr *LanguageModel) GetID() string

GetID returns ID of underlying Terraform resource of this LanguageModel

func (*LanguageModel) GetInitParameters added in v0.38.0

func (tr *LanguageModel) GetInitParameters() (map[string]any, error)

GetInitParameters of this LanguageModel

func (*LanguageModel) GetManagementPolicies added in v0.38.0

func (mg *LanguageModel) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this LanguageModel.

func (*LanguageModel) GetMergedParameters added in v0.44.0

func (tr *LanguageModel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this LanguageModel

func (*LanguageModel) GetObservation

func (tr *LanguageModel) GetObservation() (map[string]any, error)

GetObservation of this LanguageModel

func (*LanguageModel) GetParameters

func (tr *LanguageModel) GetParameters() (map[string]any, error)

GetParameters of this LanguageModel

func (*LanguageModel) GetProviderConfigReference

func (mg *LanguageModel) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this LanguageModel.

func (*LanguageModel) GetPublishConnectionDetailsTo

func (mg *LanguageModel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this LanguageModel.

func (*LanguageModel) GetTerraformResourceType

func (mg *LanguageModel) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LanguageModel

func (*LanguageModel) GetTerraformSchemaVersion

func (tr *LanguageModel) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LanguageModel) GetWriteConnectionSecretToReference

func (mg *LanguageModel) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this LanguageModel.

func (*LanguageModel) LateInitialize

func (tr *LanguageModel) LateInitialize(attrs []byte) (bool, error)

LateInitialize this LanguageModel using its observed tfState. returns True if there are any spec changes for the resource.

func (*LanguageModel) ResolveReferences

func (mg *LanguageModel) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*LanguageModel) SetConditions

func (mg *LanguageModel) SetConditions(c ...xpv1.Condition)

SetConditions of this LanguageModel.

func (*LanguageModel) SetDeletionPolicy

func (mg *LanguageModel) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this LanguageModel.

func (*LanguageModel) SetManagementPolicies added in v0.38.0

func (mg *LanguageModel) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this LanguageModel.

func (*LanguageModel) SetObservation

func (tr *LanguageModel) SetObservation(obs map[string]any) error

SetObservation for this LanguageModel

func (*LanguageModel) SetParameters

func (tr *LanguageModel) SetParameters(params map[string]any) error

SetParameters for this LanguageModel

func (*LanguageModel) SetProviderConfigReference

func (mg *LanguageModel) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this LanguageModel.

func (*LanguageModel) SetPublishConnectionDetailsTo

func (mg *LanguageModel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this LanguageModel.

func (*LanguageModel) SetWriteConnectionSecretToReference

func (mg *LanguageModel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this LanguageModel.

type LanguageModelInitParameters added in v0.38.0

type LanguageModelInitParameters struct {

	// Name of reference base model.
	BaseModelName *string `json:"baseModelName,omitempty" tf:"base_model_name,omitempty"`

	// The input data config for the LanguageModel. See Input Data Config for more details.
	InputDataConfig []InputDataConfigInitParameters `json:"inputDataConfig,omitempty" tf:"input_data_config,omitempty"`

	// The language code you selected for your language model. Refer to the supported languages page for accepted codes.
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LanguageModelInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelInitParameters.

func (*LanguageModelInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LanguageModelList

type LanguageModelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []LanguageModel `json:"items"`
}

LanguageModelList contains a list of LanguageModels

func (*LanguageModelList) DeepCopy

func (in *LanguageModelList) DeepCopy() *LanguageModelList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelList.

func (*LanguageModelList) DeepCopyInto

func (in *LanguageModelList) DeepCopyInto(out *LanguageModelList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LanguageModelList) DeepCopyObject

func (in *LanguageModelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*LanguageModelList) GetItems

func (l *LanguageModelList) GetItems() []resource.Managed

GetItems of this LanguageModelList.

type LanguageModelObservation

type LanguageModelObservation struct {

	// ARN of the LanguageModel.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Name of reference base model.
	BaseModelName *string `json:"baseModelName,omitempty" tf:"base_model_name,omitempty"`

	// LanguageModel name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The input data config for the LanguageModel. See Input Data Config for more details.
	InputDataConfig []InputDataConfigObservation `json:"inputDataConfig,omitempty" tf:"input_data_config,omitempty"`

	// The language code you selected for your language model. Refer to the supported languages page for accepted codes.
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*LanguageModelObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelObservation.

func (*LanguageModelObservation) DeepCopyInto

func (in *LanguageModelObservation) DeepCopyInto(out *LanguageModelObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LanguageModelParameters

type LanguageModelParameters struct {

	// Name of reference base model.
	// +kubebuilder:validation:Optional
	BaseModelName *string `json:"baseModelName,omitempty" tf:"base_model_name,omitempty"`

	// The input data config for the LanguageModel. See Input Data Config for more details.
	// +kubebuilder:validation:Optional
	InputDataConfig []InputDataConfigParameters `json:"inputDataConfig,omitempty" tf:"input_data_config,omitempty"`

	// The language code you selected for your language model. Refer to the supported languages page for accepted codes.
	// +kubebuilder:validation:Optional
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LanguageModelParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelParameters.

func (*LanguageModelParameters) DeepCopyInto

func (in *LanguageModelParameters) DeepCopyInto(out *LanguageModelParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LanguageModelSpec

type LanguageModelSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LanguageModelParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider LanguageModelInitParameters `json:"initProvider,omitempty"`
}

LanguageModelSpec defines the desired state of LanguageModel

func (*LanguageModelSpec) DeepCopy

func (in *LanguageModelSpec) DeepCopy() *LanguageModelSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelSpec.

func (*LanguageModelSpec) DeepCopyInto

func (in *LanguageModelSpec) DeepCopyInto(out *LanguageModelSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LanguageModelStatus

type LanguageModelStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        LanguageModelObservation `json:"atProvider,omitempty"`
}

LanguageModelStatus defines the observed state of LanguageModel.

func (*LanguageModelStatus) DeepCopy

func (in *LanguageModelStatus) DeepCopy() *LanguageModelStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelStatus.

func (*LanguageModelStatus) DeepCopyInto

func (in *LanguageModelStatus) DeepCopyInto(out *LanguageModelStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Vocabulary

type Vocabulary struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter"
	Spec   VocabularySpec   `json:"spec"`
	Status VocabularyStatus `json:"status,omitempty"`
}

Vocabulary is the Schema for the Vocabularys API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Vocabulary) DeepCopy

func (in *Vocabulary) DeepCopy() *Vocabulary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vocabulary.

func (*Vocabulary) DeepCopyInto

func (in *Vocabulary) DeepCopyInto(out *Vocabulary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Vocabulary) DeepCopyObject

func (in *Vocabulary) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Vocabulary) GetCondition

func (mg *Vocabulary) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Vocabulary.

func (*Vocabulary) GetConnectionDetailsMapping

func (tr *Vocabulary) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Vocabulary

func (*Vocabulary) GetDeletionPolicy

func (mg *Vocabulary) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Vocabulary.

func (*Vocabulary) GetID

func (tr *Vocabulary) GetID() string

GetID returns ID of underlying Terraform resource of this Vocabulary

func (*Vocabulary) GetInitParameters added in v0.38.0

func (tr *Vocabulary) GetInitParameters() (map[string]any, error)

GetInitParameters of this Vocabulary

func (*Vocabulary) GetManagementPolicies added in v0.38.0

func (mg *Vocabulary) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Vocabulary.

func (*Vocabulary) GetMergedParameters added in v0.44.0

func (tr *Vocabulary) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Vocabulary

func (*Vocabulary) GetObservation

func (tr *Vocabulary) GetObservation() (map[string]any, error)

GetObservation of this Vocabulary

func (*Vocabulary) GetParameters

func (tr *Vocabulary) GetParameters() (map[string]any, error)

GetParameters of this Vocabulary

func (*Vocabulary) GetProviderConfigReference

func (mg *Vocabulary) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Vocabulary.

func (*Vocabulary) GetPublishConnectionDetailsTo

func (mg *Vocabulary) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Vocabulary.

func (*Vocabulary) GetTerraformResourceType

func (mg *Vocabulary) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Vocabulary

func (*Vocabulary) GetTerraformSchemaVersion

func (tr *Vocabulary) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Vocabulary) GetWriteConnectionSecretToReference

func (mg *Vocabulary) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Vocabulary.

func (*Vocabulary) Hub added in v0.47.2

func (tr *Vocabulary) Hub()

Hub marks this type as a conversion hub.

func (*Vocabulary) LateInitialize

func (tr *Vocabulary) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Vocabulary using its observed tfState. returns True if there are any spec changes for the resource.

func (*Vocabulary) SetConditions

func (mg *Vocabulary) SetConditions(c ...xpv1.Condition)

SetConditions of this Vocabulary.

func (*Vocabulary) SetDeletionPolicy

func (mg *Vocabulary) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Vocabulary.

func (*Vocabulary) SetManagementPolicies added in v0.38.0

func (mg *Vocabulary) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Vocabulary.

func (*Vocabulary) SetObservation

func (tr *Vocabulary) SetObservation(obs map[string]any) error

SetObservation for this Vocabulary

func (*Vocabulary) SetParameters

func (tr *Vocabulary) SetParameters(params map[string]any) error

SetParameters for this Vocabulary

func (*Vocabulary) SetProviderConfigReference

func (mg *Vocabulary) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Vocabulary.

func (*Vocabulary) SetPublishConnectionDetailsTo

func (mg *Vocabulary) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Vocabulary.

func (*Vocabulary) SetWriteConnectionSecretToReference

func (mg *Vocabulary) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Vocabulary.

type VocabularyFilter

type VocabularyFilter struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter"
	Spec   VocabularyFilterSpec   `json:"spec"`
	Status VocabularyFilterStatus `json:"status,omitempty"`
}

VocabularyFilter is the Schema for the VocabularyFilters API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*VocabularyFilter) DeepCopy

func (in *VocabularyFilter) DeepCopy() *VocabularyFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyFilter.

func (*VocabularyFilter) DeepCopyInto

func (in *VocabularyFilter) DeepCopyInto(out *VocabularyFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VocabularyFilter) DeepCopyObject

func (in *VocabularyFilter) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VocabularyFilter) GetCondition

func (mg *VocabularyFilter) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this VocabularyFilter.

func (*VocabularyFilter) GetConnectionDetailsMapping

func (tr *VocabularyFilter) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this VocabularyFilter

func (*VocabularyFilter) GetDeletionPolicy

func (mg *VocabularyFilter) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this VocabularyFilter.

func (*VocabularyFilter) GetID

func (tr *VocabularyFilter) GetID() string

GetID returns ID of underlying Terraform resource of this VocabularyFilter

func (*VocabularyFilter) GetInitParameters added in v0.38.0

func (tr *VocabularyFilter) GetInitParameters() (map[string]any, error)

GetInitParameters of this VocabularyFilter

func (*VocabularyFilter) GetManagementPolicies added in v0.38.0

func (mg *VocabularyFilter) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this VocabularyFilter.

func (*VocabularyFilter) GetMergedParameters added in v0.44.0

func (tr *VocabularyFilter) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this VocabularyFilter

func (*VocabularyFilter) GetObservation

func (tr *VocabularyFilter) GetObservation() (map[string]any, error)

GetObservation of this VocabularyFilter

func (*VocabularyFilter) GetParameters

func (tr *VocabularyFilter) GetParameters() (map[string]any, error)

GetParameters of this VocabularyFilter

func (*VocabularyFilter) GetProviderConfigReference

func (mg *VocabularyFilter) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this VocabularyFilter.

func (*VocabularyFilter) GetPublishConnectionDetailsTo

func (mg *VocabularyFilter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this VocabularyFilter.

func (*VocabularyFilter) GetTerraformResourceType

func (mg *VocabularyFilter) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this VocabularyFilter

func (*VocabularyFilter) GetTerraformSchemaVersion

func (tr *VocabularyFilter) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*VocabularyFilter) GetWriteConnectionSecretToReference

func (mg *VocabularyFilter) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this VocabularyFilter.

func (*VocabularyFilter) Hub added in v0.47.2

func (tr *VocabularyFilter) Hub()

Hub marks this type as a conversion hub.

func (*VocabularyFilter) LateInitialize

func (tr *VocabularyFilter) LateInitialize(attrs []byte) (bool, error)

LateInitialize this VocabularyFilter using its observed tfState. returns True if there are any spec changes for the resource.

func (*VocabularyFilter) SetConditions

func (mg *VocabularyFilter) SetConditions(c ...xpv1.Condition)

SetConditions of this VocabularyFilter.

func (*VocabularyFilter) SetDeletionPolicy

func (mg *VocabularyFilter) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this VocabularyFilter.

func (*VocabularyFilter) SetManagementPolicies added in v0.38.0

func (mg *VocabularyFilter) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this VocabularyFilter.

func (*VocabularyFilter) SetObservation

func (tr *VocabularyFilter) SetObservation(obs map[string]any) error

SetObservation for this VocabularyFilter

func (*VocabularyFilter) SetParameters

func (tr *VocabularyFilter) SetParameters(params map[string]any) error

SetParameters for this VocabularyFilter

func (*VocabularyFilter) SetProviderConfigReference

func (mg *VocabularyFilter) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this VocabularyFilter.

func (*VocabularyFilter) SetPublishConnectionDetailsTo

func (mg *VocabularyFilter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this VocabularyFilter.

func (*VocabularyFilter) SetWriteConnectionSecretToReference

func (mg *VocabularyFilter) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this VocabularyFilter.

type VocabularyFilterInitParameters added in v0.38.0

type VocabularyFilterInitParameters struct {

	// The language code you selected for your vocabulary filter. Refer to the supported languages page for accepted codes.
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The Amazon S3 location (URI) of the text file that contains your custom VocabularyFilter. Conflicts with words argument.
	VocabularyFilterFileURI *string `json:"vocabularyFilterFileUri,omitempty" tf:"vocabulary_filter_file_uri,omitempty"`

	// - A list of terms to include in the vocabulary. Conflicts with vocabulary_filter_file_uri argument.
	Words []*string `json:"words,omitempty" tf:"words,omitempty"`
}

func (*VocabularyFilterInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyFilterInitParameters.

func (*VocabularyFilterInitParameters) DeepCopyInto added in v0.38.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyFilterList

type VocabularyFilterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []VocabularyFilter `json:"items"`
}

VocabularyFilterList contains a list of VocabularyFilters

func (*VocabularyFilterList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyFilterList.

func (*VocabularyFilterList) DeepCopyInto

func (in *VocabularyFilterList) DeepCopyInto(out *VocabularyFilterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VocabularyFilterList) DeepCopyObject

func (in *VocabularyFilterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VocabularyFilterList) GetItems

func (l *VocabularyFilterList) GetItems() []resource.Managed

GetItems of this VocabularyFilterList.

type VocabularyFilterObservation

type VocabularyFilterObservation struct {

	// ARN of the VocabularyFilter.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Generated download URI.
	DownloadURI *string `json:"downloadUri,omitempty" tf:"download_uri,omitempty"`

	// VocabularyFilter name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The language code you selected for your vocabulary filter. Refer to the supported languages page for accepted codes.
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The Amazon S3 location (URI) of the text file that contains your custom VocabularyFilter. Conflicts with words argument.
	VocabularyFilterFileURI *string `json:"vocabularyFilterFileUri,omitempty" tf:"vocabulary_filter_file_uri,omitempty"`

	// - A list of terms to include in the vocabulary. Conflicts with vocabulary_filter_file_uri argument.
	Words []*string `json:"words,omitempty" tf:"words,omitempty"`
}

func (*VocabularyFilterObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyFilterObservation.

func (*VocabularyFilterObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyFilterParameters

type VocabularyFilterParameters struct {

	// The language code you selected for your vocabulary filter. Refer to the supported languages page for accepted codes.
	// +kubebuilder:validation:Optional
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The Amazon S3 location (URI) of the text file that contains your custom VocabularyFilter. Conflicts with words argument.
	// +kubebuilder:validation:Optional
	VocabularyFilterFileURI *string `json:"vocabularyFilterFileUri,omitempty" tf:"vocabulary_filter_file_uri,omitempty"`

	// - A list of terms to include in the vocabulary. Conflicts with vocabulary_filter_file_uri argument.
	// +kubebuilder:validation:Optional
	Words []*string `json:"words,omitempty" tf:"words,omitempty"`
}

func (*VocabularyFilterParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyFilterParameters.

func (*VocabularyFilterParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyFilterSpec

type VocabularyFilterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VocabularyFilterParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider VocabularyFilterInitParameters `json:"initProvider,omitempty"`
}

VocabularyFilterSpec defines the desired state of VocabularyFilter

func (*VocabularyFilterSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyFilterSpec.

func (*VocabularyFilterSpec) DeepCopyInto

func (in *VocabularyFilterSpec) DeepCopyInto(out *VocabularyFilterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyFilterStatus

type VocabularyFilterStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        VocabularyFilterObservation `json:"atProvider,omitempty"`
}

VocabularyFilterStatus defines the observed state of VocabularyFilter.

func (*VocabularyFilterStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyFilterStatus.

func (*VocabularyFilterStatus) DeepCopyInto

func (in *VocabularyFilterStatus) DeepCopyInto(out *VocabularyFilterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyInitParameters added in v0.38.0

type VocabularyInitParameters struct {

	// The language code you selected for your vocabulary.
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// - A list of terms to include in the vocabulary. Conflicts with vocabulary_file_uri
	Phrases []*string `json:"phrases,omitempty" tf:"phrases,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The Amazon S3 location (URI) of the text file that contains your custom vocabulary.
	VocabularyFileURI *string `json:"vocabularyFileUri,omitempty" tf:"vocabulary_file_uri,omitempty"`
}

func (*VocabularyInitParameters) DeepCopy added in v0.38.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyInitParameters.

func (*VocabularyInitParameters) DeepCopyInto added in v0.38.0

func (in *VocabularyInitParameters) DeepCopyInto(out *VocabularyInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyList

type VocabularyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Vocabulary `json:"items"`
}

VocabularyList contains a list of Vocabularys

func (*VocabularyList) DeepCopy

func (in *VocabularyList) DeepCopy() *VocabularyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyList.

func (*VocabularyList) DeepCopyInto

func (in *VocabularyList) DeepCopyInto(out *VocabularyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VocabularyList) DeepCopyObject

func (in *VocabularyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VocabularyList) GetItems

func (l *VocabularyList) GetItems() []resource.Managed

GetItems of this VocabularyList.

type VocabularyObservation

type VocabularyObservation struct {

	// ARN of the Vocabulary.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Generated download URI.
	DownloadURI *string `json:"downloadUri,omitempty" tf:"download_uri,omitempty"`

	// Name of the Vocabulary.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The language code you selected for your vocabulary.
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// - A list of terms to include in the vocabulary. Conflicts with vocabulary_file_uri
	Phrases []*string `json:"phrases,omitempty" tf:"phrases,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The Amazon S3 location (URI) of the text file that contains your custom vocabulary.
	VocabularyFileURI *string `json:"vocabularyFileUri,omitempty" tf:"vocabulary_file_uri,omitempty"`
}

func (*VocabularyObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyObservation.

func (*VocabularyObservation) DeepCopyInto

func (in *VocabularyObservation) DeepCopyInto(out *VocabularyObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyParameters

type VocabularyParameters struct {

	// The language code you selected for your vocabulary.
	// +kubebuilder:validation:Optional
	LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"`

	// - A list of terms to include in the vocabulary. Conflicts with vocabulary_file_uri
	// +kubebuilder:validation:Optional
	Phrases []*string `json:"phrases,omitempty" tf:"phrases,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The Amazon S3 location (URI) of the text file that contains your custom vocabulary.
	// +kubebuilder:validation:Optional
	VocabularyFileURI *string `json:"vocabularyFileUri,omitempty" tf:"vocabulary_file_uri,omitempty"`
}

func (*VocabularyParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyParameters.

func (*VocabularyParameters) DeepCopyInto

func (in *VocabularyParameters) DeepCopyInto(out *VocabularyParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularySpec

type VocabularySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VocabularyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider VocabularyInitParameters `json:"initProvider,omitempty"`
}

VocabularySpec defines the desired state of Vocabulary

func (*VocabularySpec) DeepCopy

func (in *VocabularySpec) DeepCopy() *VocabularySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularySpec.

func (*VocabularySpec) DeepCopyInto

func (in *VocabularySpec) DeepCopyInto(out *VocabularySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VocabularyStatus

type VocabularyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        VocabularyObservation `json:"atProvider,omitempty"`
}

VocabularyStatus defines the observed state of Vocabulary.

func (*VocabularyStatus) DeepCopy

func (in *VocabularyStatus) DeepCopy() *VocabularyStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VocabularyStatus.

func (*VocabularyStatus) DeepCopyInto

func (in *VocabularyStatus) DeepCopyInto(out *VocabularyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL