v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=docdb.aws.kubeform.com +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "docdb.aws.kubeform.com"
	CRDVersion = "v1alpha1"
)

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 (
	ClusterInstance_Kind             = "ClusterInstance"
	ClusterInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterInstance_Kind}.String()
	ClusterInstance_KindAPIVersion   = ClusterInstance_Kind + "." + CRDGroupVersion.String()
	ClusterInstance_GroupVersionKind = CRDGroupVersion.WithKind(ClusterInstance_Kind)
)

Repository type metadata.

View Source
var (
	ClusterParameterGroup_Kind             = "ClusterParameterGroup"
	ClusterParameterGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterParameterGroup_Kind}.String()
	ClusterParameterGroup_KindAPIVersion   = ClusterParameterGroup_Kind + "." + CRDGroupVersion.String()
	ClusterParameterGroup_GroupVersionKind = CRDGroupVersion.WithKind(ClusterParameterGroup_Kind)
)

Repository type metadata.

View Source
var (
	ClusterSnapshot_Kind             = "ClusterSnapshot"
	ClusterSnapshot_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterSnapshot_Kind}.String()
	ClusterSnapshot_KindAPIVersion   = ClusterSnapshot_Kind + "." + CRDGroupVersion.String()
	ClusterSnapshot_GroupVersionKind = CRDGroupVersion.WithKind(ClusterSnapshot_Kind)
)

Repository type metadata.

View Source
var (
	EventSubscription_Kind             = "EventSubscription"
	EventSubscription_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EventSubscription_Kind}.String()
	EventSubscription_KindAPIVersion   = EventSubscription_Kind + "." + CRDGroupVersion.String()
	EventSubscription_GroupVersionKind = CRDGroupVersion.WithKind(EventSubscription_Kind)
)

Repository type metadata.

View Source
var (
	GlobalCluster_Kind             = "GlobalCluster"
	GlobalCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GlobalCluster_Kind}.String()
	GlobalCluster_KindAPIVersion   = GlobalCluster_Kind + "." + CRDGroupVersion.String()
	GlobalCluster_GroupVersionKind = CRDGroupVersion.WithKind(GlobalCluster_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 (
	SubnetGroup_Kind             = "SubnetGroup"
	SubnetGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SubnetGroup_Kind}.String()
	SubnetGroup_KindAPIVersion   = SubnetGroup_Kind + "." + CRDGroupVersion.String()
	SubnetGroup_GroupVersionKind = CRDGroupVersion.WithKind(SubnetGroup_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="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   ClusterSpec   `json:"spec"`
	Status ClusterStatus `json:"status,omitempty"`
}

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

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

func (mg *Cluster) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy 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) GetProviderReference

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

GetProviderReference of this Cluster. Deprecated: Use GetProviderConfigReference.

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) 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) SetManagementPolicy

func (mg *Cluster) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy 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) SetProviderReference

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

SetProviderReference of this Cluster. Deprecated: Use SetProviderConfigReference.

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 ClusterInstance

type ClusterInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.instanceClass)",message="instanceClass is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   ClusterInstanceSpec   `json:"spec"`
	Status ClusterInstanceStatus `json:"status,omitempty"`
}

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

func (*ClusterInstance) DeepCopy

func (in *ClusterInstance) DeepCopy() *ClusterInstance

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

func (*ClusterInstance) DeepCopyInto

func (in *ClusterInstance) DeepCopyInto(out *ClusterInstance)

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

func (*ClusterInstance) DeepCopyObject

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

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

func (*ClusterInstance) GetCondition

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

GetCondition of this ClusterInstance.

func (*ClusterInstance) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterInstance

func (*ClusterInstance) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterInstance.

func (*ClusterInstance) GetID

func (tr *ClusterInstance) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterInstance

func (*ClusterInstance) GetManagementPolicy

func (mg *ClusterInstance) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ClusterInstance.

func (*ClusterInstance) GetObservation

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

GetObservation of this ClusterInstance

func (*ClusterInstance) GetParameters

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

GetParameters of this ClusterInstance

func (*ClusterInstance) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterInstance.

func (*ClusterInstance) GetProviderReference

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

GetProviderReference of this ClusterInstance. Deprecated: Use GetProviderConfigReference.

func (*ClusterInstance) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ClusterInstance.

func (*ClusterInstance) GetTerraformResourceType

func (mg *ClusterInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterInstance

func (*ClusterInstance) GetTerraformSchemaVersion

func (tr *ClusterInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterInstance) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterInstance.

func (*ClusterInstance) LateInitialize

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

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

func (*ClusterInstance) ResolveReferences

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

ResolveReferences of this ClusterInstance.

func (*ClusterInstance) SetConditions

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

SetConditions of this ClusterInstance.

func (*ClusterInstance) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterInstance.

func (*ClusterInstance) SetManagementPolicy

func (mg *ClusterInstance) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ClusterInstance.

func (*ClusterInstance) SetObservation

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

SetObservation for this ClusterInstance

func (*ClusterInstance) SetParameters

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

SetParameters for this ClusterInstance

func (*ClusterInstance) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterInstance.

func (*ClusterInstance) SetProviderReference

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

SetProviderReference of this ClusterInstance. Deprecated: Use SetProviderConfigReference.

func (*ClusterInstance) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ClusterInstance.

func (*ClusterInstance) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterInstance.

type ClusterInstanceList

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

ClusterInstanceList contains a list of ClusterInstances

func (*ClusterInstanceList) DeepCopy

func (in *ClusterInstanceList) DeepCopy() *ClusterInstanceList

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

func (*ClusterInstanceList) DeepCopyInto

func (in *ClusterInstanceList) DeepCopyInto(out *ClusterInstanceList)

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

func (*ClusterInstanceList) DeepCopyObject

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

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

func (*ClusterInstanceList) GetItems

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

GetItems of this ClusterInstanceList.

type ClusterInstanceObservation

type ClusterInstanceObservation struct {

	// Specifies whether any database modifications
	// are applied immediately, or during the next maintenance window. Default isfalse.
	ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`

	// Amazon Resource Name (ARN) of cluster instance
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set (see docs). Default true.
	AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty" tf:"auto_minor_version_upgrade,omitempty"`

	// The EC2 Availability Zone that the DB instance is created in. See docs about the details.
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The identifier of the CA certificate for the DB instance.
	CACertIdentifier *string `json:"caCertIdentifier,omitempty" tf:"ca_cert_identifier,omitempty"`

	// The identifier of the aws_docdb_cluster in which to launch this instance.
	ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"`

	// The DB subnet group to associate with this DB instance.
	DBSubnetGroupName *string `json:"dbSubnetGroupName,omitempty" tf:"db_subnet_group_name,omitempty"`

	// The region-unique, immutable identifier for the DB instance.
	DbiResourceID *string `json:"dbiResourceId,omitempty" tf:"dbi_resource_id,omitempty"`

	// A value that indicates whether to enable Performance Insights for the DB Instance. Default false. See [docs] (https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html) about the details.
	EnablePerformanceInsights *bool `json:"enablePerformanceInsights,omitempty" tf:"enable_performance_insights,omitempty"`

	// The DNS address for this instance. May not be writable
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// The name of the database engine to be used for the DocumentDB instance. Defaults to docdb. Valid Values: docdb.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The database engine version
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

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

	// The instance class to use. For details on CPU and memory, see Scaling for DocumentDB Instances.
	// DocumentDB currently supports the below instance classes.
	// Please see AWS Documentation for complete details.
	InstanceClass *string `json:"instanceClass,omitempty" tf:"instance_class,omitempty"`

	// The ARN for the KMS encryption key if one is set to the cluster.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key.
	PerformanceInsightsKMSKeyID *string `json:"performanceInsightsKmsKeyId,omitempty" tf:"performance_insights_kms_key_id,omitempty"`

	// The database port
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The daily time range during which automated backups are created if automated backups are enabled.
	PreferredBackupWindow *string `json:"preferredBackupWindow,omitempty" tf:"preferred_backup_window,omitempty"`

	// The window to perform maintenance in.
	// Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
	PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"`

	// Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoter to writer.
	PromotionTier *float64 `json:"promotionTier,omitempty" tf:"promotion_tier,omitempty"`

	PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"`

	// Specifies whether the DB cluster is encrypted.
	StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"`

	// A map of tags to assign to the instance. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// – Boolean indicating if this instance is writable. False indicates this instance is a read replica.
	Writer *bool `json:"writer,omitempty" tf:"writer,omitempty"`
}

func (*ClusterInstanceObservation) DeepCopy

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

func (*ClusterInstanceObservation) DeepCopyInto

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

type ClusterInstanceParameters

type ClusterInstanceParameters struct {

	// Specifies whether any database modifications
	// are applied immediately, or during the next maintenance window. Default isfalse.
	// +kubebuilder:validation:Optional
	ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`

	// This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set (see docs). Default true.
	// +kubebuilder:validation:Optional
	AutoMinorVersionUpgrade *bool `json:"autoMinorVersionUpgrade,omitempty" tf:"auto_minor_version_upgrade,omitempty"`

	// The EC2 Availability Zone that the DB instance is created in. See docs about the details.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// The identifier of the CA certificate for the DB instance.
	// +kubebuilder:validation:Optional
	CACertIdentifier *string `json:"caCertIdentifier,omitempty" tf:"ca_cert_identifier,omitempty"`

	// The identifier of the aws_docdb_cluster in which to launch this instance.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterIdentifier *string `json:"clusterIdentifier,omitempty" tf:"cluster_identifier,omitempty"`

	// Reference to a Cluster to populate clusterIdentifier.
	// +kubebuilder:validation:Optional
	ClusterIdentifierRef *v1.Reference `json:"clusterIdentifierRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterIdentifier.
	// +kubebuilder:validation:Optional
	ClusterIdentifierSelector *v1.Selector `json:"clusterIdentifierSelector,omitempty" tf:"-"`

	// A value that indicates whether to enable Performance Insights for the DB Instance. Default false. See [docs] (https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html) about the details.
	// +kubebuilder:validation:Optional
	EnablePerformanceInsights *bool `json:"enablePerformanceInsights,omitempty" tf:"enable_performance_insights,omitempty"`

	// The name of the database engine to be used for the DocumentDB instance. Defaults to docdb. Valid Values: docdb.
	// +kubebuilder:validation:Optional
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The instance class to use. For details on CPU and memory, see Scaling for DocumentDB Instances.
	// DocumentDB currently supports the below instance classes.
	// Please see AWS Documentation for complete details.
	// +kubebuilder:validation:Optional
	InstanceClass *string `json:"instanceClass,omitempty" tf:"instance_class,omitempty"`

	// The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your default KMS key.
	// +kubebuilder:validation:Optional
	PerformanceInsightsKMSKeyID *string `json:"performanceInsightsKmsKeyId,omitempty" tf:"performance_insights_kms_key_id,omitempty"`

	// The window to perform maintenance in.
	// Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
	// +kubebuilder:validation:Optional
	PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"`

	// Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoter to writer.
	// +kubebuilder:validation:Optional
	PromotionTier *float64 `json:"promotionTier,omitempty" tf:"promotion_tier,omitempty"`

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

	// A map of tags to assign to the instance. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	// +kubebuilder:validation:Optional
	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.
	// +kubebuilder:validation:Optional
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*ClusterInstanceParameters) DeepCopy

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

func (*ClusterInstanceParameters) DeepCopyInto

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

type ClusterInstanceSpec

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

ClusterInstanceSpec defines the desired state of ClusterInstance

func (*ClusterInstanceSpec) DeepCopy

func (in *ClusterInstanceSpec) DeepCopy() *ClusterInstanceSpec

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

func (*ClusterInstanceSpec) DeepCopyInto

func (in *ClusterInstanceSpec) DeepCopyInto(out *ClusterInstanceSpec)

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

type ClusterInstanceStatus

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

ClusterInstanceStatus defines the observed state of ClusterInstance.

func (*ClusterInstanceStatus) DeepCopy

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

func (*ClusterInstanceStatus) DeepCopyInto

func (in *ClusterInstanceStatus) DeepCopyInto(out *ClusterInstanceStatus)

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 {

	// Specifies whether any cluster modifications
	// are applied immediately, or during the next maintenance window. Default is
	// false.
	ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`

	// Amazon Resource Name (ARN) of cluster
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// A list of EC2 Availability Zones that
	// instances in the DB cluster can be created in.
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// The days to retain backups for. Default 1
	BackupRetentionPeriod *float64 `json:"backupRetentionPeriod,omitempty" tf:"backup_retention_period,omitempty"`

	// – List of DocumentDB Instances that are a part of this cluster
	ClusterMembers []*string `json:"clusterMembers,omitempty" tf:"cluster_members,omitempty"`

	// The DocumentDB Cluster Resource ID
	ClusterResourceID *string `json:"clusterResourceId,omitempty" tf:"cluster_resource_id,omitempty"`

	// A cluster parameter group to associate with the cluster.
	DBClusterParameterGroupName *string `json:"dbClusterParameterGroupName,omitempty" tf:"db_cluster_parameter_group_name,omitempty"`

	// A DB subnet group to associate with this DB instance.
	DBSubnetGroupName *string `json:"dbSubnetGroupName,omitempty" tf:"db_subnet_group_name,omitempty"`

	// A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// List of log types to export to cloudwatch. If omitted, no logs will be exported.
	// The following log types are supported: audit, profiler.
	EnabledCloudwatchLogsExports []*string `json:"enabledCloudwatchLogsExports,omitempty" tf:"enabled_cloudwatch_logs_exports,omitempty"`

	// The DNS address of the DocumentDB instance
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// The name of the database engine to be used for this DB cluster. Defaults to docdb. Valid Values: docdb
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The database engine version. Updating this argument results in an outage.
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// The name of your final DB snapshot
	// when this DB cluster is deleted. If omitted, no final snapshot will be
	// made.
	FinalSnapshotIdentifier *string `json:"finalSnapshotIdentifier,omitempty" tf:"final_snapshot_identifier,omitempty"`

	// The global cluster identifier specified on aws_docdb_global_cluster.
	GlobalClusterIdentifier *string `json:"globalClusterIdentifier,omitempty" tf:"global_cluster_identifier,omitempty"`

	// The Route53 Hosted Zone ID of the endpoint
	HostedZoneID *string `json:"hostedZoneId,omitempty" tf:"hosted_zone_id,omitempty"`

	// The DocumentDB Cluster Identifier
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ARN for the KMS encryption key. When specifying kms_key_id, storage_encrypted needs to be set to true.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Username for the master DB user.
	MasterUsername *string `json:"masterUsername,omitempty" tf:"master_username,omitempty"`

	// The port on which the DB accepts connections
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC
	// Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00
	PreferredBackupWindow *string `json:"preferredBackupWindow,omitempty" tf:"preferred_backup_window,omitempty"`

	// The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30
	PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"`

	// A read-only endpoint for the DocumentDB cluster, automatically load-balanced across replicas
	ReaderEndpoint *string `json:"readerEndpoint,omitempty" tf:"reader_endpoint,omitempty"`

	// Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from final_snapshot_identifier. Default is false.
	SkipFinalSnapshot *bool `json:"skipFinalSnapshot,omitempty" tf:"skip_final_snapshot,omitempty"`

	// Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. Automated snapshots should not be used for this attribute, unless from a different cluster. Automated snapshots are deleted as part of cluster destruction when the resource is replaced.
	SnapshotIdentifier *string `json:"snapshotIdentifier,omitempty" tf:"snapshot_identifier,omitempty"`

	// Specifies whether the DB cluster is encrypted. The default is false.
	StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"`

	// A map of tags to assign to the DB cluster. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// List of VPC security groups to associate
	// with the Cluster
	VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,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 ClusterParameterGroup

type ClusterParameterGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.family)",message="family is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   ClusterParameterGroupSpec   `json:"spec"`
	Status ClusterParameterGroupStatus `json:"status,omitempty"`
}

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

func (*ClusterParameterGroup) DeepCopy

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

func (*ClusterParameterGroup) DeepCopyInto

func (in *ClusterParameterGroup) DeepCopyInto(out *ClusterParameterGroup)

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

func (*ClusterParameterGroup) DeepCopyObject

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

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

func (*ClusterParameterGroup) GetCondition

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

GetCondition of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterParameterGroup

func (*ClusterParameterGroup) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetID

func (tr *ClusterParameterGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterParameterGroup

func (*ClusterParameterGroup) GetManagementPolicy

func (mg *ClusterParameterGroup) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetObservation

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

GetObservation of this ClusterParameterGroup

func (*ClusterParameterGroup) GetParameters

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

GetParameters of this ClusterParameterGroup

func (*ClusterParameterGroup) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetProviderReference

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

GetProviderReference of this ClusterParameterGroup. Deprecated: Use GetProviderConfigReference.

func (*ClusterParameterGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetTerraformResourceType

func (mg *ClusterParameterGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterParameterGroup

func (*ClusterParameterGroup) GetTerraformSchemaVersion

func (tr *ClusterParameterGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterParameterGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterParameterGroup.

func (*ClusterParameterGroup) LateInitialize

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

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

func (*ClusterParameterGroup) SetConditions

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

SetConditions of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetManagementPolicy

func (mg *ClusterParameterGroup) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetObservation

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

SetObservation for this ClusterParameterGroup

func (*ClusterParameterGroup) SetParameters

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

SetParameters for this ClusterParameterGroup

func (*ClusterParameterGroup) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetProviderReference

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

SetProviderReference of this ClusterParameterGroup. Deprecated: Use SetProviderConfigReference.

func (*ClusterParameterGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterParameterGroup.

type ClusterParameterGroupList

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

ClusterParameterGroupList contains a list of ClusterParameterGroups

func (*ClusterParameterGroupList) DeepCopy

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

func (*ClusterParameterGroupList) DeepCopyInto

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

func (*ClusterParameterGroupList) DeepCopyObject

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

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

func (*ClusterParameterGroupList) GetItems

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

GetItems of this ClusterParameterGroupList.

type ClusterParameterGroupObservation

type ClusterParameterGroupObservation struct {

	// The ARN of the DocumentDB cluster parameter group.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The description of the DocumentDB cluster parameter group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The family of the DocumentDB cluster parameter group.
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// The DocumentDB cluster parameter group name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources.
	Parameter []ParameterObservation `json:"parameter,omitempty" tf:"parameter,omitempty"`

	// A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*ClusterParameterGroupObservation) DeepCopy

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

func (*ClusterParameterGroupObservation) DeepCopyInto

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

type ClusterParameterGroupParameters

type ClusterParameterGroupParameters struct {

	// The description of the DocumentDB cluster parameter group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The family of the DocumentDB cluster parameter group.
	// +kubebuilder:validation:Optional
	Family *string `json:"family,omitempty" tf:"family,omitempty"`

	// A list of DocumentDB parameters to apply. Setting parameters to system default values may show a difference on imported resources.
	// +kubebuilder:validation:Optional
	Parameter []ParameterParameters `json:"parameter,omitempty" tf:"parameter,omitempty"`

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

	// A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	// +kubebuilder:validation:Optional
	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.
	// +kubebuilder:validation:Optional
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*ClusterParameterGroupParameters) DeepCopy

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

func (*ClusterParameterGroupParameters) DeepCopyInto

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

type ClusterParameterGroupSpec

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

ClusterParameterGroupSpec defines the desired state of ClusterParameterGroup

func (*ClusterParameterGroupSpec) DeepCopy

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

func (*ClusterParameterGroupSpec) DeepCopyInto

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

type ClusterParameterGroupStatus

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

ClusterParameterGroupStatus defines the observed state of ClusterParameterGroup.

func (*ClusterParameterGroupStatus) DeepCopy

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

func (*ClusterParameterGroupStatus) DeepCopyInto

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

type ClusterParameters

type ClusterParameters struct {

	// Specifies whether any cluster modifications
	// are applied immediately, or during the next maintenance window. Default is
	// false.
	// +kubebuilder:validation:Optional
	ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`

	// A list of EC2 Availability Zones that
	// instances in the DB cluster can be created in.
	// +kubebuilder:validation:Optional
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// The days to retain backups for. Default 1
	// +kubebuilder:validation:Optional
	BackupRetentionPeriod *float64 `json:"backupRetentionPeriod,omitempty" tf:"backup_retention_period,omitempty"`

	// A cluster parameter group to associate with the cluster.
	// +kubebuilder:validation:Optional
	DBClusterParameterGroupName *string `json:"dbClusterParameterGroupName,omitempty" tf:"db_cluster_parameter_group_name,omitempty"`

	// A DB subnet group to associate with this DB instance.
	// +kubebuilder:validation:Optional
	DBSubnetGroupName *string `json:"dbSubnetGroupName,omitempty" tf:"db_subnet_group_name,omitempty"`

	// A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// List of log types to export to cloudwatch. If omitted, no logs will be exported.
	// The following log types are supported: audit, profiler.
	// +kubebuilder:validation:Optional
	EnabledCloudwatchLogsExports []*string `json:"enabledCloudwatchLogsExports,omitempty" tf:"enabled_cloudwatch_logs_exports,omitempty"`

	// The name of the database engine to be used for this DB cluster. Defaults to docdb. Valid Values: docdb
	// +kubebuilder:validation:Optional
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The database engine version. Updating this argument results in an outage.
	// +kubebuilder:validation:Optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// The name of your final DB snapshot
	// when this DB cluster is deleted. If omitted, no final snapshot will be
	// made.
	// +kubebuilder:validation:Optional
	FinalSnapshotIdentifier *string `json:"finalSnapshotIdentifier,omitempty" tf:"final_snapshot_identifier,omitempty"`

	// The global cluster identifier specified on aws_docdb_global_cluster.
	// +kubebuilder:validation:Optional
	GlobalClusterIdentifier *string `json:"globalClusterIdentifier,omitempty" tf:"global_cluster_identifier,omitempty"`

	// The ARN for the KMS encryption key. When specifying kms_key_id, storage_encrypted needs to be set to true.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Password for the master DB user. Note that this may
	// show up in logs, and it will be stored in the state file. Please refer to the DocumentDB Naming Constraints.
	// +kubebuilder:validation:Optional
	MasterPasswordSecretRef *v1.SecretKeySelector `json:"masterPasswordSecretRef,omitempty" tf:"-"`

	// Username for the master DB user.
	// +kubebuilder:validation:Optional
	MasterUsername *string `json:"masterUsername,omitempty" tf:"master_username,omitempty"`

	// The port on which the DB accepts connections
	// +kubebuilder:validation:Optional
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC
	// Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00
	// +kubebuilder:validation:Optional
	PreferredBackupWindow *string `json:"preferredBackupWindow,omitempty" tf:"preferred_backup_window,omitempty"`

	// The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30
	// +kubebuilder:validation:Optional
	PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty" tf:"preferred_maintenance_window,omitempty"`

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

	// Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from final_snapshot_identifier. Default is false.
	// +kubebuilder:validation:Optional
	SkipFinalSnapshot *bool `json:"skipFinalSnapshot,omitempty" tf:"skip_final_snapshot,omitempty"`

	// Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. Automated snapshots should not be used for this attribute, unless from a different cluster. Automated snapshots are deleted as part of cluster destruction when the resource is replaced.
	// +kubebuilder:validation:Optional
	SnapshotIdentifier *string `json:"snapshotIdentifier,omitempty" tf:"snapshot_identifier,omitempty"`

	// Specifies whether the DB cluster is encrypted. The default is false.
	// +kubebuilder:validation:Optional
	StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"`

	// A map of tags to assign to the DB cluster. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	// +kubebuilder:validation:Optional
	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.
	// +kubebuilder:validation:Optional
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// List of VPC security groups to associate
	// with the Cluster
	// +kubebuilder:validation:Optional
	VPCSecurityGroupIds []*string `json:"vpcSecurityGroupIds,omitempty" tf:"vpc_security_group_ids,omitempty"`
}

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 ClusterSnapshot

type ClusterSnapshot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.dbClusterIdentifier)",message="dbClusterIdentifier is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   ClusterSnapshotSpec   `json:"spec"`
	Status ClusterSnapshotStatus `json:"status,omitempty"`
}

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

func (*ClusterSnapshot) DeepCopy

func (in *ClusterSnapshot) DeepCopy() *ClusterSnapshot

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

func (*ClusterSnapshot) DeepCopyInto

func (in *ClusterSnapshot) DeepCopyInto(out *ClusterSnapshot)

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

func (*ClusterSnapshot) DeepCopyObject

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

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

func (*ClusterSnapshot) GetCondition

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

GetCondition of this ClusterSnapshot.

func (*ClusterSnapshot) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterSnapshot

func (*ClusterSnapshot) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterSnapshot.

func (*ClusterSnapshot) GetID

func (tr *ClusterSnapshot) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterSnapshot

func (*ClusterSnapshot) GetManagementPolicy

func (mg *ClusterSnapshot) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ClusterSnapshot.

func (*ClusterSnapshot) GetObservation

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

GetObservation of this ClusterSnapshot

func (*ClusterSnapshot) GetParameters

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

GetParameters of this ClusterSnapshot

func (*ClusterSnapshot) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterSnapshot.

func (*ClusterSnapshot) GetProviderReference

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

GetProviderReference of this ClusterSnapshot. Deprecated: Use GetProviderConfigReference.

func (*ClusterSnapshot) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ClusterSnapshot.

func (*ClusterSnapshot) GetTerraformResourceType

func (mg *ClusterSnapshot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterSnapshot

func (*ClusterSnapshot) GetTerraformSchemaVersion

func (tr *ClusterSnapshot) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterSnapshot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterSnapshot.

func (*ClusterSnapshot) LateInitialize

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

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

func (*ClusterSnapshot) SetConditions

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

SetConditions of this ClusterSnapshot.

func (*ClusterSnapshot) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterSnapshot.

func (*ClusterSnapshot) SetManagementPolicy

func (mg *ClusterSnapshot) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ClusterSnapshot.

func (*ClusterSnapshot) SetObservation

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

SetObservation for this ClusterSnapshot

func (*ClusterSnapshot) SetParameters

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

SetParameters for this ClusterSnapshot

func (*ClusterSnapshot) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterSnapshot.

func (*ClusterSnapshot) SetProviderReference

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

SetProviderReference of this ClusterSnapshot. Deprecated: Use SetProviderConfigReference.

func (*ClusterSnapshot) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ClusterSnapshot.

func (*ClusterSnapshot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterSnapshot.

type ClusterSnapshotList

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

ClusterSnapshotList contains a list of ClusterSnapshots

func (*ClusterSnapshotList) DeepCopy

func (in *ClusterSnapshotList) DeepCopy() *ClusterSnapshotList

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

func (*ClusterSnapshotList) DeepCopyInto

func (in *ClusterSnapshotList) DeepCopyInto(out *ClusterSnapshotList)

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

func (*ClusterSnapshotList) DeepCopyObject

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

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

func (*ClusterSnapshotList) GetItems

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

GetItems of this ClusterSnapshotList.

type ClusterSnapshotObservation

type ClusterSnapshotObservation struct {

	// List of EC2 Availability Zones that instances in the DocumentDB cluster snapshot can be restored in.
	AvailabilityZones []*string `json:"availabilityZones,omitempty" tf:"availability_zones,omitempty"`

	// The DocumentDB Cluster Identifier from which to take the snapshot.
	DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"`

	// The Amazon Resource Name (ARN) for the DocumentDB Cluster Snapshot.
	DBClusterSnapshotArn *string `json:"dbClusterSnapshotArn,omitempty" tf:"db_cluster_snapshot_arn,omitempty"`

	// Specifies the name of the database engine.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// Version of the database engine for this DocumentDB cluster snapshot.
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

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

	// If storage_encrypted is true, the AWS KMS key identifier for the encrypted DocumentDB cluster snapshot.
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Port that the DocumentDB cluster was listening on at the time of the snapshot.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	SnapshotType *string `json:"snapshotType,omitempty" tf:"snapshot_type,omitempty"`

	// The Amazon Resource Name (ARN) for the DocumentDB Cluster Snapshot.
	SourceDBClusterSnapshotArn *string `json:"sourceDbClusterSnapshotArn,omitempty" tf:"source_db_cluster_snapshot_arn,omitempty"`

	// The status of this DocumentDB Cluster Snapshot.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Specifies whether the DocumentDB cluster snapshot is encrypted.
	StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"`

	// The VPC ID associated with the DocumentDB cluster snapshot.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*ClusterSnapshotObservation) DeepCopy

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

func (*ClusterSnapshotObservation) DeepCopyInto

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

type ClusterSnapshotParameters

type ClusterSnapshotParameters struct {

	// The DocumentDB Cluster Identifier from which to take the snapshot.
	// +kubebuilder:validation:Optional
	DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"`

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

func (*ClusterSnapshotParameters) DeepCopy

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

func (*ClusterSnapshotParameters) DeepCopyInto

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

type ClusterSnapshotSpec

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

ClusterSnapshotSpec defines the desired state of ClusterSnapshot

func (*ClusterSnapshotSpec) DeepCopy

func (in *ClusterSnapshotSpec) DeepCopy() *ClusterSnapshotSpec

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

func (*ClusterSnapshotSpec) DeepCopyInto

func (in *ClusterSnapshotSpec) DeepCopyInto(out *ClusterSnapshotSpec)

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

type ClusterSnapshotStatus

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

ClusterSnapshotStatus defines the observed state of ClusterSnapshot.

func (*ClusterSnapshotStatus) DeepCopy

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

func (*ClusterSnapshotStatus) DeepCopyInto

func (in *ClusterSnapshotStatus) DeepCopyInto(out *ClusterSnapshotStatus)

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"`
}

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 EventSubscription

type EventSubscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.snsTopicArn)",message="snsTopicArn is a required parameter"
	Spec   EventSubscriptionSpec   `json:"spec"`
	Status EventSubscriptionStatus `json:"status,omitempty"`
}

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

func (*EventSubscription) DeepCopy

func (in *EventSubscription) DeepCopy() *EventSubscription

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

func (*EventSubscription) DeepCopyInto

func (in *EventSubscription) DeepCopyInto(out *EventSubscription)

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

func (*EventSubscription) DeepCopyObject

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

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

func (*EventSubscription) GetCondition

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

GetCondition of this EventSubscription.

func (*EventSubscription) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EventSubscription

func (*EventSubscription) GetDeletionPolicy

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

GetDeletionPolicy of this EventSubscription.

func (*EventSubscription) GetID

func (tr *EventSubscription) GetID() string

GetID returns ID of underlying Terraform resource of this EventSubscription

func (*EventSubscription) GetManagementPolicy

func (mg *EventSubscription) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this EventSubscription.

func (*EventSubscription) GetObservation

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

GetObservation of this EventSubscription

func (*EventSubscription) GetParameters

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

GetParameters of this EventSubscription

func (*EventSubscription) GetProviderConfigReference

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

GetProviderConfigReference of this EventSubscription.

func (*EventSubscription) GetProviderReference

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

GetProviderReference of this EventSubscription. Deprecated: Use GetProviderConfigReference.

func (*EventSubscription) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EventSubscription.

func (*EventSubscription) GetTerraformResourceType

func (mg *EventSubscription) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EventSubscription

func (*EventSubscription) GetTerraformSchemaVersion

func (tr *EventSubscription) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EventSubscription) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EventSubscription.

func (*EventSubscription) LateInitialize

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

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

func (*EventSubscription) SetConditions

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

SetConditions of this EventSubscription.

func (*EventSubscription) SetDeletionPolicy

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

SetDeletionPolicy of this EventSubscription.

func (*EventSubscription) SetManagementPolicy

func (mg *EventSubscription) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this EventSubscription.

func (*EventSubscription) SetObservation

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

SetObservation for this EventSubscription

func (*EventSubscription) SetParameters

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

SetParameters for this EventSubscription

func (*EventSubscription) SetProviderConfigReference

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

SetProviderConfigReference of this EventSubscription.

func (*EventSubscription) SetProviderReference

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

SetProviderReference of this EventSubscription. Deprecated: Use SetProviderConfigReference.

func (*EventSubscription) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EventSubscription.

func (*EventSubscription) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EventSubscription.

type EventSubscriptionList

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

EventSubscriptionList contains a list of EventSubscriptions

func (*EventSubscriptionList) DeepCopy

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

func (*EventSubscriptionList) DeepCopyInto

func (in *EventSubscriptionList) DeepCopyInto(out *EventSubscriptionList)

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

func (*EventSubscriptionList) DeepCopyObject

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

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

func (*EventSubscriptionList) GetItems

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

GetItems of this EventSubscriptionList.

type EventSubscriptionObservation

type EventSubscriptionObservation struct {

	// The Amazon Resource Name of the DocumentDB event notification subscription
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The AWS customer account associated with the DocumentDB event notification subscription
	CustomerAwsID *string `json:"customerAwsId,omitempty" tf:"customer_aws_id,omitempty"`

	// A boolean flag to enable/disable the subscription. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/documentdb/latest/developerguide/API_Event.html or run aws docdb describe-event-categories.
	EventCategories []*string `json:"eventCategories,omitempty" tf:"event_categories,omitempty"`

	// The name of the DocumentDB event notification subscription
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Amazon Resource Name of the DocumentDB event notification subscription
	SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"`

	// A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a source_type must also be specified.
	SourceIds []*string `json:"sourceIds,omitempty" tf:"source_ids,omitempty"`

	// The type of source that will be generating the events. Valid options are db-instance, db-cluster, db-parameter-group, db-security-group, db-cluster-snapshot. If not set, all sources will be subscribed to.
	SourceType *string `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	// A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*EventSubscriptionObservation) DeepCopy

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

func (*EventSubscriptionObservation) DeepCopyInto

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

type EventSubscriptionParameters

type EventSubscriptionParameters struct {

	// A boolean flag to enable/disable the subscription. Defaults to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/documentdb/latest/developerguide/API_Event.html or run aws docdb describe-event-categories.
	// +kubebuilder:validation:Optional
	EventCategories []*string `json:"eventCategories,omitempty" tf:"event_categories,omitempty"`

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

	// The Amazon Resource Name of the DocumentDB event notification subscription
	// +kubebuilder:validation:Optional
	SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"`

	// A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a source_type must also be specified.
	// +kubebuilder:validation:Optional
	SourceIds []*string `json:"sourceIds,omitempty" tf:"source_ids,omitempty"`

	// The type of source that will be generating the events. Valid options are db-instance, db-cluster, db-parameter-group, db-security-group, db-cluster-snapshot. If not set, all sources will be subscribed to.
	// +kubebuilder:validation:Optional
	SourceType *string `json:"sourceType,omitempty" tf:"source_type,omitempty"`

	// A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	// +kubebuilder:validation:Optional
	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.
	// +kubebuilder:validation:Optional
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*EventSubscriptionParameters) DeepCopy

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

func (*EventSubscriptionParameters) DeepCopyInto

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

type EventSubscriptionSpec

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

EventSubscriptionSpec defines the desired state of EventSubscription

func (*EventSubscriptionSpec) DeepCopy

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

func (*EventSubscriptionSpec) DeepCopyInto

func (in *EventSubscriptionSpec) DeepCopyInto(out *EventSubscriptionSpec)

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

type EventSubscriptionStatus

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

EventSubscriptionStatus defines the observed state of EventSubscription.

func (*EventSubscriptionStatus) DeepCopy

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

func (*EventSubscriptionStatus) DeepCopyInto

func (in *EventSubscriptionStatus) DeepCopyInto(out *EventSubscriptionStatus)

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

type GlobalCluster

type GlobalCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.globalClusterIdentifier)",message="globalClusterIdentifier is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   GlobalClusterSpec   `json:"spec"`
	Status GlobalClusterStatus `json:"status,omitempty"`
}

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

func (*GlobalCluster) DeepCopy

func (in *GlobalCluster) DeepCopy() *GlobalCluster

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

func (*GlobalCluster) DeepCopyInto

func (in *GlobalCluster) DeepCopyInto(out *GlobalCluster)

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

func (*GlobalCluster) DeepCopyObject

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

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

func (*GlobalCluster) GetCondition

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

GetCondition of this GlobalCluster.

func (*GlobalCluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GlobalCluster

func (*GlobalCluster) GetDeletionPolicy

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

GetDeletionPolicy of this GlobalCluster.

func (*GlobalCluster) GetID

func (tr *GlobalCluster) GetID() string

GetID returns ID of underlying Terraform resource of this GlobalCluster

func (*GlobalCluster) GetManagementPolicy

func (mg *GlobalCluster) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this GlobalCluster.

func (*GlobalCluster) GetObservation

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

GetObservation of this GlobalCluster

func (*GlobalCluster) GetParameters

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

GetParameters of this GlobalCluster

func (*GlobalCluster) GetProviderConfigReference

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

GetProviderConfigReference of this GlobalCluster.

func (*GlobalCluster) GetProviderReference

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

GetProviderReference of this GlobalCluster. Deprecated: Use GetProviderConfigReference.

func (*GlobalCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GlobalCluster.

func (*GlobalCluster) GetTerraformResourceType

func (mg *GlobalCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GlobalCluster

func (*GlobalCluster) GetTerraformSchemaVersion

func (tr *GlobalCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GlobalCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GlobalCluster.

func (*GlobalCluster) LateInitialize

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

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

func (*GlobalCluster) SetConditions

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

SetConditions of this GlobalCluster.

func (*GlobalCluster) SetDeletionPolicy

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

SetDeletionPolicy of this GlobalCluster.

func (*GlobalCluster) SetManagementPolicy

func (mg *GlobalCluster) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this GlobalCluster.

func (*GlobalCluster) SetObservation

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

SetObservation for this GlobalCluster

func (*GlobalCluster) SetParameters

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

SetParameters for this GlobalCluster

func (*GlobalCluster) SetProviderConfigReference

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

SetProviderConfigReference of this GlobalCluster.

func (*GlobalCluster) SetProviderReference

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

SetProviderReference of this GlobalCluster. Deprecated: Use SetProviderConfigReference.

func (*GlobalCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GlobalCluster.

func (*GlobalCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GlobalCluster.

type GlobalClusterList

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

GlobalClusterList contains a list of GlobalClusters

func (*GlobalClusterList) DeepCopy

func (in *GlobalClusterList) DeepCopy() *GlobalClusterList

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

func (*GlobalClusterList) DeepCopyInto

func (in *GlobalClusterList) DeepCopyInto(out *GlobalClusterList)

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

func (*GlobalClusterList) DeepCopyObject

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

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

func (*GlobalClusterList) GetItems

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

GetItems of this GlobalClusterList.

type GlobalClusterMembersObservation

type GlobalClusterMembersObservation struct {

	// Amazon Resource Name (ARN) of member DB Cluster.
	DBClusterArn *string `json:"dbClusterArn,omitempty" tf:"db_cluster_arn,omitempty"`

	// Whether the member is the primary DB Cluster.
	IsWriter *bool `json:"isWriter,omitempty" tf:"is_writer,omitempty"`
}

func (*GlobalClusterMembersObservation) DeepCopy

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

func (*GlobalClusterMembersObservation) DeepCopyInto

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

type GlobalClusterMembersParameters

type GlobalClusterMembersParameters struct {
}

func (*GlobalClusterMembersParameters) DeepCopy

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

func (*GlobalClusterMembersParameters) DeepCopyInto

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

type GlobalClusterObservation

type GlobalClusterObservation struct {

	// Global Cluster Amazon Resource Name (ARN)
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Name for an automatically created database on cluster creation.
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`

	// If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to true. The default is false.
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Name of the database engine to be used for this DB cluster. Current Valid values: docdb. Defaults to docdb. Conflicts with source_db_cluster_identifier.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// Engine version of the global database. Upgrading the engine version will result in all cluster members being immediately updated and will.
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// The global cluster identifier.
	GlobalClusterIdentifier *string `json:"globalClusterIdentifier,omitempty" tf:"global_cluster_identifier,omitempty"`

	// Set of objects containing Global Cluster members.
	GlobalClusterMembers []GlobalClusterMembersObservation `json:"globalClusterMembers,omitempty" tf:"global_cluster_members,omitempty"`

	// AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed.
	GlobalClusterResourceID *string `json:"globalClusterResourceId,omitempty" tf:"global_cluster_resource_id,omitempty"`

	// DocumentDB Global Cluster ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation.
	SourceDBClusterIdentifier *string `json:"sourceDbClusterIdentifier,omitempty" tf:"source_db_cluster_identifier,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified and encrypted.
	StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"`
}

func (*GlobalClusterObservation) DeepCopy

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

func (*GlobalClusterObservation) DeepCopyInto

func (in *GlobalClusterObservation) DeepCopyInto(out *GlobalClusterObservation)

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

type GlobalClusterParameters

type GlobalClusterParameters struct {

	// Name for an automatically created database on cluster creation.
	// +kubebuilder:validation:Optional
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`

	// If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to true. The default is false.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Name of the database engine to be used for this DB cluster. Current Valid values: docdb. Defaults to docdb. Conflicts with source_db_cluster_identifier.
	// +kubebuilder:validation:Optional
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// Engine version of the global database. Upgrading the engine version will result in all cluster members being immediately updated and will.
	// +kubebuilder:validation:Optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`

	// The global cluster identifier.
	// +kubebuilder:validation:Optional
	GlobalClusterIdentifier *string `json:"globalClusterIdentifier,omitempty" tf:"global_cluster_identifier,omitempty"`

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

	// Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation.
	// +kubebuilder:validation:Optional
	SourceDBClusterIdentifier *string `json:"sourceDbClusterIdentifier,omitempty" tf:"source_db_cluster_identifier,omitempty"`

	// Specifies whether the DB cluster is encrypted. The default is false unless source_db_cluster_identifier is specified and encrypted.
	// +kubebuilder:validation:Optional
	StorageEncrypted *bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"`
}

func (*GlobalClusterParameters) DeepCopy

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

func (*GlobalClusterParameters) DeepCopyInto

func (in *GlobalClusterParameters) DeepCopyInto(out *GlobalClusterParameters)

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

type GlobalClusterSpec

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

GlobalClusterSpec defines the desired state of GlobalCluster

func (*GlobalClusterSpec) DeepCopy

func (in *GlobalClusterSpec) DeepCopy() *GlobalClusterSpec

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

func (*GlobalClusterSpec) DeepCopyInto

func (in *GlobalClusterSpec) DeepCopyInto(out *GlobalClusterSpec)

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

type GlobalClusterStatus

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

GlobalClusterStatus defines the observed state of GlobalCluster.

func (*GlobalClusterStatus) DeepCopy

func (in *GlobalClusterStatus) DeepCopy() *GlobalClusterStatus

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

func (*GlobalClusterStatus) DeepCopyInto

func (in *GlobalClusterStatus) DeepCopyInto(out *GlobalClusterStatus)

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

type ParameterObservation

type ParameterObservation struct {

	// Valid values are immediate and pending-reboot. Defaults to pending-reboot.
	ApplyMethod *string `json:"applyMethod,omitempty" tf:"apply_method,omitempty"`

	// The name of the DocumentDB cluster parameter group.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the DocumentDB parameter.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ParameterObservation) DeepCopy

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

func (*ParameterObservation) DeepCopyInto

func (in *ParameterObservation) DeepCopyInto(out *ParameterObservation)

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

type ParameterParameters

type ParameterParameters struct {

	// Valid values are immediate and pending-reboot. Defaults to pending-reboot.
	// +kubebuilder:validation:Optional
	ApplyMethod *string `json:"applyMethod,omitempty" tf:"apply_method,omitempty"`

	// The name of the DocumentDB cluster parameter group.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The value of the DocumentDB parameter.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*ParameterParameters) DeepCopy

func (in *ParameterParameters) DeepCopy() *ParameterParameters

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

func (*ParameterParameters) DeepCopyInto

func (in *ParameterParameters) DeepCopyInto(out *ParameterParameters)

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

type SubnetGroup

type SubnetGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   SubnetGroupSpec   `json:"spec"`
	Status SubnetGroupStatus `json:"status,omitempty"`
}

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

func (*SubnetGroup) DeepCopy

func (in *SubnetGroup) DeepCopy() *SubnetGroup

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

func (*SubnetGroup) DeepCopyInto

func (in *SubnetGroup) DeepCopyInto(out *SubnetGroup)

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

func (*SubnetGroup) DeepCopyObject

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

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

func (*SubnetGroup) GetCondition

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

GetCondition of this SubnetGroup.

func (*SubnetGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SubnetGroup

func (*SubnetGroup) GetDeletionPolicy

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

GetDeletionPolicy of this SubnetGroup.

func (*SubnetGroup) GetID

func (tr *SubnetGroup) GetID() string

GetID returns ID of underlying Terraform resource of this SubnetGroup

func (*SubnetGroup) GetManagementPolicy

func (mg *SubnetGroup) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this SubnetGroup.

func (*SubnetGroup) GetObservation

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

GetObservation of this SubnetGroup

func (*SubnetGroup) GetParameters

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

GetParameters of this SubnetGroup

func (*SubnetGroup) GetProviderConfigReference

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

GetProviderConfigReference of this SubnetGroup.

func (*SubnetGroup) GetProviderReference

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

GetProviderReference of this SubnetGroup. Deprecated: Use GetProviderConfigReference.

func (*SubnetGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SubnetGroup.

func (*SubnetGroup) GetTerraformResourceType

func (mg *SubnetGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SubnetGroup

func (*SubnetGroup) GetTerraformSchemaVersion

func (tr *SubnetGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SubnetGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SubnetGroup.

func (*SubnetGroup) LateInitialize

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

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

func (*SubnetGroup) ResolveReferences

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

ResolveReferences of this SubnetGroup.

func (*SubnetGroup) SetConditions

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

SetConditions of this SubnetGroup.

func (*SubnetGroup) SetDeletionPolicy

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

SetDeletionPolicy of this SubnetGroup.

func (*SubnetGroup) SetManagementPolicy

func (mg *SubnetGroup) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this SubnetGroup.

func (*SubnetGroup) SetObservation

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

SetObservation for this SubnetGroup

func (*SubnetGroup) SetParameters

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

SetParameters for this SubnetGroup

func (*SubnetGroup) SetProviderConfigReference

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

SetProviderConfigReference of this SubnetGroup.

func (*SubnetGroup) SetProviderReference

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

SetProviderReference of this SubnetGroup. Deprecated: Use SetProviderConfigReference.

func (*SubnetGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SubnetGroup.

func (*SubnetGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SubnetGroup.

type SubnetGroupList

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

SubnetGroupList contains a list of SubnetGroups

func (*SubnetGroupList) DeepCopy

func (in *SubnetGroupList) DeepCopy() *SubnetGroupList

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

func (*SubnetGroupList) DeepCopyInto

func (in *SubnetGroupList) DeepCopyInto(out *SubnetGroupList)

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

func (*SubnetGroupList) DeepCopyObject

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

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

func (*SubnetGroupList) GetItems

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

GetItems of this SubnetGroupList.

type SubnetGroupObservation

type SubnetGroupObservation struct {

	// The ARN of the docDB subnet group.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The description of the docDB subnet group.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The docDB subnet group name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A list of VPC subnet IDs.
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	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.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*SubnetGroupObservation) DeepCopy

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

func (*SubnetGroupObservation) DeepCopyInto

func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation)

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

type SubnetGroupParameters

type SubnetGroupParameters struct {

	// The description of the docDB subnet group.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// A list of VPC subnet IDs.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

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

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

	// A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	// +kubebuilder:validation:Optional
	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.
	// +kubebuilder:validation:Optional
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*SubnetGroupParameters) DeepCopy

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

func (*SubnetGroupParameters) DeepCopyInto

func (in *SubnetGroupParameters) DeepCopyInto(out *SubnetGroupParameters)

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

type SubnetGroupSpec

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

SubnetGroupSpec defines the desired state of SubnetGroup

func (*SubnetGroupSpec) DeepCopy

func (in *SubnetGroupSpec) DeepCopy() *SubnetGroupSpec

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

func (*SubnetGroupSpec) DeepCopyInto

func (in *SubnetGroupSpec) DeepCopyInto(out *SubnetGroupSpec)

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

type SubnetGroupStatus

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

SubnetGroupStatus defines the observed state of SubnetGroup.

func (*SubnetGroupStatus) DeepCopy

func (in *SubnetGroupStatus) DeepCopy() *SubnetGroupStatus

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

func (*SubnetGroupStatus) DeepCopyInto

func (in *SubnetGroupStatus) DeepCopyInto(out *SubnetGroupStatus)

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