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:
        The Amazon Resource Name (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 configuration below.
      • 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 type `"redis"`. 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 config below 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` or `redis`.
      • 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:
      • 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 config below for details.
      • 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. Available for Redis only.
      • 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. Available for Redis only.
      • 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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Deprecated.
        Please use `tags` instead.
      • 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 only. Default is NULL.