v1beta1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	EndpointAccess_Kind             = "EndpointAccess"
	EndpointAccess_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EndpointAccess_Kind}.String()
	EndpointAccess_KindAPIVersion   = EndpointAccess_Kind + "." + CRDGroupVersion.String()
	EndpointAccess_GroupVersionKind = CRDGroupVersion.WithKind(EndpointAccess_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 (
	RedshiftServerlessNamespace_Kind             = "RedshiftServerlessNamespace"
	RedshiftServerlessNamespace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RedshiftServerlessNamespace_Kind}.String()
	RedshiftServerlessNamespace_KindAPIVersion   = RedshiftServerlessNamespace_Kind + "." + CRDGroupVersion.String()
	RedshiftServerlessNamespace_GroupVersionKind = CRDGroupVersion.WithKind(RedshiftServerlessNamespace_Kind)
)

Repository type metadata.

View Source
var (
	ResourcePolicy_Kind             = "ResourcePolicy"
	ResourcePolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourcePolicy_Kind}.String()
	ResourcePolicy_KindAPIVersion   = ResourcePolicy_Kind + "." + CRDGroupVersion.String()
	ResourcePolicy_GroupVersionKind = CRDGroupVersion.WithKind(ResourcePolicy_Kind)
)

Repository type metadata.

View Source
var (
	Snapshot_Kind             = "Snapshot"
	Snapshot_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Snapshot_Kind}.String()
	Snapshot_KindAPIVersion   = Snapshot_Kind + "." + CRDGroupVersion.String()
	Snapshot_GroupVersionKind = CRDGroupVersion.WithKind(Snapshot_Kind)
)

Repository type metadata.

View Source
var (
	UsageLimit_Kind             = "UsageLimit"
	UsageLimit_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: UsageLimit_Kind}.String()
	UsageLimit_KindAPIVersion   = UsageLimit_Kind + "." + CRDGroupVersion.String()
	UsageLimit_GroupVersionKind = CRDGroupVersion.WithKind(UsageLimit_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 ConfigParameterInitParameters

type ConfigParameterInitParameters struct {

	// The key of the parameter. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries: max_query_cpu_time, max_query_blocks_read, max_scan_row_count, max_query_execution_time, max_query_queue_time, max_query_cpu_usage_percent, max_query_temp_blocks_to_disk, max_join_row_count and max_nested_loop_join_row_count.
	ParameterKey *string `json:"parameterKey,omitempty" tf:"parameter_key,omitempty"`

	// The value of the parameter to set.
	ParameterValue *string `json:"parameterValue,omitempty" tf:"parameter_value,omitempty"`
}

func (*ConfigParameterInitParameters) DeepCopy

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

func (*ConfigParameterInitParameters) DeepCopyInto

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

type ConfigParameterObservation

type ConfigParameterObservation struct {

	// The key of the parameter. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries: max_query_cpu_time, max_query_blocks_read, max_scan_row_count, max_query_execution_time, max_query_queue_time, max_query_cpu_usage_percent, max_query_temp_blocks_to_disk, max_join_row_count and max_nested_loop_join_row_count.
	ParameterKey *string `json:"parameterKey,omitempty" tf:"parameter_key,omitempty"`

	// The value of the parameter to set.
	ParameterValue *string `json:"parameterValue,omitempty" tf:"parameter_value,omitempty"`
}

func (*ConfigParameterObservation) DeepCopy

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

func (*ConfigParameterObservation) DeepCopyInto

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

type ConfigParameterParameters

type ConfigParameterParameters struct {

	// The key of the parameter. The options are auto_mv, datestyle, enable_case_sensitive_identifier, enable_user_activity_logging, query_group, search_path, require_ssl, use_fips_ssl, and query monitoring metrics that let you define performance boundaries: max_query_cpu_time, max_query_blocks_read, max_scan_row_count, max_query_execution_time, max_query_queue_time, max_query_cpu_usage_percent, max_query_temp_blocks_to_disk, max_join_row_count and max_nested_loop_join_row_count.
	// +kubebuilder:validation:Optional
	ParameterKey *string `json:"parameterKey" tf:"parameter_key,omitempty"`

	// The value of the parameter to set.
	// +kubebuilder:validation:Optional
	ParameterValue *string `json:"parameterValue" tf:"parameter_value,omitempty"`
}

func (*ConfigParameterParameters) DeepCopy

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

func (*ConfigParameterParameters) DeepCopyInto

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

type EndpointAccess

type EndpointAccess 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.workgroupName) || (has(self.initProvider) && has(self.initProvider.workgroupName))",message="spec.forProvider.workgroupName is a required parameter"
	Spec   EndpointAccessSpec   `json:"spec"`
	Status EndpointAccessStatus `json:"status,omitempty"`
}

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

func (*EndpointAccess) DeepCopy

func (in *EndpointAccess) DeepCopy() *EndpointAccess

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

func (*EndpointAccess) DeepCopyInto

func (in *EndpointAccess) DeepCopyInto(out *EndpointAccess)

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

func (*EndpointAccess) DeepCopyObject

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

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

func (*EndpointAccess) GetCondition

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

GetCondition of this EndpointAccess.

func (*EndpointAccess) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EndpointAccess

func (*EndpointAccess) GetDeletionPolicy

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

GetDeletionPolicy of this EndpointAccess.

func (*EndpointAccess) GetID

func (tr *EndpointAccess) GetID() string

GetID returns ID of underlying Terraform resource of this EndpointAccess

func (*EndpointAccess) GetInitParameters

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

GetInitParameters of this EndpointAccess

func (*EndpointAccess) GetManagementPolicies

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

GetManagementPolicies of this EndpointAccess.

func (*EndpointAccess) GetMergedParameters added in v0.44.0

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

GetInitParameters of this EndpointAccess

func (*EndpointAccess) GetObservation

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

GetObservation of this EndpointAccess

func (*EndpointAccess) GetParameters

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

GetParameters of this EndpointAccess

func (*EndpointAccess) GetProviderConfigReference

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

GetProviderConfigReference of this EndpointAccess.

func (*EndpointAccess) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EndpointAccess.

func (*EndpointAccess) GetTerraformResourceType

func (mg *EndpointAccess) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EndpointAccess

func (*EndpointAccess) GetTerraformSchemaVersion

func (tr *EndpointAccess) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EndpointAccess) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EndpointAccess.

func (*EndpointAccess) Hub added in v0.47.2

func (tr *EndpointAccess) Hub()

Hub marks this type as a conversion hub.

func (*EndpointAccess) LateInitialize

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

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

func (*EndpointAccess) ResolveReferences

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

func (*EndpointAccess) SetConditions

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

SetConditions of this EndpointAccess.

func (*EndpointAccess) SetDeletionPolicy

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

SetDeletionPolicy of this EndpointAccess.

func (*EndpointAccess) SetManagementPolicies

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

SetManagementPolicies of this EndpointAccess.

func (*EndpointAccess) SetObservation

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

SetObservation for this EndpointAccess

func (*EndpointAccess) SetParameters

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

SetParameters for this EndpointAccess

func (*EndpointAccess) SetProviderConfigReference

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

SetProviderConfigReference of this EndpointAccess.

func (*EndpointAccess) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EndpointAccess.

func (*EndpointAccess) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EndpointAccess.

type EndpointAccessInitParameters

type EndpointAccessInitParameters struct {

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// An array of VPC subnet IDs to associate with the endpoint.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.
	// +kubebuilder:validation:Optional
	VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.
	// +kubebuilder:validation:Optional
	VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"`

	// An array of security group IDs to associate with the workgroup.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector
	// +listType=set
	VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`

	// The name of the workgroup.
	WorkgroupName *string `json:"workgroupName,omitempty" tf:"workgroup_name,omitempty"`
}

func (*EndpointAccessInitParameters) DeepCopy

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

func (*EndpointAccessInitParameters) DeepCopyInto

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

type EndpointAccessList

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

EndpointAccessList contains a list of EndpointAccesss

func (*EndpointAccessList) DeepCopy

func (in *EndpointAccessList) DeepCopy() *EndpointAccessList

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

func (*EndpointAccessList) DeepCopyInto

func (in *EndpointAccessList) DeepCopyInto(out *EndpointAccessList)

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

func (*EndpointAccessList) DeepCopyObject

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

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

func (*EndpointAccessList) GetItems

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

GetItems of this EndpointAccessList.

type EndpointAccessObservation

type EndpointAccessObservation struct {

	// The DNS address of the VPC endpoint.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// Amazon Resource Name (ARN) of the Redshift Serverless Endpoint Access.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The Redshift Endpoint Access Name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The port that Amazon Redshift Serverless listens on.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// An array of VPC subnet IDs to associate with the endpoint.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// The VPC endpoint or the Redshift Serverless workgroup. See VPC Endpoint below.
	VPCEndpoint []VPCEndpointObservation `json:"vpcEndpoint,omitempty" tf:"vpc_endpoint,omitempty"`

	// An array of security group IDs to associate with the workgroup.
	// +listType=set
	VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`

	// The name of the workgroup.
	WorkgroupName *string `json:"workgroupName,omitempty" tf:"workgroup_name,omitempty"`
}

func (*EndpointAccessObservation) DeepCopy

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

func (*EndpointAccessObservation) DeepCopyInto

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

type EndpointAccessParameters

type EndpointAccessParameters struct {

	// 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:"-"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// An array of VPC subnet IDs to associate with the endpoint.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// References to SecurityGroup in ec2 to populate vpcSecurityGroupIds.
	// +kubebuilder:validation:Optional
	VPCSecurityGroupIDRefs []v1.Reference `json:"vpcSecurityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate vpcSecurityGroupIds.
	// +kubebuilder:validation:Optional
	VPCSecurityGroupIDSelector *v1.Selector `json:"vpcSecurityGroupIdSelector,omitempty" tf:"-"`

	// An array of security group IDs to associate with the workgroup.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`

	// The name of the workgroup.
	// +kubebuilder:validation:Optional
	WorkgroupName *string `json:"workgroupName,omitempty" tf:"workgroup_name,omitempty"`
}

func (*EndpointAccessParameters) DeepCopy

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

func (*EndpointAccessParameters) DeepCopyInto

func (in *EndpointAccessParameters) DeepCopyInto(out *EndpointAccessParameters)

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

type EndpointAccessSpec

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

EndpointAccessSpec defines the desired state of EndpointAccess

func (*EndpointAccessSpec) DeepCopy

func (in *EndpointAccessSpec) DeepCopy() *EndpointAccessSpec

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

func (*EndpointAccessSpec) DeepCopyInto

func (in *EndpointAccessSpec) DeepCopyInto(out *EndpointAccessSpec)

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

type EndpointAccessStatus

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

EndpointAccessStatus defines the observed state of EndpointAccess.

func (*EndpointAccessStatus) DeepCopy

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

func (*EndpointAccessStatus) DeepCopyInto

func (in *EndpointAccessStatus) DeepCopyInto(out *EndpointAccessStatus)

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

type EndpointInitParameters

type EndpointInitParameters struct {
}

func (*EndpointInitParameters) DeepCopy

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

func (*EndpointInitParameters) DeepCopyInto

func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters)

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

type EndpointObservation

type EndpointObservation struct {

	// The DNS address of the VPC endpoint.
	Address *string `json:"address,omitempty" tf:"address,omitempty"`

	// The port that Amazon Redshift Serverless listens on.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The VPC endpoint or the Redshift Serverless workgroup. See VPC Endpoint below.
	VPCEndpoint []EndpointVPCEndpointObservation `json:"vpcEndpoint,omitempty" tf:"vpc_endpoint,omitempty"`
}

func (*EndpointObservation) DeepCopy

func (in *EndpointObservation) DeepCopy() *EndpointObservation

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

func (*EndpointObservation) DeepCopyInto

func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation)

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

type EndpointParameters

type EndpointParameters struct {
}

func (*EndpointParameters) DeepCopy

func (in *EndpointParameters) DeepCopy() *EndpointParameters

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

func (*EndpointParameters) DeepCopyInto

func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters)

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

type EndpointVPCEndpointInitParameters

type EndpointVPCEndpointInitParameters struct {
}

func (*EndpointVPCEndpointInitParameters) DeepCopy

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

func (*EndpointVPCEndpointInitParameters) DeepCopyInto

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

type EndpointVPCEndpointObservation

type EndpointVPCEndpointObservation struct {

	// The network interfaces of the endpoint.. See Network Interface below.
	NetworkInterface []VPCEndpointNetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// The DNS address of the VPC endpoint.
	VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"`

	// The port that Amazon Redshift Serverless listens on.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*EndpointVPCEndpointObservation) DeepCopy

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

func (*EndpointVPCEndpointObservation) DeepCopyInto

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

type EndpointVPCEndpointParameters

type EndpointVPCEndpointParameters struct {
}

func (*EndpointVPCEndpointParameters) DeepCopy

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

func (*EndpointVPCEndpointParameters) DeepCopyInto

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

type NetworkInterfaceInitParameters

type NetworkInterfaceInitParameters struct {
}

func (*NetworkInterfaceInitParameters) DeepCopy

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

func (*NetworkInterfaceInitParameters) DeepCopyInto

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

type NetworkInterfaceObservation

type NetworkInterfaceObservation struct {

	// The availability Zone.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The unique identifier of the network interface.
	NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"`

	// The IPv4 address of the network interface within the subnet.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"`

	// The unique identifier of the subnet.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*NetworkInterfaceObservation) DeepCopy

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

func (*NetworkInterfaceObservation) DeepCopyInto

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

type NetworkInterfaceParameters

type NetworkInterfaceParameters struct {
}

func (*NetworkInterfaceParameters) DeepCopy

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

func (*NetworkInterfaceParameters) DeepCopyInto

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

type RedshiftServerlessNamespace

type RedshiftServerlessNamespace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedshiftServerlessNamespaceSpec   `json:"spec"`
	Status            RedshiftServerlessNamespaceStatus `json:"status,omitempty"`
}

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

func (*RedshiftServerlessNamespace) DeepCopy

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

func (*RedshiftServerlessNamespace) DeepCopyInto

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

func (*RedshiftServerlessNamespace) DeepCopyObject

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

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

func (*RedshiftServerlessNamespace) GetCondition

GetCondition of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) GetDeletionPolicy

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

GetDeletionPolicy of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) GetID

func (tr *RedshiftServerlessNamespace) GetID() string

GetID returns ID of underlying Terraform resource of this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) GetInitParameters

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

GetInitParameters of this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) GetManagementPolicies

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

GetManagementPolicies of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) GetMergedParameters added in v0.44.0

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

GetInitParameters of this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) GetObservation

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

GetObservation of this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) GetParameters

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

GetParameters of this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) GetProviderConfigReference

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

GetProviderConfigReference of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) GetTerraformResourceType

func (mg *RedshiftServerlessNamespace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) GetTerraformSchemaVersion

func (tr *RedshiftServerlessNamespace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RedshiftServerlessNamespace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) Hub added in v0.47.2

func (tr *RedshiftServerlessNamespace) Hub()

Hub marks this type as a conversion hub.

func (*RedshiftServerlessNamespace) LateInitialize

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

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

func (*RedshiftServerlessNamespace) ResolveReferences

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

ResolveReferences of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) SetConditions

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

SetConditions of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) SetDeletionPolicy

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

SetDeletionPolicy of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) SetManagementPolicies

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

SetManagementPolicies of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) SetObservation

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

SetObservation for this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) SetParameters

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

SetParameters for this RedshiftServerlessNamespace

func (*RedshiftServerlessNamespace) SetProviderConfigReference

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

SetProviderConfigReference of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespace) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RedshiftServerlessNamespace.

type RedshiftServerlessNamespaceInitParameters

type RedshiftServerlessNamespaceInitParameters struct {

	// The name of the first database created in the namespace.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying default_iam_role_arn, it also must be part of iam_roles.
	// +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()
	DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"`

	// Reference to a Role in iam to populate defaultIamRoleArn.
	// +kubebuilder:validation:Optional
	DefaultIAMRoleArnRef *v1.Reference `json:"defaultIamRoleArnRef,omitempty" tf:"-"`

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

	// References to Role in iam to populate iamRoles.
	// +kubebuilder:validation:Optional
	IAMRoleRefs []v1.Reference `json:"iamRoleRefs,omitempty" tf:"-"`

	// Selector for a list of Role in iam to populate iamRoles.
	// +kubebuilder:validation:Optional
	IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"`

	// A list of IAM roles to associate with the namespace.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:refFieldName=IAMRoleRefs
	// +crossplane:generate:reference:selectorFieldName=IAMRoleSelector
	// +listType=set
	IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"`

	// The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog.
	// +listType=set
	LogExports []*string `json:"logExports,omitempty" tf:"log_exports,omitempty"`

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

func (*RedshiftServerlessNamespaceInitParameters) DeepCopy

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

func (*RedshiftServerlessNamespaceInitParameters) DeepCopyInto

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

type RedshiftServerlessNamespaceList

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

RedshiftServerlessNamespaceList contains a list of RedshiftServerlessNamespaces

func (*RedshiftServerlessNamespaceList) DeepCopy

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

func (*RedshiftServerlessNamespaceList) DeepCopyInto

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

func (*RedshiftServerlessNamespaceList) DeepCopyObject

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

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

func (*RedshiftServerlessNamespaceList) GetItems

GetItems of this RedshiftServerlessNamespaceList.

type RedshiftServerlessNamespaceObservation

type RedshiftServerlessNamespaceObservation struct {

	// Amazon Resource Name (ARN) of the Redshift Serverless Namespace.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The name of the first database created in the namespace.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying default_iam_role_arn, it also must be part of iam_roles.
	DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"`

	// A list of IAM roles to associate with the namespace.
	// +listType=set
	IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"`

	// The Redshift Namespace Name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog.
	// +listType=set
	LogExports []*string `json:"logExports,omitempty" tf:"log_exports,omitempty"`

	// The Redshift Namespace ID.
	NamespaceID *string `json:"namespaceId,omitempty" tf:"namespace_id,omitempty"`

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

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

func (*RedshiftServerlessNamespaceObservation) DeepCopy

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

func (*RedshiftServerlessNamespaceObservation) DeepCopyInto

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

type RedshiftServerlessNamespaceParameters

type RedshiftServerlessNamespaceParameters struct {

	// The password of the administrator for the first database created in the namespace.
	// +kubebuilder:validation:Optional
	AdminUserPasswordSecretRef *v1.SecretKeySelector `json:"adminUserPasswordSecretRef,omitempty" tf:"-"`

	// The username of the administrator for the first database created in the namespace.
	// +kubebuilder:validation:Optional
	AdminUsernameSecretRef *v1.SecretKeySelector `json:"adminUsernameSecretRef,omitempty" tf:"-"`

	// The name of the first database created in the namespace.
	// +kubebuilder:validation:Optional
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. When specifying default_iam_role_arn, it also must be part of iam_roles.
	// +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
	DefaultIAMRoleArn *string `json:"defaultIamRoleArn,omitempty" tf:"default_iam_role_arn,omitempty"`

	// Reference to a Role in iam to populate defaultIamRoleArn.
	// +kubebuilder:validation:Optional
	DefaultIAMRoleArnRef *v1.Reference `json:"defaultIamRoleArnRef,omitempty" tf:"-"`

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

	// References to Role in iam to populate iamRoles.
	// +kubebuilder:validation:Optional
	IAMRoleRefs []v1.Reference `json:"iamRoleRefs,omitempty" tf:"-"`

	// Selector for a list of Role in iam to populate iamRoles.
	// +kubebuilder:validation:Optional
	IAMRoleSelector *v1.Selector `json:"iamRoleSelector,omitempty" tf:"-"`

	// A list of IAM roles to associate with the namespace.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:refFieldName=IAMRoleRefs
	// +crossplane:generate:reference:selectorFieldName=IAMRoleSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	IAMRoles []*string `json:"iamRoles,omitempty" tf:"iam_roles,omitempty"`

	// The ARN of the Amazon Web Services Key Management Service key used to encrypt your data.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// The types of logs the namespace can export. Available export types are userlog, connectionlog, and useractivitylog.
	// +kubebuilder:validation:Optional
	// +listType=set
	LogExports []*string `json:"logExports,omitempty" tf:"log_exports,omitempty"`

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

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

func (*RedshiftServerlessNamespaceParameters) DeepCopy

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

func (*RedshiftServerlessNamespaceParameters) DeepCopyInto

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

type RedshiftServerlessNamespaceSpec

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

RedshiftServerlessNamespaceSpec defines the desired state of RedshiftServerlessNamespace

func (*RedshiftServerlessNamespaceSpec) DeepCopy

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

func (*RedshiftServerlessNamespaceSpec) DeepCopyInto

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

type RedshiftServerlessNamespaceStatus

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

RedshiftServerlessNamespaceStatus defines the observed state of RedshiftServerlessNamespace.

func (*RedshiftServerlessNamespaceStatus) DeepCopy

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

func (*RedshiftServerlessNamespaceStatus) DeepCopyInto

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

type ResourcePolicy

type ResourcePolicy 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.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter"
	Spec   ResourcePolicySpec   `json:"spec"`
	Status ResourcePolicyStatus `json:"status,omitempty"`
}

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

func (*ResourcePolicy) DeepCopy

func (in *ResourcePolicy) DeepCopy() *ResourcePolicy

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

func (*ResourcePolicy) DeepCopyInto

func (in *ResourcePolicy) DeepCopyInto(out *ResourcePolicy)

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

func (*ResourcePolicy) DeepCopyObject

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

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

func (*ResourcePolicy) GetCondition

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

GetCondition of this ResourcePolicy.

func (*ResourcePolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ResourcePolicy

func (*ResourcePolicy) GetDeletionPolicy

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

GetDeletionPolicy of this ResourcePolicy.

func (*ResourcePolicy) GetID

func (tr *ResourcePolicy) GetID() string

GetID returns ID of underlying Terraform resource of this ResourcePolicy

func (*ResourcePolicy) GetInitParameters

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

GetInitParameters of this ResourcePolicy

func (*ResourcePolicy) GetManagementPolicies

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

GetManagementPolicies of this ResourcePolicy.

func (*ResourcePolicy) GetMergedParameters added in v0.44.0

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

GetInitParameters of this ResourcePolicy

func (*ResourcePolicy) GetObservation

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

GetObservation of this ResourcePolicy

func (*ResourcePolicy) GetParameters

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

GetParameters of this ResourcePolicy

func (*ResourcePolicy) GetProviderConfigReference

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

GetProviderConfigReference of this ResourcePolicy.

func (*ResourcePolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourcePolicy.

func (*ResourcePolicy) GetTerraformResourceType

func (mg *ResourcePolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourcePolicy

func (*ResourcePolicy) GetTerraformSchemaVersion

func (tr *ResourcePolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourcePolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourcePolicy.

func (*ResourcePolicy) Hub added in v0.47.2

func (tr *ResourcePolicy) Hub()

Hub marks this type as a conversion hub.

func (*ResourcePolicy) LateInitialize

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

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

func (*ResourcePolicy) ResolveReferences

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

ResolveReferences of this ResourcePolicy.

func (*ResourcePolicy) SetConditions

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

SetConditions of this ResourcePolicy.

func (*ResourcePolicy) SetDeletionPolicy

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

SetDeletionPolicy of this ResourcePolicy.

func (*ResourcePolicy) SetManagementPolicies

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

SetManagementPolicies of this ResourcePolicy.

func (*ResourcePolicy) SetObservation

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

SetObservation for this ResourcePolicy

func (*ResourcePolicy) SetParameters

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

SetParameters for this ResourcePolicy

func (*ResourcePolicy) SetProviderConfigReference

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

SetProviderConfigReference of this ResourcePolicy.

func (*ResourcePolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ResourcePolicy.

func (*ResourcePolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ResourcePolicy.

type ResourcePolicyInitParameters

type ResourcePolicyInitParameters struct {

	// The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The Amazon Resource Name (ARN) of the account to create or update a resource policy for.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Snapshot
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Reference to a Snapshot in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"`

	// Selector for a Snapshot in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"`
}

func (*ResourcePolicyInitParameters) DeepCopy

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

func (*ResourcePolicyInitParameters) DeepCopyInto

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

type ResourcePolicyList

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

ResourcePolicyList contains a list of ResourcePolicys

func (*ResourcePolicyList) DeepCopy

func (in *ResourcePolicyList) DeepCopy() *ResourcePolicyList

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

func (*ResourcePolicyList) DeepCopyInto

func (in *ResourcePolicyList) DeepCopyInto(out *ResourcePolicyList)

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

func (*ResourcePolicyList) DeepCopyObject

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

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

func (*ResourcePolicyList) GetItems

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

GetItems of this ResourcePolicyList.

type ResourcePolicyObservation

type ResourcePolicyObservation struct {

	// The Amazon Resource Name (ARN) of the account to create or update a resource policy for.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.
	Policy *string `json:"policy,omitempty" tf:"policy,omitempty"`

	// The Amazon Resource Name (ARN) of the account to create or update a resource policy for.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`
}

func (*ResourcePolicyObservation) DeepCopy

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

func (*ResourcePolicyObservation) DeepCopyInto

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

type ResourcePolicyParameters

type ResourcePolicyParameters struct {

	// The policy to create or update. For example, the following policy grants a user authorization to restore a snapshot.
	// +kubebuilder:validation:Optional
	Policy *string `json:"policy,omitempty" tf:"policy,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:"-"`

	// The Amazon Resource Name (ARN) of the account to create or update a resource policy for.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Snapshot
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Reference to a Snapshot in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"`

	// Selector for a Snapshot in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"`
}

func (*ResourcePolicyParameters) DeepCopy

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

func (*ResourcePolicyParameters) DeepCopyInto

func (in *ResourcePolicyParameters) DeepCopyInto(out *ResourcePolicyParameters)

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

type ResourcePolicySpec

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

ResourcePolicySpec defines the desired state of ResourcePolicy

func (*ResourcePolicySpec) DeepCopy

func (in *ResourcePolicySpec) DeepCopy() *ResourcePolicySpec

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

func (*ResourcePolicySpec) DeepCopyInto

func (in *ResourcePolicySpec) DeepCopyInto(out *ResourcePolicySpec)

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

type ResourcePolicyStatus

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

ResourcePolicyStatus defines the observed state of ResourcePolicy.

func (*ResourcePolicyStatus) DeepCopy

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

func (*ResourcePolicyStatus) DeepCopyInto

func (in *ResourcePolicyStatus) DeepCopyInto(out *ResourcePolicyStatus)

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

type Snapshot

type Snapshot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotSpec   `json:"spec"`
	Status            SnapshotStatus `json:"status,omitempty"`
}

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

func (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

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

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

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

func (*Snapshot) DeepCopyObject

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

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

func (*Snapshot) GetCondition

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

GetCondition of this Snapshot.

func (*Snapshot) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Snapshot

func (*Snapshot) GetDeletionPolicy

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

GetDeletionPolicy of this Snapshot.

func (*Snapshot) GetID

func (tr *Snapshot) GetID() string

GetID returns ID of underlying Terraform resource of this Snapshot

func (*Snapshot) GetInitParameters

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

GetInitParameters of this Snapshot

func (*Snapshot) GetManagementPolicies

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

GetManagementPolicies of this Snapshot.

func (*Snapshot) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Snapshot

func (*Snapshot) GetObservation

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

GetObservation of this Snapshot

func (*Snapshot) GetParameters

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

GetParameters of this Snapshot

func (*Snapshot) GetProviderConfigReference

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

GetProviderConfigReference of this Snapshot.

func (*Snapshot) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Snapshot.

func (*Snapshot) GetTerraformResourceType

func (mg *Snapshot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Snapshot

func (*Snapshot) GetTerraformSchemaVersion

func (tr *Snapshot) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Snapshot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Snapshot.

func (*Snapshot) Hub added in v0.47.2

func (tr *Snapshot) Hub()

Hub marks this type as a conversion hub.

func (*Snapshot) LateInitialize

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

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

func (*Snapshot) ResolveReferences

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

ResolveReferences of this Snapshot.

func (*Snapshot) SetConditions

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

SetConditions of this Snapshot.

func (*Snapshot) SetDeletionPolicy

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

SetDeletionPolicy of this Snapshot.

func (*Snapshot) SetManagementPolicies

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

SetManagementPolicies of this Snapshot.

func (*Snapshot) SetObservation

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

SetObservation for this Snapshot

func (*Snapshot) SetParameters

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

SetParameters for this Snapshot

func (*Snapshot) SetProviderConfigReference

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

SetProviderConfigReference of this Snapshot.

func (*Snapshot) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Snapshot.

func (*Snapshot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Snapshot.

type SnapshotInitParameters

type SnapshotInitParameters struct {

	// The namespace to create a snapshot for.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Workgroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("namespace_name",false)
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// Reference to a Workgroup in redshiftserverless to populate namespaceName.
	// +kubebuilder:validation:Optional
	NamespaceNameRef *v1.Reference `json:"namespaceNameRef,omitempty" tf:"-"`

	// Selector for a Workgroup in redshiftserverless to populate namespaceName.
	// +kubebuilder:validation:Optional
	NamespaceNameSelector *v1.Selector `json:"namespaceNameSelector,omitempty" tf:"-"`

	// How long to retain the created snapshot. Default value is -1.
	RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}

func (*SnapshotInitParameters) DeepCopy

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

func (*SnapshotInitParameters) DeepCopyInto

func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters)

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

type SnapshotList

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

SnapshotList contains a list of Snapshots

func (*SnapshotList) DeepCopy

func (in *SnapshotList) DeepCopy() *SnapshotList

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

func (*SnapshotList) DeepCopyInto

func (in *SnapshotList) DeepCopyInto(out *SnapshotList)

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

func (*SnapshotList) DeepCopyObject

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

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

func (*SnapshotList) GetItems

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

GetItems of this SnapshotList.

type SnapshotObservation

type SnapshotObservation struct {

	// All of the Amazon Web Services accounts that have access to restore a snapshot to a provisioned cluster.
	// +listType=set
	AccountsWithProvisionedRestoreAccess []*string `json:"accountsWithProvisionedRestoreAccess,omitempty" tf:"accounts_with_provisioned_restore_access,omitempty"`

	// All of the Amazon Web Services accounts that have access to restore a snapshot to a namespace.
	// +listType=set
	AccountsWithRestoreAccess []*string `json:"accountsWithRestoreAccess,omitempty" tf:"accounts_with_restore_access,omitempty"`

	// The username of the database within a snapshot.
	AdminUsername *string `json:"adminUsername,omitempty" tf:"admin_username,omitempty"`

	// The Amazon Resource Name (ARN) of the snapshot.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The name of the snapshot.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The unique identifier of the KMS key used to encrypt the snapshot.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
	NamespaceArn *string `json:"namespaceArn,omitempty" tf:"namespace_arn,omitempty"`

	// The namespace to create a snapshot for.
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// The owner Amazon Web Services; account of the snapshot.
	OwnerAccount *string `json:"ownerAccount,omitempty" tf:"owner_account,omitempty"`

	// How long to retain the created snapshot. Default value is -1.
	RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}

func (*SnapshotObservation) DeepCopy

func (in *SnapshotObservation) DeepCopy() *SnapshotObservation

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

func (*SnapshotObservation) DeepCopyInto

func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation)

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

type SnapshotParameters

type SnapshotParameters struct {

	// The namespace to create a snapshot for.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Workgroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("namespace_name",false)
	// +kubebuilder:validation:Optional
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// Reference to a Workgroup in redshiftserverless to populate namespaceName.
	// +kubebuilder:validation:Optional
	NamespaceNameRef *v1.Reference `json:"namespaceNameRef,omitempty" tf:"-"`

	// Selector for a Workgroup in redshiftserverless to populate namespaceName.
	// +kubebuilder:validation:Optional
	NamespaceNameSelector *v1.Selector `json:"namespaceNameSelector,omitempty" tf:"-"`

	// 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:"-"`

	// How long to retain the created snapshot. Default value is -1.
	// +kubebuilder:validation:Optional
	RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"`
}

func (*SnapshotParameters) DeepCopy

func (in *SnapshotParameters) DeepCopy() *SnapshotParameters

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

func (*SnapshotParameters) DeepCopyInto

func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters)

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

type SnapshotSpec

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

SnapshotSpec defines the desired state of Snapshot

func (*SnapshotSpec) DeepCopy

func (in *SnapshotSpec) DeepCopy() *SnapshotSpec

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

func (*SnapshotSpec) DeepCopyInto

func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)

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

type SnapshotStatus

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

SnapshotStatus defines the observed state of Snapshot.

func (*SnapshotStatus) DeepCopy

func (in *SnapshotStatus) DeepCopy() *SnapshotStatus

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

func (*SnapshotStatus) DeepCopyInto

func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)

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

type UsageLimit

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

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

func (*UsageLimit) DeepCopy

func (in *UsageLimit) DeepCopy() *UsageLimit

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

func (*UsageLimit) DeepCopyInto

func (in *UsageLimit) DeepCopyInto(out *UsageLimit)

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

func (*UsageLimit) DeepCopyObject

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

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

func (*UsageLimit) GetCondition

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

GetCondition of this UsageLimit.

func (*UsageLimit) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this UsageLimit

func (*UsageLimit) GetDeletionPolicy

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

GetDeletionPolicy of this UsageLimit.

func (*UsageLimit) GetID

func (tr *UsageLimit) GetID() string

GetID returns ID of underlying Terraform resource of this UsageLimit

func (*UsageLimit) GetInitParameters

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

GetInitParameters of this UsageLimit

func (*UsageLimit) GetManagementPolicies

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

GetManagementPolicies of this UsageLimit.

func (*UsageLimit) GetMergedParameters added in v0.44.0

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

GetInitParameters of this UsageLimit

func (*UsageLimit) GetObservation

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

GetObservation of this UsageLimit

func (*UsageLimit) GetParameters

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

GetParameters of this UsageLimit

func (*UsageLimit) GetProviderConfigReference

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

GetProviderConfigReference of this UsageLimit.

func (*UsageLimit) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this UsageLimit.

func (*UsageLimit) GetTerraformResourceType

func (mg *UsageLimit) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this UsageLimit

func (*UsageLimit) GetTerraformSchemaVersion

func (tr *UsageLimit) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*UsageLimit) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this UsageLimit.

func (*UsageLimit) Hub added in v0.47.2

func (tr *UsageLimit) Hub()

Hub marks this type as a conversion hub.

func (*UsageLimit) LateInitialize

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

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

func (*UsageLimit) ResolveReferences

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

ResolveReferences of this UsageLimit.

func (*UsageLimit) SetConditions

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

SetConditions of this UsageLimit.

func (*UsageLimit) SetDeletionPolicy

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

SetDeletionPolicy of this UsageLimit.

func (*UsageLimit) SetManagementPolicies

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

SetManagementPolicies of this UsageLimit.

func (*UsageLimit) SetObservation

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

SetObservation for this UsageLimit

func (*UsageLimit) SetParameters

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

SetParameters for this UsageLimit

func (*UsageLimit) SetProviderConfigReference

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

SetProviderConfigReference of this UsageLimit.

func (*UsageLimit) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this UsageLimit.

func (*UsageLimit) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this UsageLimit.

type UsageLimitInitParameters

type UsageLimitInitParameters struct {

	// The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
	Amount *float64 `json:"amount,omitempty" tf:"amount,omitempty"`

	// The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are log, emit-metric, and deactivate. The default is log.
	BreachAction *string `json:"breachAction,omitempty" tf:"breach_action,omitempty"`

	// The time period that the amount applies to. A weekly period begins on Sunday. Valid values are daily, weekly, and monthly. The default is monthly.
	Period *string `json:"period,omitempty" tf:"period,omitempty"`

	// The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Workgroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Reference to a Workgroup in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"`

	// Selector for a Workgroup in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"`

	// The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are serverless-compute or cross-region-datasharing.
	UsageType *string `json:"usageType,omitempty" tf:"usage_type,omitempty"`
}

func (*UsageLimitInitParameters) DeepCopy

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

func (*UsageLimitInitParameters) DeepCopyInto

func (in *UsageLimitInitParameters) DeepCopyInto(out *UsageLimitInitParameters)

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

type UsageLimitList

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

UsageLimitList contains a list of UsageLimits

func (*UsageLimitList) DeepCopy

func (in *UsageLimitList) DeepCopy() *UsageLimitList

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

func (*UsageLimitList) DeepCopyInto

func (in *UsageLimitList) DeepCopyInto(out *UsageLimitList)

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

func (*UsageLimitList) DeepCopyObject

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

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

func (*UsageLimitList) GetItems

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

GetItems of this UsageLimitList.

type UsageLimitObservation

type UsageLimitObservation struct {

	// The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
	Amount *float64 `json:"amount,omitempty" tf:"amount,omitempty"`

	// Amazon Resource Name (ARN) of the Redshift Serverless Usage Limit.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are log, emit-metric, and deactivate. The default is log.
	BreachAction *string `json:"breachAction,omitempty" tf:"breach_action,omitempty"`

	// The Redshift Usage Limit id.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The time period that the amount applies to. A weekly period begins on Sunday. Valid values are daily, weekly, and monthly. The default is monthly.
	Period *string `json:"period,omitempty" tf:"period,omitempty"`

	// The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are serverless-compute or cross-region-datasharing.
	UsageType *string `json:"usageType,omitempty" tf:"usage_type,omitempty"`
}

func (*UsageLimitObservation) DeepCopy

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

func (*UsageLimitObservation) DeepCopyInto

func (in *UsageLimitObservation) DeepCopyInto(out *UsageLimitObservation)

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

type UsageLimitParameters

type UsageLimitParameters struct {

	// The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
	// +kubebuilder:validation:Optional
	Amount *float64 `json:"amount,omitempty" tf:"amount,omitempty"`

	// The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are log, emit-metric, and deactivate. The default is log.
	// +kubebuilder:validation:Optional
	BreachAction *string `json:"breachAction,omitempty" tf:"breach_action,omitempty"`

	// The time period that the amount applies to. A weekly period begins on Sunday. Valid values are daily, weekly, and monthly. The default is monthly.
	// +kubebuilder:validation:Optional
	Period *string `json:"period,omitempty" tf:"period,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:"-"`

	// The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/redshiftserverless/v1beta1.Workgroup
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`

	// Reference to a Workgroup in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnRef *v1.Reference `json:"resourceArnRef,omitempty" tf:"-"`

	// Selector for a Workgroup in redshiftserverless to populate resourceArn.
	// +kubebuilder:validation:Optional
	ResourceArnSelector *v1.Selector `json:"resourceArnSelector,omitempty" tf:"-"`

	// The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are serverless-compute or cross-region-datasharing.
	// +kubebuilder:validation:Optional
	UsageType *string `json:"usageType,omitempty" tf:"usage_type,omitempty"`
}

func (*UsageLimitParameters) DeepCopy

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

func (*UsageLimitParameters) DeepCopyInto

func (in *UsageLimitParameters) DeepCopyInto(out *UsageLimitParameters)

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

type UsageLimitSpec

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

UsageLimitSpec defines the desired state of UsageLimit

func (*UsageLimitSpec) DeepCopy

func (in *UsageLimitSpec) DeepCopy() *UsageLimitSpec

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

func (*UsageLimitSpec) DeepCopyInto

func (in *UsageLimitSpec) DeepCopyInto(out *UsageLimitSpec)

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

type UsageLimitStatus

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

UsageLimitStatus defines the observed state of UsageLimit.

func (*UsageLimitStatus) DeepCopy

func (in *UsageLimitStatus) DeepCopy() *UsageLimitStatus

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

func (*UsageLimitStatus) DeepCopyInto

func (in *UsageLimitStatus) DeepCopyInto(out *UsageLimitStatus)

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

type VPCEndpointInitParameters

type VPCEndpointInitParameters struct {
}

func (*VPCEndpointInitParameters) DeepCopy

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

func (*VPCEndpointInitParameters) DeepCopyInto

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

type VPCEndpointNetworkInterfaceInitParameters

type VPCEndpointNetworkInterfaceInitParameters struct {
}

func (*VPCEndpointNetworkInterfaceInitParameters) DeepCopy

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

func (*VPCEndpointNetworkInterfaceInitParameters) DeepCopyInto

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

type VPCEndpointNetworkInterfaceObservation

type VPCEndpointNetworkInterfaceObservation struct {

	// The availability Zone.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The unique identifier of the network interface.
	NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"`

	// The IPv4 address of the network interface within the subnet.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty" tf:"private_ip_address,omitempty"`

	// The unique identifier of the subnet.
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`
}

func (*VPCEndpointNetworkInterfaceObservation) DeepCopy

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

func (*VPCEndpointNetworkInterfaceObservation) DeepCopyInto

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

type VPCEndpointNetworkInterfaceParameters

type VPCEndpointNetworkInterfaceParameters struct {
}

func (*VPCEndpointNetworkInterfaceParameters) DeepCopy

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

func (*VPCEndpointNetworkInterfaceParameters) DeepCopyInto

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

type VPCEndpointObservation

type VPCEndpointObservation struct {

	// The network interfaces of the endpoint.. See Network Interface below.
	NetworkInterface []NetworkInterfaceObservation `json:"networkInterface,omitempty" tf:"network_interface,omitempty"`

	// The DNS address of the VPC endpoint.
	VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"`

	// The port that Amazon Redshift Serverless listens on.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*VPCEndpointObservation) DeepCopy

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

func (*VPCEndpointObservation) DeepCopyInto

func (in *VPCEndpointObservation) DeepCopyInto(out *VPCEndpointObservation)

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

type VPCEndpointParameters

type VPCEndpointParameters struct {
}

func (*VPCEndpointParameters) DeepCopy

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

func (*VPCEndpointParameters) DeepCopyInto

func (in *VPCEndpointParameters) DeepCopyInto(out *VPCEndpointParameters)

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

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

func (*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

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

GetInitParameters of this Workgroup

func (*Workgroup) GetManagementPolicies

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) Hub added in v0.47.2

func (tr *Workgroup) Hub()

Hub marks this type as a conversion hub.

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

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

type WorkgroupInitParameters struct {

	// The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
	BaseCapacity *float64 `json:"baseCapacity,omitempty" tf:"base_capacity,omitempty"`

	// An array of parameters to set for more control over a serverless database. See Config Parameter below.
	ConfigParameter []ConfigParameterInitParameters `json:"configParameter,omitempty" tf:"config_parameter,omitempty"`

	// The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
	EnhancedVPCRouting *bool `json:"enhancedVpcRouting,omitempty" tf:"enhanced_vpc_routing,omitempty"`

	// The name of the namespace.
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// A value that specifies whether the workgroup can be accessed from a public network.
	PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"`

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// An array of security group IDs to associate with the workgroup.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following AWS document.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

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

func (*WorkgroupInitParameters) DeepCopy

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

func (*WorkgroupInitParameters) DeepCopyInto

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 {

	// Amazon Resource Name (ARN) of the Redshift Serverless Workgroup.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
	BaseCapacity *float64 `json:"baseCapacity,omitempty" tf:"base_capacity,omitempty"`

	// An array of parameters to set for more control over a serverless database. See Config Parameter below.
	ConfigParameter []ConfigParameterObservation `json:"configParameter,omitempty" tf:"config_parameter,omitempty"`

	// The endpoint that is created from the workgroup. See Endpoint below.
	Endpoint []EndpointObservation `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
	EnhancedVPCRouting *bool `json:"enhancedVpcRouting,omitempty" tf:"enhanced_vpc_routing,omitempty"`

	// The Redshift Workgroup Name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the namespace.
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// A value that specifies whether the workgroup can be accessed from a public network.
	PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"`

	// An array of security group IDs to associate with the workgroup.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following AWS document.
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

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

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

	// The Redshift Workgroup ID.
	WorkgroupID *string `json:"workgroupId,omitempty" tf:"workgroup_id,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 {

	// The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).
	// +kubebuilder:validation:Optional
	BaseCapacity *float64 `json:"baseCapacity,omitempty" tf:"base_capacity,omitempty"`

	// An array of parameters to set for more control over a serverless database. See Config Parameter below.
	// +kubebuilder:validation:Optional
	ConfigParameter []ConfigParameterParameters `json:"configParameter,omitempty" tf:"config_parameter,omitempty"`

	// The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.
	// +kubebuilder:validation:Optional
	EnhancedVPCRouting *bool `json:"enhancedVpcRouting,omitempty" tf:"enhanced_vpc_routing,omitempty"`

	// The name of the namespace.
	// +kubebuilder:validation:Optional
	NamespaceName *string `json:"namespaceName,omitempty" tf:"namespace_name,omitempty"`

	// A value that specifies whether the workgroup can be accessed from a public network.
	// +kubebuilder:validation:Optional
	PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,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:"-"`

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRefs []v1.Reference `json:"securityGroupIdRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// An array of security group IDs to associate with the workgroup.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDRefs []v1.Reference `json:"subnetIdRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnetIds.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// An array of VPC subnet IDs to associate with the workgroup. When set, must contain at least three subnets spanning three Availability Zones. A minimum number of IP addresses is required and scales with the Base Capacity. For more information, see the following AWS document.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	// +listType=set
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	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