v1beta1

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

Repository type metadata.

View Source
var (
	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"`
	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) GetInitParameters added in v0.38.0

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

GetInitParameters of this Cluster

func (*Cluster) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Cluster.

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

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

ResolveReferences of this Cluster.

func (*Cluster) SetConditions

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

SetConditions of this Cluster.

func (*Cluster) SetDeletionPolicy

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

SetDeletionPolicy of this Cluster.

func (*Cluster) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Cluster.

func (*Cluster) SetObservation

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

SetObservation for this Cluster

func (*Cluster) SetParameters

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

SetParameters for this Cluster

func (*Cluster) SetProviderConfigReference

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

SetProviderConfigReference of this Cluster.

func (*Cluster) 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 ClusterInitParameters added in v0.38.0

type ClusterInitParameters 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"`

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

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

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

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

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

func (*ClusterInitParameters) DeepCopy added in v0.38.0

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

func (*ClusterInitParameters) DeepCopyInto added in v0.38.0

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

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

type ClusterInstance

type ClusterInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || has(self.initProvider.instanceClass)",message="instanceClass 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) GetInitParameters added in v0.38.0

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

GetInitParameters of this ClusterInstance

func (*ClusterInstance) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies 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) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies 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 ClusterInstanceInitParameters added in v0.38.0

type ClusterInstanceInitParameters 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"`

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

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

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

func (*ClusterInstanceInitParameters) DeepCopy added in v0.38.0

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

func (*ClusterInstanceInitParameters) DeepCopyInto added in v0.38.0

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

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

	// Key-value map of resource tags.
	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:Required
	Region *string `json:"region" tf:"-"`

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

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"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterInstanceInitParameters `json:"initProvider,omitempty"`
}

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

	// Key-value map of resource tags.
	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 added in v0.22.0

type ClusterParameterGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family 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 added in v0.22.0

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

func (*ClusterParameterGroup) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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

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

func (*ClusterParameterGroup) GetCondition added in v0.22.0

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

GetCondition of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetConnectionDetailsMapping added in v0.22.0

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

GetConnectionDetailsMapping for this ClusterParameterGroup

func (*ClusterParameterGroup) GetDeletionPolicy added in v0.22.0

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

GetDeletionPolicy of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetID added in v0.22.0

func (tr *ClusterParameterGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterParameterGroup

func (*ClusterParameterGroup) GetInitParameters added in v0.38.0

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

GetInitParameters of this ClusterParameterGroup

func (*ClusterParameterGroup) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetObservation added in v0.22.0

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

GetObservation of this ClusterParameterGroup

func (*ClusterParameterGroup) GetParameters added in v0.22.0

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

GetParameters of this ClusterParameterGroup

func (*ClusterParameterGroup) GetProviderConfigReference added in v0.22.0

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

GetProviderConfigReference of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetProviderReference added in v0.22.0

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

GetProviderReference of this ClusterParameterGroup. Deprecated: Use GetProviderConfigReference.

func (*ClusterParameterGroup) GetPublishConnectionDetailsTo added in v0.22.0

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

GetPublishConnectionDetailsTo of this ClusterParameterGroup.

func (*ClusterParameterGroup) GetTerraformResourceType added in v0.22.0

func (mg *ClusterParameterGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterParameterGroup

func (*ClusterParameterGroup) GetTerraformSchemaVersion added in v0.22.0

func (tr *ClusterParameterGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterParameterGroup) GetWriteConnectionSecretToReference added in v0.22.0

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

GetWriteConnectionSecretToReference of this ClusterParameterGroup.

func (*ClusterParameterGroup) LateInitialize added in v0.22.0

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 added in v0.22.0

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

SetConditions of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetDeletionPolicy added in v0.22.0

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

SetDeletionPolicy of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetObservation added in v0.22.0

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

SetObservation for this ClusterParameterGroup

func (*ClusterParameterGroup) SetParameters added in v0.22.0

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

SetParameters for this ClusterParameterGroup

func (*ClusterParameterGroup) SetProviderConfigReference added in v0.22.0

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

SetProviderConfigReference of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetProviderReference added in v0.22.0

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

SetProviderReference of this ClusterParameterGroup. Deprecated: Use SetProviderConfigReference.

func (*ClusterParameterGroup) SetPublishConnectionDetailsTo added in v0.22.0

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

SetPublishConnectionDetailsTo of this ClusterParameterGroup.

func (*ClusterParameterGroup) SetWriteConnectionSecretToReference added in v0.22.0

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

SetWriteConnectionSecretToReference of this ClusterParameterGroup.

type ClusterParameterGroupInitParameters added in v0.38.0

type ClusterParameterGroupInitParameters struct {

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

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

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

func (*ClusterParameterGroupInitParameters) DeepCopy added in v0.38.0

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

func (*ClusterParameterGroupInitParameters) DeepCopyInto added in v0.38.0

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

type ClusterParameterGroupList added in v0.22.0

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 added in v0.22.0

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

func (*ClusterParameterGroupList) DeepCopyInto added in v0.22.0

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

func (*ClusterParameterGroupList) DeepCopyObject added in v0.22.0

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

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

func (*ClusterParameterGroupList) GetItems added in v0.22.0

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

GetItems of this ClusterParameterGroupList.

type ClusterParameterGroupObservation added in v0.22.0

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

	// Key-value map of resource tags.
	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 added in v0.22.0

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

func (*ClusterParameterGroupObservation) DeepCopyInto added in v0.22.0

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

type ClusterParameterGroupParameters added in v0.22.0

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:Required
	Region *string `json:"region" tf:"-"`

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

func (*ClusterParameterGroupParameters) DeepCopy added in v0.22.0

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

func (*ClusterParameterGroupParameters) DeepCopyInto added in v0.22.0

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

type ClusterParameterGroupSpec added in v0.22.0

type ClusterParameterGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterParameterGroupParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterParameterGroupInitParameters `json:"initProvider,omitempty"`
}

ClusterParameterGroupSpec defines the desired state of ClusterParameterGroup

func (*ClusterParameterGroupSpec) DeepCopy added in v0.22.0

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

func (*ClusterParameterGroupSpec) DeepCopyInto added in v0.22.0

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

type ClusterParameterGroupStatus added in v0.22.0

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

ClusterParameterGroupStatus defines the observed state of ClusterParameterGroup.

func (*ClusterParameterGroupStatus) DeepCopy added in v0.22.0

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

func (*ClusterParameterGroupStatus) DeepCopyInto added in v0.22.0

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.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

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

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

	// 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:Required
	Region *string `json:"region" 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.
	// +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"`

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

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

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

	// List of VPC security groups to associate
	// with the Cluster
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=VPCSecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=VPCSecurityGroupIDSelector
	// +kubebuilder:validation:Optional
	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 added in v0.22.0

type ClusterSnapshot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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 added in v0.22.0

func (in *ClusterSnapshot) DeepCopy() *ClusterSnapshot

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

func (*ClusterSnapshot) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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

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

func (*ClusterSnapshot) GetCondition added in v0.22.0

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

GetCondition of this ClusterSnapshot.

func (*ClusterSnapshot) GetConnectionDetailsMapping added in v0.22.0

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

GetConnectionDetailsMapping for this ClusterSnapshot

func (*ClusterSnapshot) GetDeletionPolicy added in v0.22.0

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

GetDeletionPolicy of this ClusterSnapshot.

func (*ClusterSnapshot) GetID added in v0.22.0

func (tr *ClusterSnapshot) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterSnapshot

func (*ClusterSnapshot) GetInitParameters added in v0.38.0

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

GetInitParameters of this ClusterSnapshot

func (*ClusterSnapshot) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this ClusterSnapshot.

func (*ClusterSnapshot) GetObservation added in v0.22.0

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

GetObservation of this ClusterSnapshot

func (*ClusterSnapshot) GetParameters added in v0.22.0

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

GetParameters of this ClusterSnapshot

func (*ClusterSnapshot) GetProviderConfigReference added in v0.22.0

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

GetProviderConfigReference of this ClusterSnapshot.

func (*ClusterSnapshot) GetProviderReference added in v0.22.0

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

GetProviderReference of this ClusterSnapshot. Deprecated: Use GetProviderConfigReference.

func (*ClusterSnapshot) GetPublishConnectionDetailsTo added in v0.22.0

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

GetPublishConnectionDetailsTo of this ClusterSnapshot.

func (*ClusterSnapshot) GetTerraformResourceType added in v0.22.0

func (mg *ClusterSnapshot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterSnapshot

func (*ClusterSnapshot) GetTerraformSchemaVersion added in v0.22.0

func (tr *ClusterSnapshot) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterSnapshot) GetWriteConnectionSecretToReference added in v0.22.0

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

GetWriteConnectionSecretToReference of this ClusterSnapshot.

func (*ClusterSnapshot) LateInitialize added in v0.22.0

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) ResolveReferences added in v0.22.0

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

ResolveReferences of this ClusterSnapshot.

func (*ClusterSnapshot) SetConditions added in v0.22.0

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

SetConditions of this ClusterSnapshot.

func (*ClusterSnapshot) SetDeletionPolicy added in v0.22.0

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

SetDeletionPolicy of this ClusterSnapshot.

func (*ClusterSnapshot) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this ClusterSnapshot.

func (*ClusterSnapshot) SetObservation added in v0.22.0

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

SetObservation for this ClusterSnapshot

func (*ClusterSnapshot) SetParameters added in v0.22.0

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

SetParameters for this ClusterSnapshot

func (*ClusterSnapshot) SetProviderConfigReference added in v0.22.0

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

SetProviderConfigReference of this ClusterSnapshot.

func (*ClusterSnapshot) SetProviderReference added in v0.22.0

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

SetProviderReference of this ClusterSnapshot. Deprecated: Use SetProviderConfigReference.

func (*ClusterSnapshot) SetPublishConnectionDetailsTo added in v0.22.0

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

SetPublishConnectionDetailsTo of this ClusterSnapshot.

func (*ClusterSnapshot) SetWriteConnectionSecretToReference added in v0.22.0

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

SetWriteConnectionSecretToReference of this ClusterSnapshot.

type ClusterSnapshotInitParameters added in v0.38.0

type ClusterSnapshotInitParameters struct {
}

func (*ClusterSnapshotInitParameters) DeepCopy added in v0.38.0

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

func (*ClusterSnapshotInitParameters) DeepCopyInto added in v0.38.0

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

type ClusterSnapshotList added in v0.22.0

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 added in v0.22.0

func (in *ClusterSnapshotList) DeepCopy() *ClusterSnapshotList

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

func (*ClusterSnapshotList) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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

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

func (*ClusterSnapshotList) GetItems added in v0.22.0

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

GetItems of this ClusterSnapshotList.

type ClusterSnapshotObservation added in v0.22.0

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 added in v0.22.0

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

func (*ClusterSnapshotObservation) DeepCopyInto added in v0.22.0

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

type ClusterSnapshotParameters added in v0.22.0

type ClusterSnapshotParameters struct {

	// The DocumentDB Cluster Identifier from which to take the snapshot.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/docdb/v1beta1.Cluster
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DBClusterIdentifier *string `json:"dbClusterIdentifier,omitempty" tf:"db_cluster_identifier,omitempty"`

	// Reference to a Cluster in docdb to populate dbClusterIdentifier.
	// +kubebuilder:validation:Optional
	DBClusterIdentifierRef *v1.Reference `json:"dbClusterIdentifierRef,omitempty" tf:"-"`

	// Selector for a Cluster in docdb to populate dbClusterIdentifier.
	// +kubebuilder:validation:Optional
	DBClusterIdentifierSelector *v1.Selector `json:"dbClusterIdentifierSelector,omitempty" tf:"-"`

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

func (*ClusterSnapshotParameters) DeepCopy added in v0.22.0

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

func (*ClusterSnapshotParameters) DeepCopyInto added in v0.22.0

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

type ClusterSnapshotSpec added in v0.22.0

type ClusterSnapshotSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterSnapshotParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterSnapshotInitParameters `json:"initProvider,omitempty"`
}

ClusterSnapshotSpec defines the desired state of ClusterSnapshot

func (*ClusterSnapshotSpec) DeepCopy added in v0.22.0

func (in *ClusterSnapshotSpec) DeepCopy() *ClusterSnapshotSpec

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

func (*ClusterSnapshotSpec) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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

ClusterSnapshotStatus defines the observed state of ClusterSnapshot.

func (*ClusterSnapshotStatus) DeepCopy added in v0.22.0

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

func (*ClusterSnapshotStatus) DeepCopyInto added in v0.22.0

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"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterInitParameters `json:"initProvider,omitempty"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

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

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

type ClusterStatus

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

ClusterStatus defines the observed state of Cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

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

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

type EventSubscription added in v0.22.0

type EventSubscription struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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 added in v0.22.0

func (in *EventSubscription) DeepCopy() *EventSubscription

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

func (*EventSubscription) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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

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

func (*EventSubscription) GetCondition added in v0.22.0

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

GetCondition of this EventSubscription.

func (*EventSubscription) GetConnectionDetailsMapping added in v0.22.0

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

GetConnectionDetailsMapping for this EventSubscription

func (*EventSubscription) GetDeletionPolicy added in v0.22.0

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

GetDeletionPolicy of this EventSubscription.

func (*EventSubscription) GetID added in v0.22.0

func (tr *EventSubscription) GetID() string

GetID returns ID of underlying Terraform resource of this EventSubscription

func (*EventSubscription) GetInitParameters added in v0.38.0

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

GetInitParameters of this EventSubscription

func (*EventSubscription) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this EventSubscription.

func (*EventSubscription) GetObservation added in v0.22.0

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

GetObservation of this EventSubscription

func (*EventSubscription) GetParameters added in v0.22.0

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

GetParameters of this EventSubscription

func (*EventSubscription) GetProviderConfigReference added in v0.22.0

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

GetProviderConfigReference of this EventSubscription.

func (*EventSubscription) GetProviderReference added in v0.22.0

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

GetProviderReference of this EventSubscription. Deprecated: Use GetProviderConfigReference.

func (*EventSubscription) GetPublishConnectionDetailsTo added in v0.22.0

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

GetPublishConnectionDetailsTo of this EventSubscription.

func (*EventSubscription) GetTerraformResourceType added in v0.22.0

func (mg *EventSubscription) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EventSubscription

func (*EventSubscription) GetTerraformSchemaVersion added in v0.22.0

func (tr *EventSubscription) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EventSubscription) GetWriteConnectionSecretToReference added in v0.22.0

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

GetWriteConnectionSecretToReference of this EventSubscription.

func (*EventSubscription) LateInitialize added in v0.22.0

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) ResolveReferences added in v0.22.0

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

ResolveReferences of this EventSubscription.

func (*EventSubscription) SetConditions added in v0.22.0

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

SetConditions of this EventSubscription.

func (*EventSubscription) SetDeletionPolicy added in v0.22.0

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

SetDeletionPolicy of this EventSubscription.

func (*EventSubscription) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this EventSubscription.

func (*EventSubscription) SetObservation added in v0.22.0

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

SetObservation for this EventSubscription

func (*EventSubscription) SetParameters added in v0.22.0

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

SetParameters for this EventSubscription

func (*EventSubscription) SetProviderConfigReference added in v0.22.0

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

SetProviderConfigReference of this EventSubscription.

func (*EventSubscription) SetProviderReference added in v0.22.0

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

SetProviderReference of this EventSubscription. Deprecated: Use SetProviderConfigReference.

func (*EventSubscription) SetPublishConnectionDetailsTo added in v0.22.0

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

SetPublishConnectionDetailsTo of this EventSubscription.

func (*EventSubscription) SetWriteConnectionSecretToReference added in v0.22.0

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

SetWriteConnectionSecretToReference of this EventSubscription.

type EventSubscriptionInitParameters added in v0.38.0

type EventSubscriptionInitParameters struct {

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

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

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

func (*EventSubscriptionInitParameters) DeepCopy added in v0.38.0

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

func (*EventSubscriptionInitParameters) DeepCopyInto added in v0.38.0

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

type EventSubscriptionList added in v0.22.0

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 added in v0.22.0

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

func (*EventSubscriptionList) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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

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

func (*EventSubscriptionList) GetItems added in v0.22.0

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

GetItems of this EventSubscriptionList.

type EventSubscriptionObservation added in v0.22.0

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

	// Key-value map of resource tags.
	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 added in v0.22.0

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

func (*EventSubscriptionObservation) DeepCopyInto added in v0.22.0

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

type EventSubscriptionParameters added in v0.22.0

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:Required
	Region *string `json:"region" tf:"-"`

	// The Amazon Resource Name of the DocumentDB event notification subscription
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	SnsTopicArn *string `json:"snsTopicArn,omitempty" tf:"sns_topic_arn,omitempty"`

	// Reference to a Topic in sns to populate snsTopicArn.
	// +kubebuilder:validation:Optional
	SnsTopicArnRef *v1.Reference `json:"snsTopicArnRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate snsTopicArn.
	// +kubebuilder:validation:Optional
	SnsTopicArnSelector *v1.Selector `json:"snsTopicArnSelector,omitempty" tf:"-"`

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

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

func (*EventSubscriptionParameters) DeepCopy added in v0.22.0

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

func (*EventSubscriptionParameters) DeepCopyInto added in v0.22.0

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

type EventSubscriptionSpec added in v0.22.0

type EventSubscriptionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     EventSubscriptionParameters `json:"forProvider"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider EventSubscriptionInitParameters `json:"initProvider,omitempty"`
}

EventSubscriptionSpec defines the desired state of EventSubscription

func (*EventSubscriptionSpec) DeepCopy added in v0.22.0

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

func (*EventSubscriptionSpec) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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

EventSubscriptionStatus defines the observed state of EventSubscription.

func (*EventSubscriptionStatus) DeepCopy added in v0.22.0

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

func (*EventSubscriptionStatus) DeepCopyInto added in v0.22.0

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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.globalClusterIdentifier) || has(self.initProvider.globalClusterIdentifier)",message="globalClusterIdentifier 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) GetInitParameters added in v0.38.0

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

GetInitParameters of this GlobalCluster

func (*GlobalCluster) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies 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) ResolveReferences

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

ResolveReferences of this GlobalCluster.

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) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies 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 GlobalClusterInitParameters added in v0.38.0

type GlobalClusterInitParameters struct {

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

	// 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 (*GlobalClusterInitParameters) DeepCopy added in v0.38.0

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

func (*GlobalClusterInitParameters) DeepCopyInto added in v0.38.0

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

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 GlobalClusterMembersInitParameters added in v0.38.0

type GlobalClusterMembersInitParameters struct {
}

func (*GlobalClusterMembersInitParameters) DeepCopy added in v0.38.0

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

func (*GlobalClusterMembersInitParameters) DeepCopyInto added in v0.38.0

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

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:Required
	Region *string `json:"region" tf:"-"`

	// Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/docdb/v1beta1.Cluster
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	SourceDBClusterIdentifier *string `json:"sourceDbClusterIdentifier,omitempty" tf:"source_db_cluster_identifier,omitempty"`

	// Reference to a Cluster in docdb to populate sourceDbClusterIdentifier.
	// +kubebuilder:validation:Optional
	SourceDBClusterIdentifierRef *v1.Reference `json:"sourceDbClusterIdentifierRef,omitempty" tf:"-"`

	// Selector for a Cluster in docdb to populate sourceDbClusterIdentifier.
	// +kubebuilder:validation:Optional
	SourceDBClusterIdentifierSelector *v1.Selector `json:"sourceDbClusterIdentifierSelector,omitempty" tf:"-"`

	// 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"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider GlobalClusterInitParameters `json:"initProvider,omitempty"`
}

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 ParameterInitParameters added in v0.38.0

type ParameterInitParameters 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 (*ParameterInitParameters) DeepCopy added in v0.38.0

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

func (*ParameterInitParameters) DeepCopyInto added in v0.38.0

func (in *ParameterInitParameters) DeepCopyInto(out *ParameterInitParameters)

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

type ParameterObservation added in v0.22.0

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 added in v0.22.0

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

func (*ParameterObservation) DeepCopyInto added in v0.22.0

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 added in v0.22.0

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:Optional
	Name *string `json:"name" tf:"name,omitempty"`

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

func (*ParameterParameters) DeepCopy added in v0.22.0

func (in *ParameterParameters) DeepCopy() *ParameterParameters

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

func (*ParameterParameters) DeepCopyInto added in v0.22.0

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"`
	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) GetInitParameters added in v0.38.0

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

GetInitParameters of this SubnetGroup

func (*SubnetGroup) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies 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) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies 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 SubnetGroupInitParameters added in v0.38.0

type SubnetGroupInitParameters struct {

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

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

func (*SubnetGroupInitParameters) DeepCopy added in v0.38.0

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

func (*SubnetGroupInitParameters) DeepCopyInto added in v0.38.0

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

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

	// Key-value map of resource tags.
	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:Required
	Region *string `json:"region" 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:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,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"`
	// THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SubnetGroupInitParameters `json:"initProvider,omitempty"`
}

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