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: boolIn-transit encryption flag. Real AWS always emits this; defaults
to false for unencrypted clusters.
at_rest_encryption_enabled: boolAt-rest encryption flag.
auth_token_enabled: boolAuthTokenEnabled — true when an AUTH token was supplied.
port: u16Configured 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: i32SnapshotRetentionLimit — daily snapshots to keep.
snapshot_window: Option<String>SnapshotWindow — time range when automatic snapshots run.
outpost_mode: Option<String>OutpostMode — single-outpost or cross-outpost.
preferred_outpost_arn: Option<String>PreferredOutpostArn — ARN of the AWS Outpost the cluster pins to.
network_type: Option<String>NetworkType — ipv4, ipv6, or dual_stack.
ip_discovery: Option<String>IpDiscovery — ipv4 or ipv6.
az_mode: Option<String>AZMode — single-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>TransitEncryptionMode — preferred 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
impl Clone for CacheCluster
Source§fn clone(&self) -> CacheCluster
fn clone(&self) -> CacheCluster
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CacheCluster
impl Debug for CacheCluster
Source§impl<'de> Deserialize<'de> for CacheCluster
impl<'de> Deserialize<'de> for CacheCluster
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for CacheCluster
impl RefUnwindSafe for CacheCluster
impl Send for CacheCluster
impl Sync for CacheCluster
impl Unpin for CacheCluster
impl UnsafeUnpin for CacheCluster
impl UnwindSafe for CacheCluster
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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