v1alpha1

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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

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

func (in *CacheCluster) DeepCopy() *CacheCluster

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

func (*CacheCluster) DeepCopyInto added in v0.12.0

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

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

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

func (*CacheCluster) GetCondition added in v0.12.0

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

GetCondition of this CacheCluster.

func (*CacheCluster) GetDeletionPolicy added in v0.12.0

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

GetDeletionPolicy of this CacheCluster.

func (*CacheCluster) GetProviderConfigReference added in v0.12.0

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

GetProviderConfigReference of this CacheCluster.

func (*CacheCluster) GetProviderReference added in v0.12.0

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

GetProviderReference of this CacheCluster. Deprecated: Use GetProviderConfigReference.

func (*CacheCluster) GetWriteConnectionSecretToReference added in v0.12.0

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

GetWriteConnectionSecretToReference of this CacheCluster.

func (*CacheCluster) ResolveReferences added in v0.16.0

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

ResolveReferences of this CacheCluster

func (*CacheCluster) SetConditions added in v0.12.0

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

SetConditions of this CacheCluster.

func (*CacheCluster) SetDeletionPolicy added in v0.12.0

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

SetDeletionPolicy of this CacheCluster.

func (*CacheCluster) SetProviderConfigReference added in v0.12.0

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

SetProviderConfigReference of this CacheCluster.

func (*CacheCluster) SetProviderReference added in v0.12.0

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

SetProviderReference of this CacheCluster. Deprecated: Use SetProviderConfigReference.

func (*CacheCluster) SetWriteConnectionSecretToReference added in v0.12.0

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

SetWriteConnectionSecretToReference of this CacheCluster.

type CacheClusterList added in v0.12.0

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

func (in *CacheClusterList) DeepCopy() *CacheClusterList

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

func (*CacheClusterList) DeepCopyInto added in v0.12.0

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

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

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

func (*CacheClusterList) GetItems added in v0.12.0

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

GetItems of this CacheClusterList.

type CacheClusterObservation added in v0.12.0

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

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

func (*CacheClusterObservation) DeepCopyInto added in v0.12.0

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

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
	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
	NotificationTopicARN *string `json:"notificationTopicArn,omitempty"`

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

	// The port number on which each of the cache nodes accepts connections.
	// +optional
	// +immutable
	Port *int64 `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
	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 *int64 `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 added in v0.12.0

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

func (*CacheClusterParameters) DeepCopyInto added in v0.12.0

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

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

A CacheClusterSpec defines the desired state of a CacheCluster.

func (*CacheClusterSpec) DeepCopy added in v0.12.0

func (in *CacheClusterSpec) DeepCopy() *CacheClusterSpec

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

func (*CacheClusterSpec) DeepCopyInto added in v0.12.0

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

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

A CacheClusterStatus defines the observed state of a CacheCluster.

func (*CacheClusterStatus) DeepCopy added in v0.12.0

func (in *CacheClusterStatus) DeepCopy() *CacheClusterStatus

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

func (*CacheClusterStatus) DeepCopyInto added in v0.12.0

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

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

func (in *CacheNode) DeepCopy() *CacheNode

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

func (*CacheNode) DeepCopyInto added in v0.12.0

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

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

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

func (*CacheParameterGroupStatus) DeepCopyInto added in v0.12.0

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

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

GetDeletionPolicy of this CacheSubnetGroup.

func (*CacheSubnetGroup) GetProviderConfigReference added in v0.12.0

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

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

SetDeletionPolicy of this CacheSubnetGroup.

func (*CacheSubnetGroup) SetProviderConfigReference added in v0.12.0

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

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

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

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto added in v0.12.0

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

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

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

func (*NotificationConfiguration) DeepCopyInto added in v0.12.0

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

type PendingModifiedValues added in v0.12.0

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

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

func (*PendingModifiedValues) DeepCopyInto added in v0.12.0

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

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

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto added in v0.12.0

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