v1alpha1

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Overview

Package v1alpha1 contains managed resources for AWS caching services such as ElastiCache. +kubebuilder:object:generate=true +groupName=cache.aws.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	StatusCreating            = "creating"
	StatusAvailable           = "available"
	StatusModifying           = "modifying"
	StatusDeleted             = "deleted"
	StatusDeleting            = "deleting"
	StatusCreateFailed        = "create-failed"
	StatusIncompatibleNetwork = "incompatible-network"
	StatusSnapshotting        = "snapshotting"
	StatusRebooting           = "rebooting cluster nodes"
	StatusRestoreFail         = "restore-failed"
)

CacheCluster states.

View Source
const (
	Group   = "cache.aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	CacheSubnetGroupKind             = reflect.TypeOf(CacheSubnetGroup{}).Name()
	CacheSubnetGroupGroupKind        = schema.GroupKind{Group: Group, Kind: CacheSubnetGroupKind}.String()
	CacheSubnetGroupKindAPIVersion   = CacheSubnetGroupKind + "." + SchemeGroupVersion.String()
	CacheSubnetGroupGroupVersionKind = SchemeGroupVersion.WithKind(CacheSubnetGroupKind)
)

CacheSubnetGroup type metadata.

View Source
var (
	CacheClusterKind             = reflect.TypeOf(CacheCluster{}).Name()
	CacheClusterGroupKind        = schema.GroupKind{Group: Group, Kind: CacheClusterKind}.String()
	CacheClusterKindAPIVersion   = CacheClusterKind + "." + SchemeGroupVersion.String()
	CacheClusterGroupVersionKind = SchemeGroupVersion.WithKind(CacheClusterKind)
)

CacheCluster type metadata.

Functions

This section is empty.

Types

type CacheCluster

type CacheCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CacheClusterSpec   `json:"spec"`
	Status CacheClusterStatus `json:"status,omitempty"`
}

A CacheCluster is a managed resource that represents an AWS ElastiCache Cache Cluster. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.atProvider.cacheClusterStatus" +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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*CacheCluster) DeepCopy

func (in *CacheCluster) DeepCopy() *CacheCluster

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

func (*CacheCluster) DeepCopyInto

func (in *CacheCluster) DeepCopyInto(out *CacheCluster)

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

func (*CacheCluster) DeepCopyObject

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

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

func (*CacheCluster) GetCondition

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

GetCondition of this CacheCluster.

func (*CacheCluster) GetDeletionPolicy

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

GetDeletionPolicy of this CacheCluster.

func (*CacheCluster) GetProviderConfigReference

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

GetProviderConfigReference of this CacheCluster.

func (*CacheCluster) GetProviderReference

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

GetProviderReference of this CacheCluster. Deprecated: Use GetProviderConfigReference.

func (*CacheCluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CacheCluster.

func (*CacheCluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CacheCluster.

func (*CacheCluster) ResolveReferences

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

ResolveReferences of this CacheCluster.

func (*CacheCluster) SetConditions

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

SetConditions of this CacheCluster.

func (*CacheCluster) SetDeletionPolicy

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

SetDeletionPolicy of this CacheCluster.

func (*CacheCluster) SetProviderConfigReference

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

SetProviderConfigReference of this CacheCluster.

func (*CacheCluster) SetProviderReference

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

SetProviderReference of this CacheCluster. Deprecated: Use SetProviderConfigReference.

func (*CacheCluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CacheCluster.

func (*CacheCluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CacheCluster.

type CacheClusterList

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

CacheClusterList contains a list of ReplicationGroup

func (*CacheClusterList) DeepCopy

func (in *CacheClusterList) DeepCopy() *CacheClusterList

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

func (*CacheClusterList) DeepCopyInto

func (in *CacheClusterList) DeepCopyInto(out *CacheClusterList)

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

func (*CacheClusterList) DeepCopyObject

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

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

func (*CacheClusterList) GetItems

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

GetItems of this CacheClusterList.

type CacheClusterObservation

type CacheClusterObservation struct {
	// A flag that enables encryption at-rest when set to true.
	// Default: false
	AtRestEncryptionEnabled bool `json:"atRestEncryptionEnabled,omitempty"`

	// A flag that enables using an AuthToken (password) when issuing Redis commands.
	// Default: false
	AuthTokenEnabled bool `json:"authTokenEnabled,omitempty"`

	// The current state of this cluster.
	CacheClusterStatus string `json:"cacheClusterStatus,omitempty"`

	// A list of cache nodes that are members of the cluster.
	CacheNodes []CacheNode `json:"cacheNodes,omitempty"`

	// Status of the cache parameter group.
	CacheParameterGroup CacheParameterGroupStatus `json:"cacheParameterGroup,omitempty"`

	// The URL of the web page where you can download the latest ElastiCache client
	// library.
	ClientDownloadLandingPage string `json:"clientDownloadLandingPage,omitempty"`

	// Represents a Memcached cluster endpoint which, if Automatic Discovery is
	// enabled on the cluster, can be used by an application to connect to any node
	// in the cluster. The configuration endpoint will always have .cfg in it.
	ConfigurationEndpoint Endpoint `json:"configurationEndpoint,omitempty"`

	// Describes a notification topic and its status. Notification topics are used
	// for publishing ElastiCache events to subscribers using Amazon Simple Notification
	// Service (SNS).
	NotificationConfiguration NotificationConfiguration `json:"notificationConfiguration,omitempty"`

	// A group of settings that are applied to the cluster in the future, or that
	// are currently being applied.
	PendingModifiedValues PendingModifiedValues `json:"pendingModifiedValues,omitempty"`

	// A flag that enables in-transit encryption when set to true.
	TransitEncryptionEnabled bool `json:"transitEncryptionEnabled,omitempty"`
}

CacheClusterObservation contains the observation of the status of the given Cache Cluster.

func (*CacheClusterObservation) DeepCopy

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

func (*CacheClusterObservation) DeepCopyInto

func (in *CacheClusterObservation) DeepCopyInto(out *CacheClusterObservation)

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

type CacheClusterParameters

type CacheClusterParameters struct {
	// Region is the region you'd like your CacheSubnetGroup to be created in.
	Region string `json:"region"`

	// If true, this parameter causes the modifications in this request and any
	// pending modifications to be applied, asynchronously and as soon as possible,
	// regardless of the PreferredMaintenanceWindow setting for the cluster.
	// If false, changes to the cluster are applied on the next maintenance reboot,
	// or the next failure reboot, whichever occurs first.
	// +optional
	ApplyImmediately *bool `json:"applyImmediately,omitempty"`

	// Specifies whether the nodes in this Memcached cluster are created in a single
	// Availability Zone or created across multiple Availability Zones in the cluster's
	// region.
	// This parameter is only supported for Memcached clusters.
	// +optional
	AZMode *string `json:"azMode,omitempty"`

	// The password used to access a password protected server.
	// +optional
	AuthToken *string `json:"authToken,omitempty"`

	// Specifies the strategy to use to update the AUTH token. This parameter must
	// be specified with the auth-token parameter. Possible values:
	// +optional
	AuthTokenUpdateStrategy *string `json:"authTokenUpdateStrategy,omitempty"`

	// A list of cache node IDs to be removed.
	// +optional
	CacheNodeIDsToRemove []string `json:"cacheNodeIdsToRemove,omitempty"`

	// The compute and memory capacity of the nodes in the node group (shard).
	CacheNodeType string `json:"cacheNodeType"`

	// The name of the parameter group to associate with this cluster. If this argument
	// is omitted, the default parameter group for the specified engine is used.
	// +optional
	CacheParameterGroupName *string `json:"cacheParameterGroupName,omitempty"`

	// A list of security group names to associate with this cluster.
	// +optional
	CacheSecurityGroupNames []string `json:"cacheSecurityGroupNames,omitempty"`

	// The name of the subnet group to be used for the cluster.
	// +optional
	// +crossplane:generate:reference:type=CacheSubnetGroup
	CacheSubnetGroupName *string `json:"cacheSubnetGroupName,omitempty"`

	// A referencer to retrieve the name of a CacheSubnetGroup
	// +optional
	CacheSubnetGroupNameRef *xpv1.Reference `json:"cacheSubnetGroupNameRef,omitempty"`

	// A selector to select a referencer to retrieve the name of a CacheSubnetGroup
	// +optional
	// +immutable
	CacheSubnetGroupNameSelector *xpv1.Selector `json:"cacheSubnetGroupNameSelector,omitempty"`

	// The name of the cache engine to be used for this cluster.
	// +optional
	// +immutable
	Engine *string `json:"engine,omitempty"`

	// The version number of the cache engine to be used for this cluster.
	// +optional
	EngineVersion *string `json:"engineVersion,omitempty"`

	// The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
	// (SNS) topic to which notifications are sent.
	// +optional
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-aws/apis/sns/v1beta1.SNSTopicARN()
	NotificationTopicARN *string `json:"notificationTopicArn,omitempty"`

	// NotificationTopicARNRef references an SNS Topic to retrieve its NotificationTopicARN
	// +optional
	NotificationTopicARNRef *xpv1.Reference `json:"notificationTopicArnRef,omitempty"`

	// NotificationTopicARNSelector selects a reference to an SNS Topic to retrieve its NotificationTopicARN
	// +optional
	NotificationTopicARNSelector *xpv1.Selector `json:"notificationTopicArnSelector,omitempty"`

	// The initial number of cache nodes that the cluster has.
	NumCacheNodes int32 `json:"numCacheNodes"`

	// The port number on which each of the cache nodes accepts connections.
	// +optional
	// +immutable
	Port *int32 `json:"port,omitempty"`

	// The EC2 Availability Zone in which the cluster is created.
	// Default: System chosen Availability Zone.
	// +optional
	PreferredAvailabilityZone *string `json:"preferredAvailabilityZone,omitempty"`

	// A list of the Availability Zones in which cache nodes are created.
	// +optional
	PreferredAvailabilityZones []string `json:"preferredAvailabilityZones,omitempty"`

	// Specifies the weekly time range during which maintenance on the cluster is
	// performed.
	// +optional
	PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow,omitempty"`

	// The ID of the replication group to which this cluster should belong.
	// +optional
	// +immutable
	ReplicationGroupID *string `json:"replicationGroupId,omitempty"`

	// One or more VPC security groups associated with the cluster.
	// +optional
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +crossplane:generate:reference:refFieldName=SecurityGroupIDRefs
	// +crossplane:generate:reference:selectorFieldName=SecurityGroupIDSelector
	SecurityGroupIDs []string `json:"securityGroupIds,omitempty"`

	// A referencer to retrieve the ID of a Security group
	// +optional
	SecurityGroupIDRefs []xpv1.Reference `json:"securityGroupIDRefs,omitempty"`

	// A selector to select a referencer to retrieve the ID of a Security Group
	// +optional
	SecurityGroupIDSelector *xpv1.Selector `json:"securityGroupIDSelector,omitempty"`

	// A single-element string list containing an Amazon Resource Name (ARN) that
	// uniquely identifies a Redis RDB snapshot file stored in Amazon S3.
	// +optional
	// +immutable
	SnapshotARNs []string `json:"snapshotArns,omitempty"`

	// The name of a Redis snapshot from which to restore data into the new node
	// group (shard).
	// +optional
	// +immutable
	SnapshotName *string `json:"snapshotName,omitempty"`

	// The number of days for which ElastiCache retains automatic snapshots before
	// deleting them.
	// +optional
	SnapshotRetentionLimit *int32 `json:"snapshotRetentionLimit,omitempty"`

	// The daily time range (in UTC) during which ElastiCache begins taking a daily
	// snapshot of your node group (shard).
	// +optional
	SnapshotWindow *string `json:"snapshotWindow,omitempty"`

	// A list of cost allocation tags to be added to this resource.
	// +optional
	// +immutable
	Tags []Tag `json:"tags,omitempty"`
}

CacheClusterParameters define the desired state of an AWS ElastiCache Cache Cluster. Most fields map directly to an AWS ReplicationGroup: https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateReplicationGroup.html#API_CreateReplicationGroup_RequestParameters

func (*CacheClusterParameters) DeepCopy

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

func (*CacheClusterParameters) DeepCopyInto

func (in *CacheClusterParameters) DeepCopyInto(out *CacheClusterParameters)

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

type CacheClusterSpec

type CacheClusterSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       CacheClusterParameters `json:"forProvider"`
}

A CacheClusterSpec defines the desired state of a CacheCluster.

func (*CacheClusterSpec) DeepCopy

func (in *CacheClusterSpec) DeepCopy() *CacheClusterSpec

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

func (*CacheClusterSpec) DeepCopyInto

func (in *CacheClusterSpec) DeepCopyInto(out *CacheClusterSpec)

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

type CacheClusterStatus

type CacheClusterStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          CacheClusterObservation `json:"atProvider,omitempty"`
}

A CacheClusterStatus defines the observed state of a CacheCluster.

func (*CacheClusterStatus) DeepCopy

func (in *CacheClusterStatus) DeepCopy() *CacheClusterStatus

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

func (*CacheClusterStatus) DeepCopyInto

func (in *CacheClusterStatus) DeepCopyInto(out *CacheClusterStatus)

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

type CacheNode

type CacheNode struct {
	// The cache node identifier.
	CacheNodeID string `json:"cacheNodeId,omitempty"`

	// The current state of this cache node, one of the following values:  available, creating,
	// deleted, deleting, incompatible-network, modifying, rebooting cluster nodes, restore-failed, or snapshotting.
	CacheNodeStatus string `json:"cacheNodeStatus,omitempty"`

	// The Availability Zone where this node was created and now resides.
	CustomerAvailabilityZone string `json:"customerAvailabilityZone,omitempty"`

	// The hostname for connecting to this cache node.
	Endpoint *Endpoint `json:"endpoint,omitempty"`

	// The status of the parameter group applied to this cache node.
	ParameterGroupStatus string `json:"parameterGroupStatus,omitempty"`

	// The ID of the primary node to which this read replica node is synchronized.
	SourceCacheNodeID *string `json:"sourceCacheNodeId,omitempty"`
}

CacheNode represents a node in the cluster

func (*CacheNode) DeepCopy

func (in *CacheNode) DeepCopy() *CacheNode

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

func (*CacheNode) DeepCopyInto

func (in *CacheNode) DeepCopyInto(out *CacheNode)

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

type CacheParameterGroupStatus

type CacheParameterGroupStatus struct {

	// A list of the cache node IDs which need to be rebooted for parameter changes
	// to be applied.
	CacheNodeIDsToReboot []string `json:"cacheNodeIdsToReboot,omitempty"`

	// The name of the cache parameter group.
	CacheParameterGroupName string `json:"cacheParameterGroupName,omitempty"`

	// The status of parameter updates.
	ParameterApplyStatus string `json:"parameterApplyStatus,omitempty"`
}

CacheParameterGroupStatus represent status of CacheParameterGroup

func (*CacheParameterGroupStatus) DeepCopy

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

func (*CacheParameterGroupStatus) DeepCopyInto

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

type CacheSubnetGroup

type CacheSubnetGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CacheSubnetGroupSpec   `json:"spec"`
	Status CacheSubnetGroupStatus `json:"status,omitempty"`
}

A CacheSubnetGroup is a managed resource that represents an AWS Subnet Group for ElasticCache. +kubebuilder:printcolumn:name="VPCID",type="string",JSONPath=".status.atProvider.vpcId" +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="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*CacheSubnetGroup) DeepCopy

func (in *CacheSubnetGroup) DeepCopy() *CacheSubnetGroup

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

func (*CacheSubnetGroup) DeepCopyInto

func (in *CacheSubnetGroup) DeepCopyInto(out *CacheSubnetGroup)

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

func (*CacheSubnetGroup) DeepCopyObject

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

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

func (*CacheSubnetGroup) GetCondition

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

GetCondition of this CacheSubnetGroup.

func (*CacheSubnetGroup) GetDeletionPolicy

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

GetDeletionPolicy of this CacheSubnetGroup.

func (*CacheSubnetGroup) GetProviderConfigReference

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

GetProviderConfigReference of this CacheSubnetGroup.

func (*CacheSubnetGroup) GetProviderReference

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

GetProviderReference of this CacheSubnetGroup. Deprecated: Use GetProviderConfigReference.

func (*CacheSubnetGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CacheSubnetGroup.

func (*CacheSubnetGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CacheSubnetGroup.

func (*CacheSubnetGroup) ResolveReferences

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

ResolveReferences of this CacheSubnetGroup.

func (*CacheSubnetGroup) SetConditions

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

SetConditions of this CacheSubnetGroup.

func (*CacheSubnetGroup) SetDeletionPolicy

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

SetDeletionPolicy of this CacheSubnetGroup.

func (*CacheSubnetGroup) SetProviderConfigReference

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

SetProviderConfigReference of this CacheSubnetGroup.

func (*CacheSubnetGroup) SetProviderReference

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

SetProviderReference of this CacheSubnetGroup. Deprecated: Use SetProviderConfigReference.

func (*CacheSubnetGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CacheSubnetGroup.

func (*CacheSubnetGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CacheSubnetGroup.

type CacheSubnetGroupExternalStatus

type CacheSubnetGroupExternalStatus struct {
	// The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet
	// group.
	VPCID string `json:"vpcId"`
}

CacheSubnetGroupExternalStatus keeps the state for the external resource

func (*CacheSubnetGroupExternalStatus) DeepCopy

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

func (*CacheSubnetGroupExternalStatus) DeepCopyInto

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

type CacheSubnetGroupList

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

CacheSubnetGroupList contains a list of CacheSubnetGroup

func (*CacheSubnetGroupList) DeepCopy

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

func (*CacheSubnetGroupList) DeepCopyInto

func (in *CacheSubnetGroupList) DeepCopyInto(out *CacheSubnetGroupList)

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

func (*CacheSubnetGroupList) DeepCopyObject

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

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

func (*CacheSubnetGroupList) GetItems

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

GetItems of this CacheSubnetGroupList.

type CacheSubnetGroupParameters

type CacheSubnetGroupParameters struct {
	// Region is the region you'd like your CacheSubnetGroup to be created in.
	Region string `json:"region"`

	// A description for the cache subnet group.
	Description string `json:"description"`

	// A list of  Subnet IDs for the cache subnet group.
	// +optional
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-aws/apis/ec2/v1beta1.Subnet
	// +crossplane:generate:reference:refFieldName=SubnetIDRefs
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	SubnetIDs []string `json:"subnetIds,omitempty"`

	// SubnetIDRefs references to a Subnet to and retrieves its SubnetID
	// +optional
	SubnetIDRefs []xpv1.Reference `json:"subnetIdRefs,omitempty"`

	// SubnetIDSelector selects a set of references that each retrieve the subnetID from the referenced Subnet
	// +optional
	SubnetIDSelector *xpv1.Selector `json:"subnetIdSelector,omitempty"`
}

CacheSubnetGroupParameters define the desired state of an AWS ElasticCache Subnet Group.

func (*CacheSubnetGroupParameters) DeepCopy

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

func (*CacheSubnetGroupParameters) DeepCopyInto

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

type CacheSubnetGroupSpec

type CacheSubnetGroupSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       CacheSubnetGroupParameters `json:"forProvider"`
}

A CacheSubnetGroupSpec defines the desired state of a CacheSubnetGroup.

func (*CacheSubnetGroupSpec) DeepCopy

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

func (*CacheSubnetGroupSpec) DeepCopyInto

func (in *CacheSubnetGroupSpec) DeepCopyInto(out *CacheSubnetGroupSpec)

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

type CacheSubnetGroupStatus

type CacheSubnetGroupStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          CacheSubnetGroupExternalStatus `json:"atProvider,omitempty"`
}

A CacheSubnetGroupStatus represents the observed state of a Subnet Group.

func (*CacheSubnetGroupStatus) DeepCopy

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

func (*CacheSubnetGroupStatus) DeepCopyInto

func (in *CacheSubnetGroupStatus) DeepCopyInto(out *CacheSubnetGroupStatus)

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

type Endpoint

type Endpoint struct {
	// Address is the DNS hostname of the cache node.
	Address string `json:"address,omitempty"`

	// Port number that the cache engine is listening on.
	Port int `json:"port,omitempty"`
}

Endpoint represents the information required for client programs to connect to a cache node. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Endpoint

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

type NotificationConfiguration

type NotificationConfiguration struct {
	// The Amazon Resource Name (ARN) that identifies the topic.
	TopicARN string `json:"topicArn,omitempty"`

	// The current state of the topic.
	TopicStatus *string `json:"topicStatus,omitempty"`
}

NotificationConfiguration represents configuration of a SNS topic used to publish Cluster events

func (*NotificationConfiguration) DeepCopy

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

func (*NotificationConfiguration) DeepCopyInto

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

type PendingModifiedValues

type PendingModifiedValues struct {
	// The auth token status
	AuthTokenStatus string `json:"authTokenStatus,omitempty"`

	// A list of cache node IDs that are being removed (or will be removed) from
	// the cluster.
	CacheNodeIDsToRemove []string `json:"cacheNodeIdsToRemove,omitempty"`

	// The cache node type that this cluster or replication group is scaled to.
	CacheNodeType string `json:"cacheNodeType,omitempty"`

	// The new cache engine version that the cluster runs.
	EngineVersion *string `json:"engineVersion,omitempty"`

	// The new number of cache nodes for the cluster.
	NumCacheNodes *int64 `json:"numCacheNodes,omitempty"`
}

PendingModifiedValues lists values that are applied to cluster in future

func (*PendingModifiedValues) DeepCopy

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

func (*PendingModifiedValues) DeepCopyInto

func (in *PendingModifiedValues) DeepCopyInto(out *PendingModifiedValues)

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

type Tag

type Tag struct {
	// Key for the tag.
	Key string `json:"key"`

	// Value of the tag.
	// +optional
	Value *string `json:"value,omitempty"`
}

A Tag is used to tag the ElastiCache resources in AWS.

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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