v1beta1

package
v0.44.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Database_Kind             = "Database"
	Database_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String()
	Database_KindAPIVersion   = Database_Kind + "." + CRDGroupVersion.String()
	Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind)
)

Repository type metadata.

View Source
var (
	DataCatalog_Kind             = "DataCatalog"
	DataCatalog_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DataCatalog_Kind}.String()
	DataCatalog_KindAPIVersion   = DataCatalog_Kind + "." + CRDGroupVersion.String()
	DataCatalog_GroupVersionKind = CRDGroupVersion.WithKind(DataCatalog_Kind)
)

Repository type metadata.

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 (
	NamedQuery_Kind             = "NamedQuery"
	NamedQuery_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NamedQuery_Kind}.String()
	NamedQuery_KindAPIVersion   = NamedQuery_Kind + "." + CRDGroupVersion.String()
	NamedQuery_GroupVersionKind = CRDGroupVersion.WithKind(NamedQuery_Kind)
)

Repository type metadata.

View Source
var (
	Workgroup_Kind             = "Workgroup"
	Workgroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Workgroup_Kind}.String()
	Workgroup_KindAPIVersion   = Workgroup_Kind + "." + CRDGroupVersion.String()
	Workgroup_GroupVersionKind = CRDGroupVersion.WithKind(Workgroup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ACLConfigurationInitParameters added in v0.38.0

type ACLConfigurationInitParameters struct {

	// Amazon S3 canned ACL that Athena should specify when storing query results. Valid value is BUCKET_OWNER_FULL_CONTROL.
	S3ACLOption *string `json:"s3AclOption,omitempty" tf:"s3_acl_option,omitempty"`
}

func (*ACLConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ACLConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ACLConfigurationObservation

type ACLConfigurationObservation struct {

	// Amazon S3 canned ACL that Athena should specify when storing query results. Valid value is BUCKET_OWNER_FULL_CONTROL.
	S3ACLOption *string `json:"s3AclOption,omitempty" tf:"s3_acl_option,omitempty"`
}

func (*ACLConfigurationObservation) DeepCopy

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

func (*ACLConfigurationObservation) DeepCopyInto

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

type ACLConfigurationParameters

type ACLConfigurationParameters struct {

	// Amazon S3 canned ACL that Athena should specify when storing query results. Valid value is BUCKET_OWNER_FULL_CONTROL.
	// +kubebuilder:validation:Optional
	S3ACLOption *string `json:"s3AclOption" tf:"s3_acl_option,omitempty"`
}

func (*ACLConfigurationParameters) DeepCopy

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

func (*ACLConfigurationParameters) DeepCopyInto

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

type ConfigurationInitParameters added in v0.38.0

type ConfigurationInitParameters struct {

	// Integer for the upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. Must be at least 10485760.
	BytesScannedCutoffPerQuery *float64 `json:"bytesScannedCutoffPerQuery,omitempty" tf:"bytes_scanned_cutoff_per_query,omitempty"`

	// Boolean whether the settings for the workgroup override client-side settings. For more information, see Workgroup Settings Override Client-Side Settings. Defaults to true.
	EnforceWorkgroupConfiguration *bool `json:"enforceWorkgroupConfiguration,omitempty" tf:"enforce_workgroup_configuration,omitempty"`

	// Configuration block for the Athena Engine Versioning. For more information, see Athena Engine Versioning. See Engine Version below.
	EngineVersion []EngineVersionInitParameters `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// Role used in a notebook session for accessing the user's resources.
	ExecutionRole *string `json:"executionRole,omitempty" tf:"execution_role,omitempty"`

	// Boolean whether Amazon CloudWatch metrics are enabled for the workgroup. Defaults to true.
	PublishCloudwatchMetricsEnabled *bool `json:"publishCloudwatchMetricsEnabled,omitempty" tf:"publish_cloudwatch_metrics_enabled,omitempty"`

	// If set to true , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false . For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
	RequesterPaysEnabled *bool `json:"requesterPaysEnabled,omitempty" tf:"requester_pays_enabled,omitempty"`

	// Configuration block with result settings. See Result Configuration below.
	ResultConfiguration []ResultConfigurationInitParameters `json:"resultConfiguration,omitempty" tf:"result_configuration,omitempty"`
}

func (*ConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ConfigurationObservation

type ConfigurationObservation struct {

	// Integer for the upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. Must be at least 10485760.
	BytesScannedCutoffPerQuery *float64 `json:"bytesScannedCutoffPerQuery,omitempty" tf:"bytes_scanned_cutoff_per_query,omitempty"`

	// Boolean whether the settings for the workgroup override client-side settings. For more information, see Workgroup Settings Override Client-Side Settings. Defaults to true.
	EnforceWorkgroupConfiguration *bool `json:"enforceWorkgroupConfiguration,omitempty" tf:"enforce_workgroup_configuration,omitempty"`

	// Configuration block for the Athena Engine Versioning. For more information, see Athena Engine Versioning. See Engine Version below.
	EngineVersion []EngineVersionObservation `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// Role used in a notebook session for accessing the user's resources.
	ExecutionRole *string `json:"executionRole,omitempty" tf:"execution_role,omitempty"`

	// Boolean whether Amazon CloudWatch metrics are enabled for the workgroup. Defaults to true.
	PublishCloudwatchMetricsEnabled *bool `json:"publishCloudwatchMetricsEnabled,omitempty" tf:"publish_cloudwatch_metrics_enabled,omitempty"`

	// If set to true , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false . For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
	RequesterPaysEnabled *bool `json:"requesterPaysEnabled,omitempty" tf:"requester_pays_enabled,omitempty"`

	// Configuration block with result settings. See Result Configuration below.
	ResultConfiguration []ResultConfigurationObservation `json:"resultConfiguration,omitempty" tf:"result_configuration,omitempty"`
}

func (*ConfigurationObservation) DeepCopy

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

func (*ConfigurationObservation) DeepCopyInto

func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)

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

type ConfigurationParameters

type ConfigurationParameters struct {

	// Integer for the upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. Must be at least 10485760.
	// +kubebuilder:validation:Optional
	BytesScannedCutoffPerQuery *float64 `json:"bytesScannedCutoffPerQuery,omitempty" tf:"bytes_scanned_cutoff_per_query,omitempty"`

	// Boolean whether the settings for the workgroup override client-side settings. For more information, see Workgroup Settings Override Client-Side Settings. Defaults to true.
	// +kubebuilder:validation:Optional
	EnforceWorkgroupConfiguration *bool `json:"enforceWorkgroupConfiguration,omitempty" tf:"enforce_workgroup_configuration,omitempty"`

	// Configuration block for the Athena Engine Versioning. For more information, see Athena Engine Versioning. See Engine Version below.
	// +kubebuilder:validation:Optional
	EngineVersion []EngineVersionParameters `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// Role used in a notebook session for accessing the user's resources.
	// +kubebuilder:validation:Optional
	ExecutionRole *string `json:"executionRole,omitempty" tf:"execution_role,omitempty"`

	// Boolean whether Amazon CloudWatch metrics are enabled for the workgroup. Defaults to true.
	// +kubebuilder:validation:Optional
	PublishCloudwatchMetricsEnabled *bool `json:"publishCloudwatchMetricsEnabled,omitempty" tf:"publish_cloudwatch_metrics_enabled,omitempty"`

	// If set to true , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false . For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
	// +kubebuilder:validation:Optional
	RequesterPaysEnabled *bool `json:"requesterPaysEnabled,omitempty" tf:"requester_pays_enabled,omitempty"`

	// Configuration block with result settings. See Result Configuration below.
	// +kubebuilder:validation:Optional
	ResultConfiguration []ResultConfigurationParameters `json:"resultConfiguration,omitempty" tf:"result_configuration,omitempty"`
}

func (*ConfigurationParameters) DeepCopy

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

func (*ConfigurationParameters) DeepCopyInto

func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)

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

type DataCatalog

type DataCatalog 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.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parameters) || (has(self.initProvider) && has(self.initProvider.parameters))",message="spec.forProvider.parameters is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   DataCatalogSpec   `json:"spec"`
	Status DataCatalogStatus `json:"status,omitempty"`
}

DataCatalog is the Schema for the DataCatalogs API. Provides an Athena data catalog. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*DataCatalog) DeepCopy

func (in *DataCatalog) DeepCopy() *DataCatalog

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

func (*DataCatalog) DeepCopyInto

func (in *DataCatalog) DeepCopyInto(out *DataCatalog)

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

func (*DataCatalog) DeepCopyObject

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

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

func (*DataCatalog) GetCondition

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

GetCondition of this DataCatalog.

func (*DataCatalog) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DataCatalog

func (*DataCatalog) GetDeletionPolicy

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

GetDeletionPolicy of this DataCatalog.

func (*DataCatalog) GetID

func (tr *DataCatalog) GetID() string

GetID returns ID of underlying Terraform resource of this DataCatalog

func (*DataCatalog) GetInitParameters added in v0.38.0

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

GetInitParameters of this DataCatalog

func (*DataCatalog) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this DataCatalog.

func (*DataCatalog) GetMergedParameters added in v0.44.0

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

GetInitParameters of this DataCatalog

func (*DataCatalog) GetObservation

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

GetObservation of this DataCatalog

func (*DataCatalog) GetParameters

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

GetParameters of this DataCatalog

func (*DataCatalog) GetProviderConfigReference

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

GetProviderConfigReference of this DataCatalog.

func (*DataCatalog) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DataCatalog.

func (*DataCatalog) GetTerraformResourceType

func (mg *DataCatalog) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DataCatalog

func (*DataCatalog) GetTerraformSchemaVersion

func (tr *DataCatalog) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DataCatalog) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DataCatalog.

func (*DataCatalog) LateInitialize

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

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

func (*DataCatalog) SetConditions

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

SetConditions of this DataCatalog.

func (*DataCatalog) SetDeletionPolicy

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

SetDeletionPolicy of this DataCatalog.

func (*DataCatalog) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this DataCatalog.

func (*DataCatalog) SetObservation

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

SetObservation for this DataCatalog

func (*DataCatalog) SetParameters

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

SetParameters for this DataCatalog

func (*DataCatalog) SetProviderConfigReference

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

SetProviderConfigReference of this DataCatalog.

func (*DataCatalog) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DataCatalog.

func (*DataCatalog) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DataCatalog.

type DataCatalogInitParameters added in v0.38.0

type DataCatalogInitParameters struct {

	// Description of the data catalog.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

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

	// Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DataCatalogInitParameters) DeepCopy added in v0.38.0

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

func (*DataCatalogInitParameters) DeepCopyInto added in v0.38.0

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

type DataCatalogList

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

DataCatalogList contains a list of DataCatalogs

func (*DataCatalogList) DeepCopy

func (in *DataCatalogList) DeepCopy() *DataCatalogList

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

func (*DataCatalogList) DeepCopyInto

func (in *DataCatalogList) DeepCopyInto(out *DataCatalogList)

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

func (*DataCatalogList) DeepCopyObject

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

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

func (*DataCatalogList) GetItems

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

GetItems of this DataCatalogList.

type DataCatalogObservation

type DataCatalogObservation struct {

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

	// Description of the data catalog.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

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

	// Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DataCatalogObservation) DeepCopy

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

func (*DataCatalogObservation) DeepCopyInto

func (in *DataCatalogObservation) DeepCopyInto(out *DataCatalogObservation)

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

type DataCatalogParameters

type DataCatalogParameters struct {

	// Description of the data catalog.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Key value pairs that specifies the Lambda function or functions to use for the data catalog. The mapping used depends on the catalog type.
	// +kubebuilder:validation:Optional
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,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
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Type of data catalog: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*DataCatalogParameters) DeepCopy

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

func (*DataCatalogParameters) DeepCopyInto

func (in *DataCatalogParameters) DeepCopyInto(out *DataCatalogParameters)

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

type DataCatalogSpec

type DataCatalogSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DataCatalogParameters `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 DataCatalogInitParameters `json:"initProvider,omitempty"`
}

DataCatalogSpec defines the desired state of DataCatalog

func (*DataCatalogSpec) DeepCopy

func (in *DataCatalogSpec) DeepCopy() *DataCatalogSpec

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

func (*DataCatalogSpec) DeepCopyInto

func (in *DataCatalogSpec) DeepCopyInto(out *DataCatalogSpec)

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

type DataCatalogStatus

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

DataCatalogStatus defines the observed state of DataCatalog.

func (*DataCatalogStatus) DeepCopy

func (in *DataCatalogStatus) DeepCopy() *DataCatalogStatus

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

func (*DataCatalogStatus) DeepCopyInto

func (in *DataCatalogStatus) DeepCopyInto(out *DataCatalogStatus)

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

type Database

type Database struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseSpec   `json:"spec"`
	Status            DatabaseStatus `json:"status,omitempty"`
}

Database is the Schema for the Databases API. Provides an Athena database. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject

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

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

func (*Database) GetCondition

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

GetCondition of this Database.

func (*Database) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Database

func (*Database) GetDeletionPolicy

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

GetDeletionPolicy of this Database.

func (*Database) GetID

func (tr *Database) GetID() string

GetID returns ID of underlying Terraform resource of this Database

func (*Database) GetInitParameters added in v0.38.0

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

GetInitParameters of this Database

func (*Database) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Database.

func (*Database) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Database

func (*Database) GetObservation

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

GetObservation of this Database

func (*Database) GetParameters

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

GetParameters of this Database

func (*Database) GetProviderConfigReference

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

GetProviderConfigReference of this Database.

func (*Database) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Database.

func (*Database) GetTerraformResourceType

func (mg *Database) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Database

func (*Database) GetTerraformSchemaVersion

func (tr *Database) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Database) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Database.

func (*Database) LateInitialize

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

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

func (*Database) ResolveReferences

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

ResolveReferences of this Database.

func (*Database) SetConditions

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

SetConditions of this Database.

func (*Database) SetDeletionPolicy

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

SetDeletionPolicy of this Database.

func (*Database) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Database.

func (*Database) SetObservation

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

SetObservation for this Database

func (*Database) SetParameters

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

SetParameters for this Database

func (*Database) SetProviderConfigReference

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

SetProviderConfigReference of this Database.

func (*Database) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Database.

func (*Database) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Database.

type DatabaseInitParameters added in v0.38.0

type DatabaseInitParameters struct {

	// That an Amazon S3 canned ACL should be set to control ownership of stored query results. See ACL Configuration below.
	ACLConfiguration []ACLConfigurationInitParameters `json:"aclConfiguration,omitempty" tf:"acl_configuration,omitempty"`

	// Description of the database.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// Encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. See Encryption Configuration below.
	EncryptionConfiguration []EncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// AWS account ID that you expect to be the owner of the Amazon S3 bucket.
	ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"`

	// Boolean that indicates all tables should be deleted from the database so that the database can be destroyed without error. The tables are not recoverable.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// Key-value map of custom metadata properties for the database definition.
	Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
}

func (*DatabaseInitParameters) DeepCopy added in v0.38.0

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

func (*DatabaseInitParameters) DeepCopyInto added in v0.38.0

func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters)

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

type DatabaseList

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

DatabaseList contains a list of Databases

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject

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

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

func (*DatabaseList) GetItems

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

GetItems of this DatabaseList.

type DatabaseObservation

type DatabaseObservation struct {

	// That an Amazon S3 canned ACL should be set to control ownership of stored query results. See ACL Configuration below.
	ACLConfiguration []ACLConfigurationObservation `json:"aclConfiguration,omitempty" tf:"acl_configuration,omitempty"`

	// Name of S3 bucket to save the results of the query execution.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Description of the database.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// Encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. See Encryption Configuration below.
	EncryptionConfiguration []EncryptionConfigurationObservation `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// AWS account ID that you expect to be the owner of the Amazon S3 bucket.
	ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"`

	// Boolean that indicates all tables should be deleted from the database so that the database can be destroyed without error. The tables are not recoverable.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

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

	// Key-value map of custom metadata properties for the database definition.
	Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"`
}

func (*DatabaseObservation) DeepCopy

func (in *DatabaseObservation) DeepCopy() *DatabaseObservation

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

func (*DatabaseObservation) DeepCopyInto

func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)

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

type DatabaseParameters

type DatabaseParameters struct {

	// That an Amazon S3 canned ACL should be set to control ownership of stored query results. See ACL Configuration below.
	// +kubebuilder:validation:Optional
	ACLConfiguration []ACLConfigurationParameters `json:"aclConfiguration,omitempty" tf:"acl_configuration,omitempty"`

	// Name of S3 bucket to save the results of the query execution.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Reference to a Bucket in s3 to populate bucket.
	// +kubebuilder:validation:Optional
	BucketRef *v1.Reference `json:"bucketRef,omitempty" tf:"-"`

	// Selector for a Bucket in s3 to populate bucket.
	// +kubebuilder:validation:Optional
	BucketSelector *v1.Selector `json:"bucketSelector,omitempty" tf:"-"`

	// Description of the database.
	// +kubebuilder:validation:Optional
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// Encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. See Encryption Configuration below.
	// +kubebuilder:validation:Optional
	EncryptionConfiguration []EncryptionConfigurationParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// AWS account ID that you expect to be the owner of the Amazon S3 bucket.
	// +kubebuilder:validation:Optional
	ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"`

	// Boolean that indicates all tables should be deleted from the database so that the database can be destroyed without error. The tables are not recoverable.
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// Key-value map of custom metadata properties for the database definition.
	// +kubebuilder:validation:Optional
	Properties map[string]*string `json:"properties,omitempty" tf:"properties,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:"-"`
}

func (*DatabaseParameters) DeepCopy

func (in *DatabaseParameters) DeepCopy() *DatabaseParameters

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

func (*DatabaseParameters) DeepCopyInto

func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)

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

type DatabaseSpec

type DatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseParameters `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 DatabaseInitParameters `json:"initProvider,omitempty"`
}

DatabaseSpec defines the desired state of Database

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type DatabaseStatus

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

DatabaseStatus defines the observed state of Database.

func (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

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

type EncryptionConfigurationInitParameters added in v0.38.0

type EncryptionConfigurationInitParameters struct {

	// Type of key; one of SSE_S3, SSE_KMS, CSE_KMS
	EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option,omitempty"`

	// KMS key ARN or ID; required for key types SSE_KMS and CSE_KMS.
	KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"`
}

func (*EncryptionConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*EncryptionConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type EncryptionConfigurationObservation

type EncryptionConfigurationObservation struct {

	// Type of key; one of SSE_S3, SSE_KMS, CSE_KMS
	EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option,omitempty"`

	// KMS key ARN or ID; required for key types SSE_KMS and CSE_KMS.
	KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"`
}

func (*EncryptionConfigurationObservation) DeepCopy

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

func (*EncryptionConfigurationObservation) DeepCopyInto

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

type EncryptionConfigurationParameters

type EncryptionConfigurationParameters struct {

	// Type of key; one of SSE_S3, SSE_KMS, CSE_KMS
	// +kubebuilder:validation:Optional
	EncryptionOption *string `json:"encryptionOption" tf:"encryption_option,omitempty"`

	// KMS key ARN or ID; required for key types SSE_KMS and CSE_KMS.
	// +kubebuilder:validation:Optional
	KMSKey *string `json:"kmsKey,omitempty" tf:"kms_key,omitempty"`
}

func (*EncryptionConfigurationParameters) DeepCopy

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

func (*EncryptionConfigurationParameters) DeepCopyInto

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

type EngineVersionInitParameters added in v0.38.0

type EngineVersionInitParameters struct {

	// Requested engine version. Defaults to AUTO.
	SelectedEngineVersion *string `json:"selectedEngineVersion,omitempty" tf:"selected_engine_version,omitempty"`
}

func (*EngineVersionInitParameters) DeepCopy added in v0.38.0

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

func (*EngineVersionInitParameters) DeepCopyInto added in v0.38.0

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

type EngineVersionObservation

type EngineVersionObservation struct {

	// The engine version on which the query runs. If selected_engine_version is set to AUTO, the effective engine version is chosen by Athena.
	EffectiveEngineVersion *string `json:"effectiveEngineVersion,omitempty" tf:"effective_engine_version,omitempty"`

	// Requested engine version. Defaults to AUTO.
	SelectedEngineVersion *string `json:"selectedEngineVersion,omitempty" tf:"selected_engine_version,omitempty"`
}

func (*EngineVersionObservation) DeepCopy

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

func (*EngineVersionObservation) DeepCopyInto

func (in *EngineVersionObservation) DeepCopyInto(out *EngineVersionObservation)

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

type EngineVersionParameters

type EngineVersionParameters struct {

	// Requested engine version. Defaults to AUTO.
	// +kubebuilder:validation:Optional
	SelectedEngineVersion *string `json:"selectedEngineVersion,omitempty" tf:"selected_engine_version,omitempty"`
}

func (*EngineVersionParameters) DeepCopy

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

func (*EngineVersionParameters) DeepCopyInto

func (in *EngineVersionParameters) DeepCopyInto(out *EngineVersionParameters)

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

type NamedQuery

type NamedQuery 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.query) || (has(self.initProvider) && has(self.initProvider.query))",message="spec.forProvider.query is a required parameter"
	Spec   NamedQuerySpec   `json:"spec"`
	Status NamedQueryStatus `json:"status,omitempty"`
}

NamedQuery is the Schema for the NamedQuerys API. Provides an Athena Named Query resource. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*NamedQuery) DeepCopy

func (in *NamedQuery) DeepCopy() *NamedQuery

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

func (*NamedQuery) DeepCopyInto

func (in *NamedQuery) DeepCopyInto(out *NamedQuery)

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

func (*NamedQuery) DeepCopyObject

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

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

func (*NamedQuery) GetCondition

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

GetCondition of this NamedQuery.

func (*NamedQuery) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NamedQuery

func (*NamedQuery) GetDeletionPolicy

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

GetDeletionPolicy of this NamedQuery.

func (*NamedQuery) GetID

func (tr *NamedQuery) GetID() string

GetID returns ID of underlying Terraform resource of this NamedQuery

func (*NamedQuery) GetInitParameters added in v0.38.0

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

GetInitParameters of this NamedQuery

func (*NamedQuery) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this NamedQuery.

func (*NamedQuery) GetMergedParameters added in v0.44.0

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

GetInitParameters of this NamedQuery

func (*NamedQuery) GetObservation

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

GetObservation of this NamedQuery

func (*NamedQuery) GetParameters

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

GetParameters of this NamedQuery

func (*NamedQuery) GetProviderConfigReference

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

GetProviderConfigReference of this NamedQuery.

func (*NamedQuery) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NamedQuery.

func (*NamedQuery) GetTerraformResourceType

func (mg *NamedQuery) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NamedQuery

func (*NamedQuery) GetTerraformSchemaVersion

func (tr *NamedQuery) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NamedQuery) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NamedQuery.

func (*NamedQuery) LateInitialize

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

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

func (*NamedQuery) ResolveReferences

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

ResolveReferences of this NamedQuery.

func (*NamedQuery) SetConditions

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

SetConditions of this NamedQuery.

func (*NamedQuery) SetDeletionPolicy

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

SetDeletionPolicy of this NamedQuery.

func (*NamedQuery) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this NamedQuery.

func (*NamedQuery) SetObservation

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

SetObservation for this NamedQuery

func (*NamedQuery) SetParameters

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

SetParameters for this NamedQuery

func (*NamedQuery) SetProviderConfigReference

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

SetProviderConfigReference of this NamedQuery.

func (*NamedQuery) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NamedQuery.

func (*NamedQuery) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NamedQuery.

type NamedQueryInitParameters added in v0.38.0

type NamedQueryInitParameters struct {

	// Brief explanation of the query. Maximum length of 1024.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Plain language name for the query. Maximum length of 128.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Text of the query itself. In other words, all query statements. Maximum length of 262144.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`
}

func (*NamedQueryInitParameters) DeepCopy added in v0.38.0

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

func (*NamedQueryInitParameters) DeepCopyInto added in v0.38.0

func (in *NamedQueryInitParameters) DeepCopyInto(out *NamedQueryInitParameters)

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

type NamedQueryList

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

NamedQueryList contains a list of NamedQuerys

func (*NamedQueryList) DeepCopy

func (in *NamedQueryList) DeepCopy() *NamedQueryList

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

func (*NamedQueryList) DeepCopyInto

func (in *NamedQueryList) DeepCopyInto(out *NamedQueryList)

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

func (*NamedQueryList) DeepCopyObject

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

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

func (*NamedQueryList) GetItems

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

GetItems of this NamedQueryList.

type NamedQueryObservation

type NamedQueryObservation struct {

	// Database to which the query belongs.
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Brief explanation of the query. Maximum length of 1024.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Unique ID of the query.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Plain language name for the query. Maximum length of 128.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Text of the query itself. In other words, all query statements. Maximum length of 262144.
	Query *string `json:"query,omitempty" tf:"query,omitempty"`

	// Workgroup to which the query belongs. Defaults to primary
	Workgroup *string `json:"workgroup,omitempty" tf:"workgroup,omitempty"`
}

func (*NamedQueryObservation) DeepCopy

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

func (*NamedQueryObservation) DeepCopyInto

func (in *NamedQueryObservation) DeepCopyInto(out *NamedQueryObservation)

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

type NamedQueryParameters

type NamedQueryParameters struct {

	// Database to which the query belongs.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/athena/v1beta1.Database
	// +kubebuilder:validation:Optional
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Reference to a Database in athena to populate database.
	// +kubebuilder:validation:Optional
	DatabaseRef *v1.Reference `json:"databaseRef,omitempty" tf:"-"`

	// Selector for a Database in athena to populate database.
	// +kubebuilder:validation:Optional
	DatabaseSelector *v1.Selector `json:"databaseSelector,omitempty" tf:"-"`

	// Brief explanation of the query. Maximum length of 1024.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Plain language name for the query. Maximum length of 128.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Text of the query itself. In other words, all query statements. Maximum length of 262144.
	// +kubebuilder:validation:Optional
	Query *string `json:"query,omitempty" tf:"query,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:"-"`

	// Workgroup to which the query belongs. Defaults to primary
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/athena/v1beta1.Workgroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Workgroup *string `json:"workgroup,omitempty" tf:"workgroup,omitempty"`

	// Reference to a Workgroup in athena to populate workgroup.
	// +kubebuilder:validation:Optional
	WorkgroupRef *v1.Reference `json:"workgroupRef,omitempty" tf:"-"`

	// Selector for a Workgroup in athena to populate workgroup.
	// +kubebuilder:validation:Optional
	WorkgroupSelector *v1.Selector `json:"workgroupSelector,omitempty" tf:"-"`
}

func (*NamedQueryParameters) DeepCopy

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

func (*NamedQueryParameters) DeepCopyInto

func (in *NamedQueryParameters) DeepCopyInto(out *NamedQueryParameters)

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

type NamedQuerySpec

type NamedQuerySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NamedQueryParameters `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 NamedQueryInitParameters `json:"initProvider,omitempty"`
}

NamedQuerySpec defines the desired state of NamedQuery

func (*NamedQuerySpec) DeepCopy

func (in *NamedQuerySpec) DeepCopy() *NamedQuerySpec

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

func (*NamedQuerySpec) DeepCopyInto

func (in *NamedQuerySpec) DeepCopyInto(out *NamedQuerySpec)

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

type NamedQueryStatus

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

NamedQueryStatus defines the observed state of NamedQuery.

func (*NamedQueryStatus) DeepCopy

func (in *NamedQueryStatus) DeepCopy() *NamedQueryStatus

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

func (*NamedQueryStatus) DeepCopyInto

func (in *NamedQueryStatus) DeepCopyInto(out *NamedQueryStatus)

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

type ResultConfigurationACLConfigurationInitParameters added in v0.38.0

type ResultConfigurationACLConfigurationInitParameters struct {

	// Amazon S3 canned ACL that Athena should specify when storing query results. Valid value is BUCKET_OWNER_FULL_CONTROL.
	S3ACLOption *string `json:"s3AclOption,omitempty" tf:"s3_acl_option,omitempty"`
}

func (*ResultConfigurationACLConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ResultConfigurationACLConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ResultConfigurationACLConfigurationObservation

type ResultConfigurationACLConfigurationObservation struct {

	// Amazon S3 canned ACL that Athena should specify when storing query results. Valid value is BUCKET_OWNER_FULL_CONTROL.
	S3ACLOption *string `json:"s3AclOption,omitempty" tf:"s3_acl_option,omitempty"`
}

func (*ResultConfigurationACLConfigurationObservation) DeepCopy

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

func (*ResultConfigurationACLConfigurationObservation) DeepCopyInto

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

type ResultConfigurationACLConfigurationParameters

type ResultConfigurationACLConfigurationParameters struct {

	// Amazon S3 canned ACL that Athena should specify when storing query results. Valid value is BUCKET_OWNER_FULL_CONTROL.
	// +kubebuilder:validation:Optional
	S3ACLOption *string `json:"s3AclOption" tf:"s3_acl_option,omitempty"`
}

func (*ResultConfigurationACLConfigurationParameters) DeepCopy

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

func (*ResultConfigurationACLConfigurationParameters) DeepCopyInto

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

type ResultConfigurationEncryptionConfigurationInitParameters added in v0.38.0

type ResultConfigurationEncryptionConfigurationInitParameters struct {

	// Whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
	EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option,omitempty"`
}

func (*ResultConfigurationEncryptionConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ResultConfigurationEncryptionConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ResultConfigurationEncryptionConfigurationObservation

type ResultConfigurationEncryptionConfigurationObservation struct {

	// Whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
	EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option,omitempty"`

	// For SSE_KMS and CSE_KMS, this is the KMS key ARN.
	KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`
}

func (*ResultConfigurationEncryptionConfigurationObservation) DeepCopy

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

func (*ResultConfigurationEncryptionConfigurationObservation) DeepCopyInto

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

type ResultConfigurationEncryptionConfigurationParameters

type ResultConfigurationEncryptionConfigurationParameters struct {

	// Whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE_S3), server-side encryption with KMS-managed keys (SSE_KMS), or client-side encryption with KMS-managed keys (CSE_KMS) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
	// +kubebuilder:validation:Optional
	EncryptionOption *string `json:"encryptionOption,omitempty" tf:"encryption_option,omitempty"`

	// For SSE_KMS and CSE_KMS, this is the KMS key ARN.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"`

	// Reference to a Key in kms to populate kmsKeyArn.
	// +kubebuilder:validation:Optional
	KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyArn.
	// +kubebuilder:validation:Optional
	KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"`
}

func (*ResultConfigurationEncryptionConfigurationParameters) DeepCopy

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

func (*ResultConfigurationEncryptionConfigurationParameters) DeepCopyInto

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

type ResultConfigurationInitParameters added in v0.38.0

type ResultConfigurationInitParameters struct {

	// That an Amazon S3 canned ACL should be set to control ownership of stored query results. See ACL Configuration below.
	ACLConfiguration []ResultConfigurationACLConfigurationInitParameters `json:"aclConfiguration,omitempty" tf:"acl_configuration,omitempty"`

	// Configuration block with encryption settings. See Encryption Configuration below.
	EncryptionConfiguration []ResultConfigurationEncryptionConfigurationInitParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// AWS account ID that you expect to be the owner of the Amazon S3 bucket.
	ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"`

	// Location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. For more information, see Queries and Query Result Files.
	OutputLocation *string `json:"outputLocation,omitempty" tf:"output_location,omitempty"`
}

func (*ResultConfigurationInitParameters) DeepCopy added in v0.38.0

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

func (*ResultConfigurationInitParameters) DeepCopyInto added in v0.38.0

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

type ResultConfigurationObservation

type ResultConfigurationObservation struct {

	// That an Amazon S3 canned ACL should be set to control ownership of stored query results. See ACL Configuration below.
	ACLConfiguration []ResultConfigurationACLConfigurationObservation `json:"aclConfiguration,omitempty" tf:"acl_configuration,omitempty"`

	// Configuration block with encryption settings. See Encryption Configuration below.
	EncryptionConfiguration []ResultConfigurationEncryptionConfigurationObservation `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// AWS account ID that you expect to be the owner of the Amazon S3 bucket.
	ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"`

	// Location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. For more information, see Queries and Query Result Files.
	OutputLocation *string `json:"outputLocation,omitempty" tf:"output_location,omitempty"`
}

func (*ResultConfigurationObservation) DeepCopy

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

func (*ResultConfigurationObservation) DeepCopyInto

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

type ResultConfigurationParameters

type ResultConfigurationParameters struct {

	// That an Amazon S3 canned ACL should be set to control ownership of stored query results. See ACL Configuration below.
	// +kubebuilder:validation:Optional
	ACLConfiguration []ResultConfigurationACLConfigurationParameters `json:"aclConfiguration,omitempty" tf:"acl_configuration,omitempty"`

	// Configuration block with encryption settings. See Encryption Configuration below.
	// +kubebuilder:validation:Optional
	EncryptionConfiguration []ResultConfigurationEncryptionConfigurationParameters `json:"encryptionConfiguration,omitempty" tf:"encryption_configuration,omitempty"`

	// AWS account ID that you expect to be the owner of the Amazon S3 bucket.
	// +kubebuilder:validation:Optional
	ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty" tf:"expected_bucket_owner,omitempty"`

	// Location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. For more information, see Queries and Query Result Files.
	// +kubebuilder:validation:Optional
	OutputLocation *string `json:"outputLocation,omitempty" tf:"output_location,omitempty"`
}

func (*ResultConfigurationParameters) DeepCopy

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

func (*ResultConfigurationParameters) DeepCopyInto

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

type Workgroup

type Workgroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WorkgroupSpec   `json:"spec"`
	Status            WorkgroupStatus `json:"status,omitempty"`
}

Workgroup is the Schema for the Workgroups API. Manages an Athena Workgroup. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Workgroup) DeepCopy

func (in *Workgroup) DeepCopy() *Workgroup

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

func (*Workgroup) DeepCopyInto

func (in *Workgroup) DeepCopyInto(out *Workgroup)

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

func (*Workgroup) DeepCopyObject

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

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

func (*Workgroup) GetCondition

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

GetCondition of this Workgroup.

func (*Workgroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Workgroup

func (*Workgroup) GetDeletionPolicy

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

GetDeletionPolicy of this Workgroup.

func (*Workgroup) GetID

func (tr *Workgroup) GetID() string

GetID returns ID of underlying Terraform resource of this Workgroup

func (*Workgroup) GetInitParameters added in v0.38.0

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

GetInitParameters of this Workgroup

func (*Workgroup) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Workgroup.

func (*Workgroup) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Workgroup

func (*Workgroup) GetObservation

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

GetObservation of this Workgroup

func (*Workgroup) GetParameters

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

GetParameters of this Workgroup

func (*Workgroup) GetProviderConfigReference

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

GetProviderConfigReference of this Workgroup.

func (*Workgroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Workgroup.

func (*Workgroup) GetTerraformResourceType

func (mg *Workgroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Workgroup

func (*Workgroup) GetTerraformSchemaVersion

func (tr *Workgroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Workgroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Workgroup.

func (*Workgroup) LateInitialize

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

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

func (*Workgroup) ResolveReferences

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

ResolveReferences of this Workgroup.

func (*Workgroup) SetConditions

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

SetConditions of this Workgroup.

func (*Workgroup) SetDeletionPolicy

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

SetDeletionPolicy of this Workgroup.

func (*Workgroup) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Workgroup.

func (*Workgroup) SetObservation

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

SetObservation for this Workgroup

func (*Workgroup) SetParameters

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

SetParameters for this Workgroup

func (*Workgroup) SetProviderConfigReference

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

SetProviderConfigReference of this Workgroup.

func (*Workgroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Workgroup.

func (*Workgroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Workgroup.

type WorkgroupInitParameters added in v0.38.0

type WorkgroupInitParameters struct {

	// Configuration block with various settings for the workgroup. Documented below.
	Configuration []ConfigurationInitParameters `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// Description of the workgroup.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Option to delete the workgroup and its contents even if the workgroup contains any named queries.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

	// State of the workgroup. Valid values are DISABLED or ENABLED. Defaults to ENABLED.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

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

func (*WorkgroupInitParameters) DeepCopy added in v0.38.0

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

func (*WorkgroupInitParameters) DeepCopyInto added in v0.38.0

func (in *WorkgroupInitParameters) DeepCopyInto(out *WorkgroupInitParameters)

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

type WorkgroupList

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

WorkgroupList contains a list of Workgroups

func (*WorkgroupList) DeepCopy

func (in *WorkgroupList) DeepCopy() *WorkgroupList

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

func (*WorkgroupList) DeepCopyInto

func (in *WorkgroupList) DeepCopyInto(out *WorkgroupList)

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

func (*WorkgroupList) DeepCopyObject

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

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

func (*WorkgroupList) GetItems

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

GetItems of this WorkgroupList.

type WorkgroupObservation

type WorkgroupObservation struct {

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

	// Configuration block with various settings for the workgroup. Documented below.
	Configuration []ConfigurationObservation `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// Description of the workgroup.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Option to delete the workgroup and its contents even if the workgroup contains any named queries.
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,omitempty"`

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

	// State of the workgroup. Valid values are DISABLED or ENABLED. Defaults to ENABLED.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

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

	// Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*WorkgroupObservation) DeepCopy

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

func (*WorkgroupObservation) DeepCopyInto

func (in *WorkgroupObservation) DeepCopyInto(out *WorkgroupObservation)

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

type WorkgroupParameters

type WorkgroupParameters struct {

	// Configuration block with various settings for the workgroup. Documented below.
	// +kubebuilder:validation:Optional
	Configuration []ConfigurationParameters `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// Description of the workgroup.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Option to delete the workgroup and its contents even if the workgroup contains any named queries.
	// +kubebuilder:validation:Optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy,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:"-"`

	// State of the workgroup. Valid values are DISABLED or ENABLED. Defaults to ENABLED.
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`

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

func (*WorkgroupParameters) DeepCopy

func (in *WorkgroupParameters) DeepCopy() *WorkgroupParameters

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

func (*WorkgroupParameters) DeepCopyInto

func (in *WorkgroupParameters) DeepCopyInto(out *WorkgroupParameters)

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

type WorkgroupSpec

type WorkgroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WorkgroupParameters `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 WorkgroupInitParameters `json:"initProvider,omitempty"`
}

WorkgroupSpec defines the desired state of Workgroup

func (*WorkgroupSpec) DeepCopy

func (in *WorkgroupSpec) DeepCopy() *WorkgroupSpec

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

func (*WorkgroupSpec) DeepCopyInto

func (in *WorkgroupSpec) DeepCopyInto(out *WorkgroupSpec)

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

type WorkgroupStatus

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

WorkgroupStatus defines the observed state of Workgroup.

func (*WorkgroupStatus) DeepCopy

func (in *WorkgroupStatus) DeepCopy() *WorkgroupStatus

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

func (*WorkgroupStatus) DeepCopyInto

func (in *WorkgroupStatus) DeepCopyInto(out *WorkgroupStatus)

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