Class ServerlessCacheState


  • public final class ServerlessCacheState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the serverless cache.
      • cacheUsageLimits

        public java.util.Optional<com.pulumi.core.Output<ServerlessCacheCacheUsageLimitsArgs>> cacheUsageLimits()
        Returns:
        Sets the cache usage limits for storage and ElastiCache Processing Units for the cache. See `cacheUsageLimits` Block for details.
      • createTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createTime()
        Returns:
        Timestamp of when the serverless cache was created.
      • dailySnapshotTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dailySnapshotTime()
        Returns:
        The daily time that snapshots will be created from the new serverless cache. Only supported for engine types `"redis"` or `"valkey"`. Defaults to `0`.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        User-provided description for the serverless cache. The default is NULL.
      • endpoints

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ServerlessCacheEndpointArgs>>> endpoints()
        Returns:
        Represents the information required for client programs to connect to a cache node. See `endpoint` Block for details.
      • engine

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> engine()
        Returns:
        Name of the cache engine to be used for this cache cluster. Valid values are `memcached`, `redis` or `valkey`.
      • fullEngineVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> fullEngineVersion()
        Returns:
        The name and version number of the engine the serverless cache is compatible with.
      • kmsKeyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsKeyId()
        Returns:
        ARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used.
      • majorEngineVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> majorEngineVersion()
        Returns:
        The version of the cache engine that will be used to create the serverless cache. See [Describe Cache Engine Versions](https://docs.aws.amazon.com/cli/latest/reference/elasticache/describe-cache-engine-versions.html) in the AWS Documentation for supported versions.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The Cluster name which serves as a unique identifier to the serverless cache The following arguments are optional:
      • networkType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> networkType()
        Returns:
        IP protocol version used by the serverless cache. Valid values are `ipv4`, `ipv6`, or `dualStack`. `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`.
      • readerEndpoints

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ServerlessCacheReaderEndpointArgs>>> readerEndpoints()
        Returns:
        Represents the information required for client programs to connect to a cache node. See `readerEndpoint` Block for details.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • securityGroupIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityGroupIds()
        Returns:
        A list of the one or more VPC security groups to be associated with the serverless cache. The security group will authorize traffic access for the VPC end-point (private-link). If no other information is given this will be the VPC’s Default Security Group that is associated with the cluster VPC end-point.
      • snapshotArnsToRestores

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> snapshotArnsToRestores()
        Returns:
        The list of ARN(s) of the snapshot that the new serverless cache will be created from. Only supported for engine types `"redis"` or `"valkey"`.
      • snapshotRetentionLimit

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> snapshotRetentionLimit()
        Returns:
        The number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Only supported for engine types `"redis"` or `"valkey"`.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        The current status of the serverless cache. The allowed values are CREATING, AVAILABLE, DELETING, CREATE-FAILED and MODIFYING.
      • subnetIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> subnetIds()
        Returns:
        A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
      • userGroupId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> userGroupId()
        Returns:
        The identifier of the UserGroup to be associated with the serverless cache. Available for Redis and Valkey. Default is NULL.