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=route53recoverycontrolconfig.aws.upbound.io +versionName=v1beta1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Cluster_Kind             = "Cluster"
	Cluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String()
	Cluster_KindAPIVersion   = Cluster_Kind + "." + CRDGroupVersion.String()
	Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind)
)

Repository type metadata.

View Source
var (
	ControlPanel_Kind             = "ControlPanel"
	ControlPanel_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ControlPanel_Kind}.String()
	ControlPanel_KindAPIVersion   = ControlPanel_Kind + "." + CRDGroupVersion.String()
	ControlPanel_GroupVersionKind = CRDGroupVersion.WithKind(ControlPanel_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 (
	RoutingControl_Kind             = "RoutingControl"
	RoutingControl_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoutingControl_Kind}.String()
	RoutingControl_KindAPIVersion   = RoutingControl_Kind + "." + CRDGroupVersion.String()
	RoutingControl_GroupVersionKind = CRDGroupVersion.WithKind(RoutingControl_Kind)
)

Repository type metadata.

View Source
var (
	SafetyRule_Kind             = "SafetyRule"
	SafetyRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SafetyRule_Kind}.String()
	SafetyRule_KindAPIVersion   = SafetyRule_Kind + "." + CRDGroupVersion.String()
	SafetyRule_GroupVersionKind = CRDGroupVersion.WithKind(SafetyRule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Cluster

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

Cluster is the Schema for the Clusters API. Provides an AWS Route 53 Recovery Control Config Cluster +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 (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) GetCondition

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

GetCondition of this Cluster.

func (*Cluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Cluster

func (*Cluster) GetDeletionPolicy

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

GetDeletionPolicy of this Cluster.

func (*Cluster) GetID

func (tr *Cluster) GetID() string

GetID returns ID of underlying Terraform resource of this Cluster

func (*Cluster) GetInitParameters added in v0.38.0

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

GetInitParameters of this Cluster

func (*Cluster) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Cluster.

func (*Cluster) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Cluster

func (*Cluster) GetObservation

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

GetObservation of this Cluster

func (*Cluster) GetParameters

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

GetParameters of this Cluster

func (*Cluster) GetProviderConfigReference

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

GetProviderConfigReference of this Cluster.

func (*Cluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) GetTerraformResourceType

func (mg *Cluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Cluster

func (*Cluster) GetTerraformSchemaVersion

func (tr *Cluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Cluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Cluster.

func (*Cluster) Hub added in v0.47.2

func (tr *Cluster) Hub()

Hub marks this type as a conversion hub.

func (*Cluster) LateInitialize

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

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

func (*Cluster) SetConditions

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

SetConditions of this Cluster.

func (*Cluster) SetDeletionPolicy

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

SetDeletionPolicy of this Cluster.

func (*Cluster) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Cluster.

func (*Cluster) SetObservation

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

SetObservation for this Cluster

func (*Cluster) SetParameters

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

SetParameters for this Cluster

func (*Cluster) SetProviderConfigReference

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

SetProviderConfigReference of this Cluster.

func (*Cluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Cluster.

type ClusterEndpointsInitParameters added in v0.38.0

type ClusterEndpointsInitParameters struct {
}

func (*ClusterEndpointsInitParameters) DeepCopy added in v0.38.0

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

func (*ClusterEndpointsInitParameters) DeepCopyInto added in v0.38.0

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

type ClusterEndpointsObservation

type ClusterEndpointsObservation struct {

	// Cluster endpoint.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// Region of the endpoint.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*ClusterEndpointsObservation) DeepCopy

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

func (*ClusterEndpointsObservation) DeepCopyInto

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

type ClusterEndpointsParameters

type ClusterEndpointsParameters struct {
}

func (*ClusterEndpointsParameters) DeepCopy

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

func (*ClusterEndpointsParameters) DeepCopyInto

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

type ClusterInitParameters added in v0.38.0

type ClusterInitParameters struct {

	// Unique name describing the cluster.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ClusterInitParameters) DeepCopy added in v0.38.0

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

func (*ClusterInitParameters) DeepCopyInto added in v0.38.0

func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters)

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

type ClusterList

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

ClusterList contains a list of Clusters

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) GetItems

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

GetItems of this ClusterList.

type ClusterObservation

type ClusterObservation struct {

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

	// List of 5 endpoints in 5 regions that can be used to talk to the cluster. See below.
	ClusterEndpoints []ClusterEndpointsObservation `json:"clusterEndpoints,omitempty" tf:"cluster_endpoints,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Unique name describing the cluster.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Status of cluster. PENDING when it is being created, PENDING_DELETION when it is being deleted and DEPLOYED otherwise.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ClusterObservation) DeepCopy

func (in *ClusterObservation) DeepCopy() *ClusterObservation

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

func (*ClusterObservation) DeepCopyInto

func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation)

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

type ClusterParameters

type ClusterParameters struct {

	// Unique name describing the cluster.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

func (*ClusterParameters) DeepCopy

func (in *ClusterParameters) DeepCopy() *ClusterParameters

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

func (*ClusterParameters) DeepCopyInto

func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters)

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

type ClusterSpec

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

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

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

ClusterStatus defines the observed state of Cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type ControlPanel

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

ControlPanel is the Schema for the ControlPanels API. Provides an AWS Route 53 Recovery Control Config Control Panel +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 (*ControlPanel) DeepCopy

func (in *ControlPanel) DeepCopy() *ControlPanel

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

func (*ControlPanel) DeepCopyInto

func (in *ControlPanel) DeepCopyInto(out *ControlPanel)

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

func (*ControlPanel) DeepCopyObject

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

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

func (*ControlPanel) GetCondition

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

GetCondition of this ControlPanel.

func (*ControlPanel) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ControlPanel

func (*ControlPanel) GetDeletionPolicy

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

GetDeletionPolicy of this ControlPanel.

func (*ControlPanel) GetID

func (tr *ControlPanel) GetID() string

GetID returns ID of underlying Terraform resource of this ControlPanel

func (*ControlPanel) GetInitParameters added in v0.38.0

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

GetInitParameters of this ControlPanel

func (*ControlPanel) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ControlPanel.

func (*ControlPanel) GetMergedParameters added in v0.44.0

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

GetInitParameters of this ControlPanel

func (*ControlPanel) GetObservation

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

GetObservation of this ControlPanel

func (*ControlPanel) GetParameters

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

GetParameters of this ControlPanel

func (*ControlPanel) GetProviderConfigReference

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

GetProviderConfigReference of this ControlPanel.

func (*ControlPanel) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ControlPanel.

func (*ControlPanel) GetTerraformResourceType

func (mg *ControlPanel) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ControlPanel

func (*ControlPanel) GetTerraformSchemaVersion

func (tr *ControlPanel) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ControlPanel) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ControlPanel.

func (*ControlPanel) Hub added in v0.47.2

func (tr *ControlPanel) Hub()

Hub marks this type as a conversion hub.

func (*ControlPanel) LateInitialize

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

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

func (*ControlPanel) ResolveReferences

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

func (*ControlPanel) SetConditions

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

SetConditions of this ControlPanel.

func (*ControlPanel) SetDeletionPolicy

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

SetDeletionPolicy of this ControlPanel.

func (*ControlPanel) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ControlPanel.

func (*ControlPanel) SetObservation

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

SetObservation for this ControlPanel

func (*ControlPanel) SetParameters

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

SetParameters for this ControlPanel

func (*ControlPanel) SetProviderConfigReference

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

SetProviderConfigReference of this ControlPanel.

func (*ControlPanel) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ControlPanel.

func (*ControlPanel) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ControlPanel.

type ControlPanelInitParameters added in v0.38.0

type ControlPanelInitParameters struct {

	// ARN of the cluster in which this control panel will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.Cluster
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"`

	// Reference to a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnRef *v1.Reference `json:"clusterArnRef,omitempty" tf:"-"`

	// Selector for a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnSelector *v1.Selector `json:"clusterArnSelector,omitempty" tf:"-"`

	// Name describing the control panel.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ControlPanelInitParameters) DeepCopy added in v0.38.0

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

func (*ControlPanelInitParameters) DeepCopyInto added in v0.38.0

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

type ControlPanelList

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

ControlPanelList contains a list of ControlPanels

func (*ControlPanelList) DeepCopy

func (in *ControlPanelList) DeepCopy() *ControlPanelList

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

func (*ControlPanelList) DeepCopyInto

func (in *ControlPanelList) DeepCopyInto(out *ControlPanelList)

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

func (*ControlPanelList) DeepCopyObject

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

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

func (*ControlPanelList) GetItems

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

GetItems of this ControlPanelList.

type ControlPanelObservation

type ControlPanelObservation struct {

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

	// ARN of the cluster in which this control panel will reside.
	ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"`

	// Whether a control panel is default.
	DefaultControlPanel *bool `json:"defaultControlPanel,omitempty" tf:"default_control_panel,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name describing the control panel.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Number routing controls in a control panel.
	RoutingControlCount *float64 `json:"routingControlCount,omitempty" tf:"routing_control_count,omitempty"`

	// Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ControlPanelObservation) DeepCopy

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

func (*ControlPanelObservation) DeepCopyInto

func (in *ControlPanelObservation) DeepCopyInto(out *ControlPanelObservation)

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

type ControlPanelParameters

type ControlPanelParameters struct {

	// ARN of the cluster in which this control panel will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.Cluster
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	// +kubebuilder:validation:Optional
	ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"`

	// Reference to a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnRef *v1.Reference `json:"clusterArnRef,omitempty" tf:"-"`

	// Selector for a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnSelector *v1.Selector `json:"clusterArnSelector,omitempty" tf:"-"`

	// Name describing the control panel.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

func (*ControlPanelParameters) DeepCopy

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

func (*ControlPanelParameters) DeepCopyInto

func (in *ControlPanelParameters) DeepCopyInto(out *ControlPanelParameters)

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

type ControlPanelSpec

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

ControlPanelSpec defines the desired state of ControlPanel

func (*ControlPanelSpec) DeepCopy

func (in *ControlPanelSpec) DeepCopy() *ControlPanelSpec

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

func (*ControlPanelSpec) DeepCopyInto

func (in *ControlPanelSpec) DeepCopyInto(out *ControlPanelSpec)

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

type ControlPanelStatus

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

ControlPanelStatus defines the observed state of ControlPanel.

func (*ControlPanelStatus) DeepCopy

func (in *ControlPanelStatus) DeepCopy() *ControlPanelStatus

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

func (*ControlPanelStatus) DeepCopyInto

func (in *ControlPanelStatus) DeepCopyInto(out *ControlPanelStatus)

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

type RoutingControl

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

RoutingControl is the Schema for the RoutingControls API. Provides an AWS Route 53 Recovery Control Config Routing Control +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 (*RoutingControl) DeepCopy

func (in *RoutingControl) DeepCopy() *RoutingControl

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

func (*RoutingControl) DeepCopyInto

func (in *RoutingControl) DeepCopyInto(out *RoutingControl)

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

func (*RoutingControl) DeepCopyObject

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

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

func (*RoutingControl) GetCondition

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

GetCondition of this RoutingControl.

func (*RoutingControl) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RoutingControl

func (*RoutingControl) GetDeletionPolicy

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

GetDeletionPolicy of this RoutingControl.

func (*RoutingControl) GetID

func (tr *RoutingControl) GetID() string

GetID returns ID of underlying Terraform resource of this RoutingControl

func (*RoutingControl) GetInitParameters added in v0.38.0

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

GetInitParameters of this RoutingControl

func (*RoutingControl) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this RoutingControl.

func (*RoutingControl) GetMergedParameters added in v0.44.0

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

GetInitParameters of this RoutingControl

func (*RoutingControl) GetObservation

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

GetObservation of this RoutingControl

func (*RoutingControl) GetParameters

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

GetParameters of this RoutingControl

func (*RoutingControl) GetProviderConfigReference

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

GetProviderConfigReference of this RoutingControl.

func (*RoutingControl) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RoutingControl.

func (*RoutingControl) GetTerraformResourceType

func (mg *RoutingControl) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoutingControl

func (*RoutingControl) GetTerraformSchemaVersion

func (tr *RoutingControl) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoutingControl) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RoutingControl.

func (*RoutingControl) Hub added in v0.47.2

func (tr *RoutingControl) Hub()

Hub marks this type as a conversion hub.

func (*RoutingControl) LateInitialize

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

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

func (*RoutingControl) ResolveReferences

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

ResolveReferences of this RoutingControl.

func (*RoutingControl) SetConditions

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

SetConditions of this RoutingControl.

func (*RoutingControl) SetDeletionPolicy

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

SetDeletionPolicy of this RoutingControl.

func (*RoutingControl) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this RoutingControl.

func (*RoutingControl) SetObservation

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

SetObservation for this RoutingControl

func (*RoutingControl) SetParameters

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

SetParameters for this RoutingControl

func (*RoutingControl) SetProviderConfigReference

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

SetProviderConfigReference of this RoutingControl.

func (*RoutingControl) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RoutingControl.

func (*RoutingControl) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RoutingControl.

type RoutingControlInitParameters added in v0.38.0

type RoutingControlInitParameters struct {

	// ARN of the cluster in which this routing control will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.Cluster
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"`

	// Reference to a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnRef *v1.Reference `json:"clusterArnRef,omitempty" tf:"-"`

	// Selector for a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnSelector *v1.Selector `json:"clusterArnSelector,omitempty" tf:"-"`

	// ARN of the control panel in which this routing control will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.ControlPanel
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"`

	// Reference to a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnRef *v1.Reference `json:"controlPanelArnRef,omitempty" tf:"-"`

	// Selector for a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnSelector *v1.Selector `json:"controlPanelArnSelector,omitempty" tf:"-"`

	// The name describing the routing control.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*RoutingControlInitParameters) DeepCopy added in v0.38.0

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

func (*RoutingControlInitParameters) DeepCopyInto added in v0.38.0

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

type RoutingControlList

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

RoutingControlList contains a list of RoutingControls

func (*RoutingControlList) DeepCopy

func (in *RoutingControlList) DeepCopy() *RoutingControlList

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

func (*RoutingControlList) DeepCopyInto

func (in *RoutingControlList) DeepCopyInto(out *RoutingControlList)

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

func (*RoutingControlList) DeepCopyObject

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

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

func (*RoutingControlList) GetItems

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

GetItems of this RoutingControlList.

type RoutingControlObservation

type RoutingControlObservation struct {

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

	// ARN of the cluster in which this routing control will reside.
	ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"`

	// ARN of the control panel in which this routing control will reside.
	ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name describing the routing control.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Status of routing control. PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*RoutingControlObservation) DeepCopy

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

func (*RoutingControlObservation) DeepCopyInto

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

type RoutingControlParameters

type RoutingControlParameters struct {

	// ARN of the cluster in which this routing control will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.Cluster
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	// +kubebuilder:validation:Optional
	ClusterArn *string `json:"clusterArn,omitempty" tf:"cluster_arn,omitempty"`

	// Reference to a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnRef *v1.Reference `json:"clusterArnRef,omitempty" tf:"-"`

	// Selector for a Cluster in route53recoverycontrolconfig to populate clusterArn.
	// +kubebuilder:validation:Optional
	ClusterArnSelector *v1.Selector `json:"clusterArnSelector,omitempty" tf:"-"`

	// ARN of the control panel in which this routing control will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.ControlPanel
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	// +kubebuilder:validation:Optional
	ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"`

	// Reference to a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnRef *v1.Reference `json:"controlPanelArnRef,omitempty" tf:"-"`

	// Selector for a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnSelector *v1.Selector `json:"controlPanelArnSelector,omitempty" tf:"-"`

	// The name describing the routing control.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

func (*RoutingControlParameters) DeepCopy

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

func (*RoutingControlParameters) DeepCopyInto

func (in *RoutingControlParameters) DeepCopyInto(out *RoutingControlParameters)

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

type RoutingControlSpec

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

RoutingControlSpec defines the desired state of RoutingControl

func (*RoutingControlSpec) DeepCopy

func (in *RoutingControlSpec) DeepCopy() *RoutingControlSpec

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

func (*RoutingControlSpec) DeepCopyInto

func (in *RoutingControlSpec) DeepCopyInto(out *RoutingControlSpec)

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

type RoutingControlStatus

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

RoutingControlStatus defines the observed state of RoutingControl.

func (*RoutingControlStatus) DeepCopy

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

func (*RoutingControlStatus) DeepCopyInto

func (in *RoutingControlStatus) DeepCopyInto(out *RoutingControlStatus)

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

type RuleConfigInitParameters added in v0.38.0

type RuleConfigInitParameters struct {

	// Logical negation of the rule.
	Inverted *bool `json:"inverted,omitempty" tf:"inverted,omitempty"`

	// Number of controls that must be set when you specify an ATLEAST type rule.
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`

	// Rule type. Valid values are ATLEAST, AND, and OR.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RuleConfigInitParameters) DeepCopy added in v0.38.0

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

func (*RuleConfigInitParameters) DeepCopyInto added in v0.38.0

func (in *RuleConfigInitParameters) DeepCopyInto(out *RuleConfigInitParameters)

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

type RuleConfigObservation

type RuleConfigObservation struct {

	// Logical negation of the rule.
	Inverted *bool `json:"inverted,omitempty" tf:"inverted,omitempty"`

	// Number of controls that must be set when you specify an ATLEAST type rule.
	Threshold *float64 `json:"threshold,omitempty" tf:"threshold,omitempty"`

	// Rule type. Valid values are ATLEAST, AND, and OR.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RuleConfigObservation) DeepCopy

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

func (*RuleConfigObservation) DeepCopyInto

func (in *RuleConfigObservation) DeepCopyInto(out *RuleConfigObservation)

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

type RuleConfigParameters

type RuleConfigParameters struct {

	// Logical negation of the rule.
	// +kubebuilder:validation:Optional
	Inverted *bool `json:"inverted" tf:"inverted,omitempty"`

	// Number of controls that must be set when you specify an ATLEAST type rule.
	// +kubebuilder:validation:Optional
	Threshold *float64 `json:"threshold" tf:"threshold,omitempty"`

	// Rule type. Valid values are ATLEAST, AND, and OR.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*RuleConfigParameters) DeepCopy

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

func (*RuleConfigParameters) DeepCopyInto

func (in *RuleConfigParameters) DeepCopyInto(out *RuleConfigParameters)

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

type SafetyRule

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

SafetyRule is the Schema for the SafetyRules API. Provides an AWS Route 53 Recovery Control Config Safety Rule +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 (*SafetyRule) DeepCopy

func (in *SafetyRule) DeepCopy() *SafetyRule

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

func (*SafetyRule) DeepCopyInto

func (in *SafetyRule) DeepCopyInto(out *SafetyRule)

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

func (*SafetyRule) DeepCopyObject

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

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

func (*SafetyRule) GetCondition

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

GetCondition of this SafetyRule.

func (*SafetyRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SafetyRule

func (*SafetyRule) GetDeletionPolicy

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

GetDeletionPolicy of this SafetyRule.

func (*SafetyRule) GetID

func (tr *SafetyRule) GetID() string

GetID returns ID of underlying Terraform resource of this SafetyRule

func (*SafetyRule) GetInitParameters added in v0.38.0

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

GetInitParameters of this SafetyRule

func (*SafetyRule) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this SafetyRule.

func (*SafetyRule) GetMergedParameters added in v0.44.0

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

GetInitParameters of this SafetyRule

func (*SafetyRule) GetObservation

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

GetObservation of this SafetyRule

func (*SafetyRule) GetParameters

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

GetParameters of this SafetyRule

func (*SafetyRule) GetProviderConfigReference

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

GetProviderConfigReference of this SafetyRule.

func (*SafetyRule) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SafetyRule.

func (*SafetyRule) GetTerraformResourceType

func (mg *SafetyRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SafetyRule

func (*SafetyRule) GetTerraformSchemaVersion

func (tr *SafetyRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SafetyRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SafetyRule.

func (*SafetyRule) Hub added in v0.47.2

func (tr *SafetyRule) Hub()

Hub marks this type as a conversion hub.

func (*SafetyRule) LateInitialize

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

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

func (*SafetyRule) ResolveReferences

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

ResolveReferences of this SafetyRule.

func (*SafetyRule) SetConditions

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

SetConditions of this SafetyRule.

func (*SafetyRule) SetDeletionPolicy

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

SetDeletionPolicy of this SafetyRule.

func (*SafetyRule) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this SafetyRule.

func (*SafetyRule) SetObservation

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

SetObservation for this SafetyRule

func (*SafetyRule) SetParameters

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

SetParameters for this SafetyRule

func (*SafetyRule) SetProviderConfigReference

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

SetProviderConfigReference of this SafetyRule.

func (*SafetyRule) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SafetyRule.

func (*SafetyRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SafetyRule.

type SafetyRuleInitParameters added in v0.38.0

type SafetyRuleInitParameters struct {

	// Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.RoutingControl
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	AssertedControls []*string `json:"assertedControls,omitempty" tf:"asserted_controls,omitempty"`

	// References to RoutingControl in route53recoverycontrolconfig to populate assertedControls.
	// +kubebuilder:validation:Optional
	AssertedControlsRefs []v1.Reference `json:"assertedControlsRefs,omitempty" tf:"-"`

	// Selector for a list of RoutingControl in route53recoverycontrolconfig to populate assertedControls.
	// +kubebuilder:validation:Optional
	AssertedControlsSelector *v1.Selector `json:"assertedControlsSelector,omitempty" tf:"-"`

	// ARN of the control panel in which this safety rule will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.ControlPanel
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"`

	// Reference to a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnRef *v1.Reference `json:"controlPanelArnRef,omitempty" tf:"-"`

	// Selector for a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnSelector *v1.Selector `json:"controlPanelArnSelector,omitempty" tf:"-"`

	// Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
	GatingControls []*string `json:"gatingControls,omitempty" tf:"gating_controls,omitempty"`

	// Name describing the safety rule.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Configuration block for safety rule criteria. See below.
	RuleConfig []RuleConfigInitParameters `json:"ruleConfig,omitempty" tf:"rule_config,omitempty"`

	// Routing controls that can only be set or unset if the specified rule_config evaluates to true for the specified gating_controls.
	TargetControls []*string `json:"targetControls,omitempty" tf:"target_controls,omitempty"`

	// Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
	WaitPeriodMs *float64 `json:"waitPeriodMs,omitempty" tf:"wait_period_ms,omitempty"`
}

func (*SafetyRuleInitParameters) DeepCopy added in v0.38.0

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

func (*SafetyRuleInitParameters) DeepCopyInto added in v0.38.0

func (in *SafetyRuleInitParameters) DeepCopyInto(out *SafetyRuleInitParameters)

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

type SafetyRuleList

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

SafetyRuleList contains a list of SafetyRules

func (*SafetyRuleList) DeepCopy

func (in *SafetyRuleList) DeepCopy() *SafetyRuleList

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

func (*SafetyRuleList) DeepCopyInto

func (in *SafetyRuleList) DeepCopyInto(out *SafetyRuleList)

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

func (*SafetyRuleList) DeepCopyObject

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

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

func (*SafetyRuleList) GetItems

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

GetItems of this SafetyRuleList.

type SafetyRuleObservation

type SafetyRuleObservation struct {

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

	// Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
	AssertedControls []*string `json:"assertedControls,omitempty" tf:"asserted_controls,omitempty"`

	// ARN of the control panel in which this safety rule will reside.
	ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"`

	// Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
	GatingControls []*string `json:"gatingControls,omitempty" tf:"gating_controls,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name describing the safety rule.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Configuration block for safety rule criteria. See below.
	RuleConfig []RuleConfigObservation `json:"ruleConfig,omitempty" tf:"rule_config,omitempty"`

	// Status of the safety rule. PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Routing controls that can only be set or unset if the specified rule_config evaluates to true for the specified gating_controls.
	TargetControls []*string `json:"targetControls,omitempty" tf:"target_controls,omitempty"`

	// Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
	WaitPeriodMs *float64 `json:"waitPeriodMs,omitempty" tf:"wait_period_ms,omitempty"`
}

func (*SafetyRuleObservation) DeepCopy

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

func (*SafetyRuleObservation) DeepCopyInto

func (in *SafetyRuleObservation) DeepCopyInto(out *SafetyRuleObservation)

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

type SafetyRuleParameters

type SafetyRuleParameters struct {

	// Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.RoutingControl
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	// +kubebuilder:validation:Optional
	AssertedControls []*string `json:"assertedControls,omitempty" tf:"asserted_controls,omitempty"`

	// References to RoutingControl in route53recoverycontrolconfig to populate assertedControls.
	// +kubebuilder:validation:Optional
	AssertedControlsRefs []v1.Reference `json:"assertedControlsRefs,omitempty" tf:"-"`

	// Selector for a list of RoutingControl in route53recoverycontrolconfig to populate assertedControls.
	// +kubebuilder:validation:Optional
	AssertedControlsSelector *v1.Selector `json:"assertedControlsSelector,omitempty" tf:"-"`

	// ARN of the control panel in which this safety rule will reside.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/route53recoverycontrolconfig/v1beta1.ControlPanel
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.TerraformID()
	// +kubebuilder:validation:Optional
	ControlPanelArn *string `json:"controlPanelArn,omitempty" tf:"control_panel_arn,omitempty"`

	// Reference to a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnRef *v1.Reference `json:"controlPanelArnRef,omitempty" tf:"-"`

	// Selector for a ControlPanel in route53recoverycontrolconfig to populate controlPanelArn.
	// +kubebuilder:validation:Optional
	ControlPanelArnSelector *v1.Selector `json:"controlPanelArnSelector,omitempty" tf:"-"`

	// Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
	// +kubebuilder:validation:Optional
	GatingControls []*string `json:"gatingControls,omitempty" tf:"gating_controls,omitempty"`

	// Name describing the safety rule.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

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

	// Configuration block for safety rule criteria. See below.
	// +kubebuilder:validation:Optional
	RuleConfig []RuleConfigParameters `json:"ruleConfig,omitempty" tf:"rule_config,omitempty"`

	// Routing controls that can only be set or unset if the specified rule_config evaluates to true for the specified gating_controls.
	// +kubebuilder:validation:Optional
	TargetControls []*string `json:"targetControls,omitempty" tf:"target_controls,omitempty"`

	// Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
	// +kubebuilder:validation:Optional
	WaitPeriodMs *float64 `json:"waitPeriodMs,omitempty" tf:"wait_period_ms,omitempty"`
}

func (*SafetyRuleParameters) DeepCopy

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

func (*SafetyRuleParameters) DeepCopyInto

func (in *SafetyRuleParameters) DeepCopyInto(out *SafetyRuleParameters)

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

type SafetyRuleSpec

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

SafetyRuleSpec defines the desired state of SafetyRule

func (*SafetyRuleSpec) DeepCopy

func (in *SafetyRuleSpec) DeepCopy() *SafetyRuleSpec

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

func (*SafetyRuleSpec) DeepCopyInto

func (in *SafetyRuleSpec) DeepCopyInto(out *SafetyRuleSpec)

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

type SafetyRuleStatus

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

SafetyRuleStatus defines the observed state of SafetyRule.

func (*SafetyRuleStatus) DeepCopy

func (in *SafetyRuleStatus) DeepCopy() *SafetyRuleStatus

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

func (*SafetyRuleStatus) DeepCopyInto

func (in *SafetyRuleStatus) DeepCopyInto(out *SafetyRuleStatus)

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