Module Values.ServerlessCacheSource

The resource representing a serverless cache.

Sourcetype nonrec t = {
  1. serverlessCacheName : String_.t option;
    (*

    The unique identifier of the serverless cache.

    *)
  2. description : String_.t option;
    (*

    A description of the serverless cache.

    *)
  3. createTime : TStamp.t option;
    (*

    When the serverless cache was created.

    *)
  4. status : String_.t option;
    (*

    The current status of the serverless cache. The allowed values are CREATING, AVAILABLE, DELETING, CREATE-FAILED and MODIFYING.

    *)
  5. engine : String_.t option;
    (*

    The engine the serverless cache is compatible with.

    *)
  6. majorEngineVersion : String_.t option;
    (*

    The version number of the engine the serverless cache is compatible with.

    *)
  7. fullEngineVersion : String_.t option;
    (*

    The name and version number of the engine the serverless cache is compatible with.

    *)
  8. cacheUsageLimits : CacheUsageLimits.t option;
    (*

    The cache usage limit for the serverless cache.

    *)
  9. kmsKeyId : String_.t option;
    (*

    The ID of the Amazon Web Services Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.

    *)
  10. securityGroupIds : SecurityGroupIdsList.t option;
    (*

    The IDs of the EC2 security groups associated with the serverless cache.

    *)
  11. endpoint : Endpoint.t option;
  12. readerEndpoint : Endpoint.t option;
  13. aRN : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the serverless cache.

    *)
  14. userGroupId : String_.t option;
    (*

    The identifier of the user group associated with the serverless cache. Available for Valkey and Redis OSS only. Default is NULL.

    *)
  15. subnetIds : SubnetIdsList.t option;
    (*

    If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC. For all other Regions, if no subnet IDs are given then ElastiCache will select 3 default subnets across AZs in your default VPC.

    *)
  16. snapshotRetentionLimit : IntegerOptional.t option;
    (*

    The number of days for which ElastiCache retains automatic snapshots before deleting them. Available for Valkey, Redis OSS and Serverless Memcached only. The maximum value allowed is 35 days.

    *)
  17. dailySnapshotTime : String_.t option;
    (*

    The daily time that a cache snapshot will be created. Default is NULL, i.e. snapshots will not be created at a specific time on a daily basis. Available for Valkey, Redis OSS and Serverless Memcached only.

    *)
  18. networkType : NetworkType.t option;
    (*

    The type of IP address protocol used by the serverless cache. Must be either ipv4 | ipv6 | dual_stack. ipv6 is only supported with IPv6-only subnets. If not specified, defaults to ipv4, unless all provided subnets are IPv6-only, in which case it defaults to ipv6.

    *)
}
Sourceval make : ?serverlessCacheName:??? -> ?description:??? -> ?createTime:??? -> ?status:??? -> ?engine:??? -> ?majorEngineVersion:??? -> ?fullEngineVersion:??? -> ?cacheUsageLimits:??? -> ?kmsKeyId:??? -> ?securityGroupIds:??? -> ?endpoint:??? -> ?readerEndpoint:??? -> ?aRN:??? -> ?userGroupId:??? -> ?subnetIds:??? -> ?snapshotRetentionLimit:??? -> ?dailySnapshotTime:??? -> ?networkType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of IntegerOptional.t | `List of [> `String of String_.t ] list | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of IntegerOptional.t ]) list ]) list | `Timestamp of TStamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t