v1beta1

package
v0.22.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	DataLakeSettings_Kind             = "DataLakeSettings"
	DataLakeSettings_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DataLakeSettings_Kind}.String()
	DataLakeSettings_KindAPIVersion   = DataLakeSettings_Kind + "." + CRDGroupVersion.String()
	DataLakeSettings_GroupVersionKind = CRDGroupVersion.WithKind(DataLakeSettings_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 (
	Permissions_Kind             = "Permissions"
	Permissions_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Permissions_Kind}.String()
	Permissions_KindAPIVersion   = Permissions_Kind + "." + CRDGroupVersion.String()
	Permissions_GroupVersionKind = CRDGroupVersion.WithKind(Permissions_Kind)
)

Repository type metadata.

View Source
var (
	Resource_Kind             = "Resource"
	Resource_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Resource_Kind}.String()
	Resource_KindAPIVersion   = Resource_Kind + "." + CRDGroupVersion.String()
	Resource_GroupVersionKind = CRDGroupVersion.WithKind(Resource_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CreateDatabaseDefaultPermissionsObservation

type CreateDatabaseDefaultPermissionsObservation struct {
}

func (*CreateDatabaseDefaultPermissionsObservation) DeepCopy

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

func (*CreateDatabaseDefaultPermissionsObservation) DeepCopyInto

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

type CreateDatabaseDefaultPermissionsParameters

type CreateDatabaseDefaultPermissionsParameters struct {

	// List of permissions that are granted to the principal. Valid values may include ALL, SELECT, ALTER, DROP, DELETE, INSERT, DESCRIBE, and CREATE_TABLE. For more details, see Lake Formation Permissions Reference.
	// +kubebuilder:validation:Optional
	Permissions []*string `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set principal to IAM_ALLOWED_PRINCIPALS and permissions to ["ALL"].
	// +kubebuilder:validation:Optional
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`
}

func (*CreateDatabaseDefaultPermissionsParameters) DeepCopy

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

func (*CreateDatabaseDefaultPermissionsParameters) DeepCopyInto

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

type CreateTableDefaultPermissionsObservation

type CreateTableDefaultPermissionsObservation struct {
}

func (*CreateTableDefaultPermissionsObservation) DeepCopy

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

func (*CreateTableDefaultPermissionsObservation) DeepCopyInto

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

type CreateTableDefaultPermissionsParameters

type CreateTableDefaultPermissionsParameters struct {

	// List of permissions that are granted to the principal. Valid values may include ALL, SELECT, ALTER, DROP, DELETE, INSERT, and DESCRIBE. For more details, see Lake Formation Permissions Reference.
	// +kubebuilder:validation:Optional
	Permissions []*string `json:"permissions,omitempty" tf:"permissions,omitempty"`

	// Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set principal to IAM_ALLOWED_PRINCIPALS and permissions to ["ALL"].
	// +kubebuilder:validation:Optional
	Principal *string `json:"principal,omitempty" tf:"principal,omitempty"`
}

func (*CreateTableDefaultPermissionsParameters) DeepCopy

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

func (*CreateTableDefaultPermissionsParameters) DeepCopyInto

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

type DataLakeSettings

type DataLakeSettings struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DataLakeSettingsSpec   `json:"spec"`
	Status            DataLakeSettingsStatus `json:"status,omitempty"`
}

DataLakeSettings is the Schema for the DataLakeSettingss API. Manages data lake administrators and default database and table permissions +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 (*DataLakeSettings) DeepCopy

func (in *DataLakeSettings) DeepCopy() *DataLakeSettings

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

func (*DataLakeSettings) DeepCopyInto

func (in *DataLakeSettings) DeepCopyInto(out *DataLakeSettings)

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

func (*DataLakeSettings) DeepCopyObject

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

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

func (*DataLakeSettings) GetCondition

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

GetCondition of this DataLakeSettings.

func (*DataLakeSettings) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DataLakeSettings

func (*DataLakeSettings) GetDeletionPolicy

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

GetDeletionPolicy of this DataLakeSettings.

func (*DataLakeSettings) GetID

func (tr *DataLakeSettings) GetID() string

GetID returns ID of underlying Terraform resource of this DataLakeSettings

func (*DataLakeSettings) GetObservation

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

GetObservation of this DataLakeSettings

func (*DataLakeSettings) GetParameters

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

GetParameters of this DataLakeSettings

func (*DataLakeSettings) GetProviderConfigReference

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

GetProviderConfigReference of this DataLakeSettings.

func (*DataLakeSettings) GetProviderReference

func (mg *DataLakeSettings) GetProviderReference() *xpv1.Reference

GetProviderReference of this DataLakeSettings. Deprecated: Use GetProviderConfigReference.

func (*DataLakeSettings) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DataLakeSettings.

func (*DataLakeSettings) GetTerraformResourceType

func (mg *DataLakeSettings) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DataLakeSettings

func (*DataLakeSettings) GetTerraformSchemaVersion

func (tr *DataLakeSettings) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DataLakeSettings) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DataLakeSettings.

func (*DataLakeSettings) LateInitialize

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

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

func (*DataLakeSettings) SetConditions

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

SetConditions of this DataLakeSettings.

func (*DataLakeSettings) SetDeletionPolicy

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

SetDeletionPolicy of this DataLakeSettings.

func (*DataLakeSettings) SetObservation

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

SetObservation for this DataLakeSettings

func (*DataLakeSettings) SetParameters

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

SetParameters for this DataLakeSettings

func (*DataLakeSettings) SetProviderConfigReference

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

SetProviderConfigReference of this DataLakeSettings.

func (*DataLakeSettings) SetProviderReference

func (mg *DataLakeSettings) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DataLakeSettings. Deprecated: Use SetProviderConfigReference.

func (*DataLakeSettings) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DataLakeSettings.

func (*DataLakeSettings) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DataLakeSettings.

type DataLakeSettingsList

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

DataLakeSettingsList contains a list of DataLakeSettingss

func (*DataLakeSettingsList) DeepCopy

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

func (*DataLakeSettingsList) DeepCopyInto

func (in *DataLakeSettingsList) DeepCopyInto(out *DataLakeSettingsList)

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

func (*DataLakeSettingsList) DeepCopyObject

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

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

func (*DataLakeSettingsList) GetItems

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

GetItems of this DataLakeSettingsList.

type DataLakeSettingsObservation

type DataLakeSettingsObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DataLakeSettingsObservation) DeepCopy

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

func (*DataLakeSettingsObservation) DeepCopyInto

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

type DataLakeSettingsParameters

type DataLakeSettingsParameters struct {

	// –  Set of ARNs of AWS Lake Formation principals (IAM users or roles).
	// +kubebuilder:validation:Optional
	Admins []*string `json:"admins,omitempty" tf:"admins,omitempty"`

	// –  Identifier for the Data Catalog. By default, the account ID.
	// +kubebuilder:validation:Optional
	CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"`

	// Up to three configuration blocks of principal permissions for default create database permissions. Detailed below.
	// +kubebuilder:validation:Optional
	CreateDatabaseDefaultPermissions []CreateDatabaseDefaultPermissionsParameters `json:"createDatabaseDefaultPermissions,omitempty" tf:"create_database_default_permissions,omitempty"`

	// Up to three configuration blocks of principal permissions for default create table permissions. Detailed below.
	// +kubebuilder:validation:Optional
	CreateTableDefaultPermissions []CreateTableDefaultPermissionsParameters `json:"createTableDefaultPermissions,omitempty" tf:"create_table_default_permissions,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:"-"`

	// owning account IDs that the caller's account can use to share their user access details (user ARNs).
	// +kubebuilder:validation:Optional
	TrustedResourceOwners []*string `json:"trustedResourceOwners,omitempty" tf:"trusted_resource_owners,omitempty"`
}

func (*DataLakeSettingsParameters) DeepCopy

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

func (*DataLakeSettingsParameters) DeepCopyInto

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

type DataLakeSettingsSpec

type DataLakeSettingsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DataLakeSettingsParameters `json:"forProvider"`
}

DataLakeSettingsSpec defines the desired state of DataLakeSettings

func (*DataLakeSettingsSpec) DeepCopy

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

func (*DataLakeSettingsSpec) DeepCopyInto

func (in *DataLakeSettingsSpec) DeepCopyInto(out *DataLakeSettingsSpec)

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

type DataLakeSettingsStatus

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

DataLakeSettingsStatus defines the observed state of DataLakeSettings.

func (*DataLakeSettingsStatus) DeepCopy

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

func (*DataLakeSettingsStatus) DeepCopyInto

func (in *DataLakeSettingsStatus) DeepCopyInto(out *DataLakeSettingsStatus)

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

type DataLocationObservation

type DataLocationObservation struct {
}

func (*DataLocationObservation) DeepCopy

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

func (*DataLocationObservation) DeepCopyInto

func (in *DataLocationObservation) DeepCopyInto(out *DataLocationObservation)

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

type DataLocationParameters

type DataLocationParameters struct {

	// –  Amazon Resource Name (ARN) that uniquely identifies the data location resource.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/lakeformation/v1beta1.Resource
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",false)
	// +kubebuilder:validation:Optional
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Reference to a Resource in lakeformation to populate arn.
	// +kubebuilder:validation:Optional
	ArnRef *v1.Reference `json:"arnRef,omitempty" tf:"-"`

	// Selector for a Resource in lakeformation to populate arn.
	// +kubebuilder:validation:Optional
	ArnSelector *v1.Selector `json:"arnSelector,omitempty" tf:"-"`

	// Identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller.
	// +kubebuilder:validation:Optional
	CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"`
}

func (*DataLocationParameters) DeepCopy

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

func (*DataLocationParameters) DeepCopyInto

func (in *DataLocationParameters) DeepCopyInto(out *DataLocationParameters)

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

type DatabaseObservation

type DatabaseObservation struct {
}

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 {

	// Identifier for the Data Catalog. By default, it is the account ID of the caller.
	// +kubebuilder:validation:Optional
	CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"`

	// –  Name of the database resource. Unique to the Data Catalog.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.CatalogDatabase
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Reference to a CatalogDatabase in glue to populate name.
	// +kubebuilder:validation:Optional
	NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"`

	// Selector for a CatalogDatabase in glue to populate name.
	// +kubebuilder:validation:Optional
	NameSelector *v1.Selector `json:"nameSelector,omitempty" 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 Permissions

type Permissions struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PermissionsSpec   `json:"spec"`
	Status            PermissionsStatus `json:"status,omitempty"`
}

Permissions is the Schema for the Permissionss API. Grants permissions to the principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. +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 (*Permissions) DeepCopy

func (in *Permissions) DeepCopy() *Permissions

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

func (*Permissions) DeepCopyInto

func (in *Permissions) DeepCopyInto(out *Permissions)

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

func (*Permissions) DeepCopyObject

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

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

func (*Permissions) GetCondition

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

GetCondition of this Permissions.

func (*Permissions) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Permissions

func (*Permissions) GetDeletionPolicy

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

GetDeletionPolicy of this Permissions.

func (*Permissions) GetID

func (tr *Permissions) GetID() string

GetID returns ID of underlying Terraform resource of this Permissions

func (*Permissions) GetObservation

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

GetObservation of this Permissions

func (*Permissions) GetParameters

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

GetParameters of this Permissions

func (*Permissions) GetProviderConfigReference

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

GetProviderConfigReference of this Permissions.

func (*Permissions) GetProviderReference

func (mg *Permissions) GetProviderReference() *xpv1.Reference

GetProviderReference of this Permissions. Deprecated: Use GetProviderConfigReference.

func (*Permissions) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Permissions.

func (*Permissions) GetTerraformResourceType

func (mg *Permissions) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Permissions

func (*Permissions) GetTerraformSchemaVersion

func (tr *Permissions) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Permissions) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Permissions.

func (*Permissions) LateInitialize

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

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

func (*Permissions) ResolveReferences

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

ResolveReferences of this Permissions.

func (*Permissions) SetConditions

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

SetConditions of this Permissions.

func (*Permissions) SetDeletionPolicy

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

SetDeletionPolicy of this Permissions.

func (*Permissions) SetObservation

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

SetObservation for this Permissions

func (*Permissions) SetParameters

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

SetParameters for this Permissions

func (*Permissions) SetProviderConfigReference

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

SetProviderConfigReference of this Permissions.

func (*Permissions) SetProviderReference

func (mg *Permissions) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Permissions. Deprecated: Use SetProviderConfigReference.

func (*Permissions) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Permissions.

func (*Permissions) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Permissions.

type PermissionsList

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

PermissionsList contains a list of Permissionss

func (*PermissionsList) DeepCopy

func (in *PermissionsList) DeepCopy() *PermissionsList

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

func (*PermissionsList) DeepCopyInto

func (in *PermissionsList) DeepCopyInto(out *PermissionsList)

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

func (*PermissionsList) DeepCopyObject

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

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

func (*PermissionsList) GetItems

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

GetItems of this PermissionsList.

type PermissionsObservation

type PermissionsObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*PermissionsObservation) DeepCopy

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

func (*PermissionsObservation) DeepCopyInto

func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation)

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

type PermissionsParameters

type PermissionsParameters struct {

	// –  Identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
	// +kubebuilder:validation:Optional
	CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"`

	// Whether the permissions are to be granted for the Data Catalog. Defaults to false.
	// +kubebuilder:validation:Optional
	CatalogResource *bool `json:"catalogResource,omitempty" tf:"catalog_resource,omitempty"`

	// Configuration block for a data location resource. Detailed below.
	// +kubebuilder:validation:Optional
	DataLocation []DataLocationParameters `json:"dataLocation,omitempty" tf:"data_location,omitempty"`

	// Configuration block for a database resource. Detailed below.
	// +kubebuilder:validation:Optional
	Database []DatabaseParameters `json:"database,omitempty" tf:"database,omitempty"`

	// –  List of permissions granted to the principal. Valid values may include ALL, ALTER, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS, DELETE, DESCRIBE, DROP, INSERT, and SELECT. For details on each permission, see Lake Formation Permissions Reference.
	// +kubebuilder:validation:Required
	Permissions []*string `json:"permissions" tf:"permissions,omitempty"`

	// Subset of permissions which the principal can pass.
	// +kubebuilder:validation:Optional
	PermissionsWithGrantOption []*string `json:"permissionsWithGrantOption,omitempty" tf:"permissions_with_grant_option,omitempty"`

	// account permissions. For more information, see Lake Formation Permissions Reference.
	// +kubebuilder:validation:Required
	Principal *string `json:"principal" tf:"principal,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:"-"`

	// Configuration block for a table resource. Detailed below.
	// +kubebuilder:validation:Optional
	Table []TableParameters `json:"table,omitempty" tf:"table,omitempty"`

	// Configuration block for a table with columns resource. Detailed below.
	// +kubebuilder:validation:Optional
	TableWithColumns []TableWithColumnsParameters `json:"tableWithColumns,omitempty" tf:"table_with_columns,omitempty"`
}

func (*PermissionsParameters) DeepCopy

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

func (*PermissionsParameters) DeepCopyInto

func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)

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

type PermissionsSpec

type PermissionsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PermissionsParameters `json:"forProvider"`
}

PermissionsSpec defines the desired state of Permissions

func (*PermissionsSpec) DeepCopy

func (in *PermissionsSpec) DeepCopy() *PermissionsSpec

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

func (*PermissionsSpec) DeepCopyInto

func (in *PermissionsSpec) DeepCopyInto(out *PermissionsSpec)

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

type PermissionsStatus

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

PermissionsStatus defines the observed state of Permissions.

func (*PermissionsStatus) DeepCopy

func (in *PermissionsStatus) DeepCopy() *PermissionsStatus

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

func (*PermissionsStatus) DeepCopyInto

func (in *PermissionsStatus) DeepCopyInto(out *PermissionsStatus)

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

type Resource

type Resource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceSpec   `json:"spec"`
	Status            ResourceStatus `json:"status,omitempty"`
}

Resource is the Schema for the Resources API. Registers a Lake Formation resource as managed by the 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 (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

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

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

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

func (*Resource) DeepCopyObject

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

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

func (*Resource) GetCondition

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

GetCondition of this Resource.

func (*Resource) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Resource

func (*Resource) GetDeletionPolicy

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

GetDeletionPolicy of this Resource.

func (*Resource) GetID

func (tr *Resource) GetID() string

GetID returns ID of underlying Terraform resource of this Resource

func (*Resource) GetObservation

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

GetObservation of this Resource

func (*Resource) GetParameters

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

GetParameters of this Resource

func (*Resource) GetProviderConfigReference

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

GetProviderConfigReference of this Resource.

func (*Resource) GetProviderReference

func (mg *Resource) GetProviderReference() *xpv1.Reference

GetProviderReference of this Resource. Deprecated: Use GetProviderConfigReference.

func (*Resource) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Resource.

func (*Resource) GetTerraformResourceType

func (mg *Resource) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Resource

func (*Resource) GetTerraformSchemaVersion

func (tr *Resource) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Resource) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Resource.

func (*Resource) LateInitialize

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

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

func (*Resource) ResolveReferences

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

ResolveReferences of this Resource.

func (*Resource) SetConditions

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

SetConditions of this Resource.

func (*Resource) SetDeletionPolicy

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

SetDeletionPolicy of this Resource.

func (*Resource) SetObservation

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

SetObservation for this Resource

func (*Resource) SetParameters

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

SetParameters for this Resource

func (*Resource) SetProviderConfigReference

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

SetProviderConfigReference of this Resource.

func (*Resource) SetProviderReference

func (mg *Resource) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Resource. Deprecated: Use SetProviderConfigReference.

func (*Resource) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Resource.

func (*Resource) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Resource.

type ResourceList

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

ResourceList contains a list of Resources

func (*ResourceList) DeepCopy

func (in *ResourceList) DeepCopy() *ResourceList

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

func (*ResourceList) DeepCopyInto

func (in *ResourceList) DeepCopyInto(out *ResourceList)

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

func (*ResourceList) DeepCopyObject

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

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

func (*ResourceList) GetItems

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

GetItems of this ResourceList.

type ResourceObservation

type ResourceObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The date and time the resource was last modified in RFC 3339 format.
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`
}

func (*ResourceObservation) DeepCopy

func (in *ResourceObservation) DeepCopy() *ResourceObservation

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

func (*ResourceObservation) DeepCopyInto

func (in *ResourceObservation) DeepCopyInto(out *ResourceObservation)

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

type ResourceParameters

type ResourceParameters struct {

	// –  Amazon Resource Name (ARN) of the resource, an S3 path.
	// +kubebuilder:validation:Required
	Arn *string `json:"arn" tf:"arn,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:"-"`

	// linked role must exist and is used.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`
}

func (*ResourceParameters) DeepCopy

func (in *ResourceParameters) DeepCopy() *ResourceParameters

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

func (*ResourceParameters) DeepCopyInto

func (in *ResourceParameters) DeepCopyInto(out *ResourceParameters)

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

type ResourceSpec

type ResourceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourceParameters `json:"forProvider"`
}

ResourceSpec defines the desired state of Resource

func (*ResourceSpec) DeepCopy

func (in *ResourceSpec) DeepCopy() *ResourceSpec

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

func (*ResourceSpec) DeepCopyInto

func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec)

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

type ResourceStatus

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

ResourceStatus defines the observed state of Resource.

func (*ResourceStatus) DeepCopy

func (in *ResourceStatus) DeepCopy() *ResourceStatus

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

func (*ResourceStatus) DeepCopyInto

func (in *ResourceStatus) DeepCopyInto(out *ResourceStatus)

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

type TableObservation

type TableObservation struct {
}

func (*TableObservation) DeepCopy

func (in *TableObservation) DeepCopy() *TableObservation

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

func (*TableObservation) DeepCopyInto

func (in *TableObservation) DeepCopyInto(out *TableObservation)

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

type TableParameters

type TableParameters struct {

	// Identifier for the Data Catalog. By default, it is the account ID of the caller.
	// +kubebuilder:validation:Optional
	CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"`

	// –  Name of the database for the table. Unique to a Data Catalog.
	// +kubebuilder:validation:Required
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`

	// Name of the table.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Whether to use a wildcard representing every table under a database. Defaults to false.
	// +kubebuilder:validation:Optional
	Wildcard *bool `json:"wildcard,omitempty" tf:"wildcard,omitempty"`
}

func (*TableParameters) DeepCopy

func (in *TableParameters) DeepCopy() *TableParameters

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

func (*TableParameters) DeepCopyInto

func (in *TableParameters) DeepCopyInto(out *TableParameters)

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

type TableWithColumnsObservation

type TableWithColumnsObservation struct {
}

func (*TableWithColumnsObservation) DeepCopy

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

func (*TableWithColumnsObservation) DeepCopyInto

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

type TableWithColumnsParameters

type TableWithColumnsParameters struct {

	// Identifier for the Data Catalog. By default, it is the account ID of the caller.
	// +kubebuilder:validation:Optional
	CatalogID *string `json:"catalogId,omitempty" tf:"catalog_id,omitempty"`

	// Set of column names for the table.
	// +kubebuilder:validation:Optional
	ColumnNames []*string `json:"columnNames,omitempty" tf:"column_names,omitempty"`

	// –  Name of the database for the table with columns resource. Unique to the Data Catalog.
	// +kubebuilder:validation:Required
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`

	// Set of column names for the table to exclude.
	// +kubebuilder:validation:Optional
	ExcludedColumnNames []*string `json:"excludedColumnNames,omitempty" tf:"excluded_column_names,omitempty"`

	// –  Name of the table resource.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/glue/v1beta1.CatalogTable
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Reference to a CatalogTable in glue to populate name.
	// +kubebuilder:validation:Optional
	NameRef *v1.Reference `json:"nameRef,omitempty" tf:"-"`

	// Selector for a CatalogTable in glue to populate name.
	// +kubebuilder:validation:Optional
	NameSelector *v1.Selector `json:"nameSelector,omitempty" tf:"-"`

	// Whether to use a column wildcard.
	// +kubebuilder:validation:Optional
	Wildcard *bool `json:"wildcard,omitempty" tf:"wildcard,omitempty"`
}

func (*TableWithColumnsParameters) DeepCopy

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

func (*TableWithColumnsParameters) DeepCopyInto

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