Skip to main content

CacheCluster

Struct CacheCluster 

Source
pub struct CacheCluster {
Show 42 fields pub cache_cluster_id: String, pub cache_node_type: String, pub engine: String, pub engine_version: String, pub cache_cluster_status: String, pub num_cache_nodes: i32, pub preferred_availability_zone: String, pub cache_subnet_group_name: Option<String>, pub auto_minor_version_upgrade: bool, pub arn: String, pub created_at: String, pub endpoint_address: String, pub endpoint_port: u16, pub container_id: String, pub host_port: u16, pub replication_group_id: Option<String>, pub cache_parameter_group_name: Option<String>, pub security_group_ids: Vec<String>, pub log_delivery_configurations: Vec<LogDeliveryConfiguration>, pub transit_encryption_enabled: bool, pub at_rest_encryption_enabled: bool, pub auth_token_enabled: bool, pub port: u16, pub preferred_maintenance_window: Option<String>, pub preferred_availability_zones: Vec<String>, pub notification_topic_arn: Option<String>, pub cache_security_group_names: Vec<String>, pub snapshot_arns: Vec<String>, pub snapshot_name: Option<String>, pub snapshot_retention_limit: i32, pub snapshot_window: Option<String>, pub outpost_mode: Option<String>, pub preferred_outpost_arn: Option<String>, pub network_type: Option<String>, pub ip_discovery: Option<String>, pub az_mode: Option<String>, pub auth_token: Option<String>, pub kms_key_id: Option<String>, pub transit_encryption_mode: Option<String>, pub data_tiering_enabled: Option<bool>, pub cluster_mode: Option<String>, pub preferred_outpost_arns: Vec<String>,
}

Fields§

§cache_cluster_id: String§cache_node_type: String§engine: String§engine_version: String§cache_cluster_status: String§num_cache_nodes: i32§preferred_availability_zone: String§cache_subnet_group_name: Option<String>§auto_minor_version_upgrade: bool§arn: String§created_at: String§endpoint_address: String§endpoint_port: u16§container_id: String§host_port: u16§replication_group_id: Option<String>§cache_parameter_group_name: Option<String>

CacheParameterGroup.CacheParameterGroupName — group bound at create / modify time. Real AWS always emits this membership; fakecloud previously omitted the element entirely.

§security_group_ids: Vec<String>

VPC security group ids attached at create time. Echoed via <SecurityGroups> for parity with AWS DescribeCacheClusters.

§log_delivery_configurations: Vec<LogDeliveryConfiguration>

LogDeliveryConfigurations — destinations + log types attached to the cluster. Round-tripped only.

§transit_encryption_enabled: bool

In-transit encryption flag. Real AWS always emits this; defaults to false for unencrypted clusters.

§at_rest_encryption_enabled: bool

At-rest encryption flag.

§auth_token_enabled: bool

AuthTokenEnabled — true when an AUTH token was supplied.

§port: u16

Configured Port from the create request. Stored separately from endpoint_port/host_port so the engine default (6379 redis / 11211 memcached) round-trips even when the container listens elsewhere.

§preferred_maintenance_window: Option<String>

PreferredMaintenanceWindow from the request, e.g. sun:23:00-mon:01:30.

§preferred_availability_zones: Vec<String>

PreferredAvailabilityZones.member.N — populated for memcached clusters pinning each node to a specific AZ.

§notification_topic_arn: Option<String>

NotificationTopicArn for cluster events.

§cache_security_group_names: Vec<String>

Legacy EC2-Classic security group names.

§snapshot_arns: Vec<String>

SnapshotArns.member.N — RDB seed snapshot S3 ARNs (redis only).

§snapshot_name: Option<String>

SnapshotName — replication-group / cluster snapshot to seed from.

§snapshot_retention_limit: i32

SnapshotRetentionLimit — daily snapshots to keep.

§snapshot_window: Option<String>

SnapshotWindow — time range when automatic snapshots run.

§outpost_mode: Option<String>

OutpostModesingle-outpost or cross-outpost.

§preferred_outpost_arn: Option<String>

PreferredOutpostArn — ARN of the AWS Outpost the cluster pins to.

§network_type: Option<String>

NetworkTypeipv4, ipv6, or dual_stack.

§ip_discovery: Option<String>

IpDiscoveryipv4 or ipv6.

§az_mode: Option<String>

AZModesingle-az or cross-az (memcached multi-node).

§auth_token: Option<String>

Raw AUTH token. Stored verbatim so a future modify can compare/rotate; never echoed back in describe XML.

§kms_key_id: Option<String>

KmsKeyId — at-rest encryption key passed at create time. AWS doesn’t echo this on DescribeCacheClusters, but real SDKs (terraform plan diff, compliance scans) read it from state, so we round-trip it on the struct.

§transit_encryption_mode: Option<String>

TransitEncryptionModepreferred or required. Round-tripped onto DescribeCacheClusters exactly like AWS does.

§data_tiering_enabled: Option<bool>

DataTieringEnabled toggle (Redis r6gd only). Stored verbatim so terraform plan diff and DescribeCacheClusters round-trip.

§cluster_mode: Option<String>

ClusterMode input — compatible / enabled / disabled. Stored separately from cluster_enabled because the input allows the tri-state compatible value.

§preferred_outpost_arns: Vec<String>

PreferredOutpostArns.member.N — cross-outpost cluster placement. Round-tripped from input; not echoed by AWS but kept on the struct so the original request shape is preserved.

Trait Implementations§

Source§

impl Clone for CacheCluster

Source§

fn clone(&self) -> CacheCluster

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CacheCluster

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CacheCluster

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CacheCluster

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more