1. Packages
  2. AWS Native
  3. API Docs
  4. elasticache
  5. getServerlessCache

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.elasticache.getServerlessCache

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    The AWS::ElastiCache::ServerlessCache resource creates an Amazon ElastiCache Serverless Cache.

    Using getServerlessCache

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServerlessCache(args: GetServerlessCacheArgs, opts?: InvokeOptions): Promise<GetServerlessCacheResult>
    function getServerlessCacheOutput(args: GetServerlessCacheOutputArgs, opts?: InvokeOptions): Output<GetServerlessCacheResult>
    def get_serverless_cache(serverless_cache_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetServerlessCacheResult
    def get_serverless_cache_output(serverless_cache_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetServerlessCacheResult]
    func LookupServerlessCache(ctx *Context, args *LookupServerlessCacheArgs, opts ...InvokeOption) (*LookupServerlessCacheResult, error)
    func LookupServerlessCacheOutput(ctx *Context, args *LookupServerlessCacheOutputArgs, opts ...InvokeOption) LookupServerlessCacheResultOutput

    > Note: This function is named LookupServerlessCache in the Go SDK.

    public static class GetServerlessCache 
    {
        public static Task<GetServerlessCacheResult> InvokeAsync(GetServerlessCacheArgs args, InvokeOptions? opts = null)
        public static Output<GetServerlessCacheResult> Invoke(GetServerlessCacheInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerlessCacheResult> getServerlessCache(GetServerlessCacheArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:elasticache:getServerlessCache
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServerlessCacheName string
    The name of the Serverless Cache. This value must be unique.
    ServerlessCacheName string
    The name of the Serverless Cache. This value must be unique.
    serverlessCacheName String
    The name of the Serverless Cache. This value must be unique.
    serverlessCacheName string
    The name of the Serverless Cache. This value must be unique.
    serverless_cache_name str
    The name of the Serverless Cache. This value must be unique.
    serverlessCacheName String
    The name of the Serverless Cache. This value must be unique.

    getServerlessCache Result

    The following output properties are available:

    Arn string
    The ARN of the Serverless Cache.
    CacheUsageLimits Pulumi.AwsNative.ElastiCache.Outputs.ServerlessCacheCacheUsageLimits
    The cache usage limit for the serverless cache.
    CreateTime string
    The creation time of the Serverless Cache.
    DailySnapshotTime string
    The daily time range (in UTC) during which the service takes automatic snapshot of the Serverless Cache.
    Description string
    The description of the Serverless Cache.
    Endpoint Pulumi.AwsNative.ElastiCache.Outputs.ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    FullEngineVersion string
    The full engine version of the Serverless Cache.
    ReaderEndpoint Pulumi.AwsNative.ElastiCache.Outputs.ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    SecurityGroupIds List<string>
    One or more Amazon VPC security groups associated with this Serverless Cache.
    SnapshotRetentionLimit int
    The snapshot retention limit of the Serverless Cache.
    Status string
    The status of the Serverless Cache.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this Serverless Cache.
    UserGroupId string
    The ID of the user group.
    Arn string
    The ARN of the Serverless Cache.
    CacheUsageLimits ServerlessCacheCacheUsageLimits
    The cache usage limit for the serverless cache.
    CreateTime string
    The creation time of the Serverless Cache.
    DailySnapshotTime string
    The daily time range (in UTC) during which the service takes automatic snapshot of the Serverless Cache.
    Description string
    The description of the Serverless Cache.
    Endpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    FullEngineVersion string
    The full engine version of the Serverless Cache.
    ReaderEndpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    SecurityGroupIds []string
    One or more Amazon VPC security groups associated with this Serverless Cache.
    SnapshotRetentionLimit int
    The snapshot retention limit of the Serverless Cache.
    Status string
    The status of the Serverless Cache.
    Tags Tag
    An array of key-value pairs to apply to this Serverless Cache.
    UserGroupId string
    The ID of the user group.
    arn String
    The ARN of the Serverless Cache.
    cacheUsageLimits ServerlessCacheCacheUsageLimits
    The cache usage limit for the serverless cache.
    createTime String
    The creation time of the Serverless Cache.
    dailySnapshotTime String
    The daily time range (in UTC) during which the service takes automatic snapshot of the Serverless Cache.
    description String
    The description of the Serverless Cache.
    endpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    fullEngineVersion String
    The full engine version of the Serverless Cache.
    readerEndpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    securityGroupIds List<String>
    One or more Amazon VPC security groups associated with this Serverless Cache.
    snapshotRetentionLimit Integer
    The snapshot retention limit of the Serverless Cache.
    status String
    The status of the Serverless Cache.
    tags List<Tag>
    An array of key-value pairs to apply to this Serverless Cache.
    userGroupId String
    The ID of the user group.
    arn string
    The ARN of the Serverless Cache.
    cacheUsageLimits ServerlessCacheCacheUsageLimits
    The cache usage limit for the serverless cache.
    createTime string
    The creation time of the Serverless Cache.
    dailySnapshotTime string
    The daily time range (in UTC) during which the service takes automatic snapshot of the Serverless Cache.
    description string
    The description of the Serverless Cache.
    endpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    fullEngineVersion string
    The full engine version of the Serverless Cache.
    readerEndpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    securityGroupIds string[]
    One or more Amazon VPC security groups associated with this Serverless Cache.
    snapshotRetentionLimit number
    The snapshot retention limit of the Serverless Cache.
    status string
    The status of the Serverless Cache.
    tags Tag[]
    An array of key-value pairs to apply to this Serverless Cache.
    userGroupId string
    The ID of the user group.
    arn str
    The ARN of the Serverless Cache.
    cache_usage_limits ServerlessCacheCacheUsageLimits
    The cache usage limit for the serverless cache.
    create_time str
    The creation time of the Serverless Cache.
    daily_snapshot_time str
    The daily time range (in UTC) during which the service takes automatic snapshot of the Serverless Cache.
    description str
    The description of the Serverless Cache.
    endpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    full_engine_version str
    The full engine version of the Serverless Cache.
    reader_endpoint ServerlessCacheEndpoint
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    security_group_ids Sequence[str]
    One or more Amazon VPC security groups associated with this Serverless Cache.
    snapshot_retention_limit int
    The snapshot retention limit of the Serverless Cache.
    status str
    The status of the Serverless Cache.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this Serverless Cache.
    user_group_id str
    The ID of the user group.
    arn String
    The ARN of the Serverless Cache.
    cacheUsageLimits Property Map
    The cache usage limit for the serverless cache.
    createTime String
    The creation time of the Serverless Cache.
    dailySnapshotTime String
    The daily time range (in UTC) during which the service takes automatic snapshot of the Serverless Cache.
    description String
    The description of the Serverless Cache.
    endpoint Property Map
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    fullEngineVersion String
    The full engine version of the Serverless Cache.
    readerEndpoint Property Map
    Represents the information required for client programs to connect to a cache node. This value is read-only.
    securityGroupIds List<String>
    One or more Amazon VPC security groups associated with this Serverless Cache.
    snapshotRetentionLimit Number
    The snapshot retention limit of the Serverless Cache.
    status String
    The status of the Serverless Cache.
    tags List<Property Map>
    An array of key-value pairs to apply to this Serverless Cache.
    userGroupId String
    The ID of the user group.

    Supporting Types

    ServerlessCacheCacheUsageLimits

    DataStorage Pulumi.AwsNative.ElastiCache.Inputs.ServerlessCacheDataStorage
    The maximum data storage limit in the cache, expressed in Gigabytes.
    EcpuPerSecond Pulumi.AwsNative.ElastiCache.Inputs.ServerlessCacheEcpuPerSecond
    The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
    DataStorage ServerlessCacheDataStorage
    The maximum data storage limit in the cache, expressed in Gigabytes.
    EcpuPerSecond ServerlessCacheEcpuPerSecond
    The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
    dataStorage ServerlessCacheDataStorage
    The maximum data storage limit in the cache, expressed in Gigabytes.
    ecpuPerSecond ServerlessCacheEcpuPerSecond
    The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
    dataStorage ServerlessCacheDataStorage
    The maximum data storage limit in the cache, expressed in Gigabytes.
    ecpuPerSecond ServerlessCacheEcpuPerSecond
    The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
    data_storage ServerlessCacheDataStorage
    The maximum data storage limit in the cache, expressed in Gigabytes.
    ecpu_per_second ServerlessCacheEcpuPerSecond
    The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
    dataStorage Property Map
    The maximum data storage limit in the cache, expressed in Gigabytes.
    ecpuPerSecond Property Map
    The number of ElastiCache Processing Units (ECPU) the cache can consume per second.

    ServerlessCacheDataStorage

    Unit Pulumi.AwsNative.ElastiCache.ServerlessCacheDataStorageUnit
    The unit of cached data capacity of the Serverless Cache.
    Maximum int
    The maximum cached data capacity of the Serverless Cache.
    Minimum int
    The minimum cached data capacity of the Serverless Cache.
    Unit ServerlessCacheDataStorageUnit
    The unit of cached data capacity of the Serverless Cache.
    Maximum int
    The maximum cached data capacity of the Serverless Cache.
    Minimum int
    The minimum cached data capacity of the Serverless Cache.
    unit ServerlessCacheDataStorageUnit
    The unit of cached data capacity of the Serverless Cache.
    maximum Integer
    The maximum cached data capacity of the Serverless Cache.
    minimum Integer
    The minimum cached data capacity of the Serverless Cache.
    unit ServerlessCacheDataStorageUnit
    The unit of cached data capacity of the Serverless Cache.
    maximum number
    The maximum cached data capacity of the Serverless Cache.
    minimum number
    The minimum cached data capacity of the Serverless Cache.
    unit ServerlessCacheDataStorageUnit
    The unit of cached data capacity of the Serverless Cache.
    maximum int
    The maximum cached data capacity of the Serverless Cache.
    minimum int
    The minimum cached data capacity of the Serverless Cache.
    unit "GB"
    The unit of cached data capacity of the Serverless Cache.
    maximum Number
    The maximum cached data capacity of the Serverless Cache.
    minimum Number
    The minimum cached data capacity of the Serverless Cache.

    ServerlessCacheDataStorageUnit

    ServerlessCacheEcpuPerSecond

    Maximum int
    The maximum ECPU per second of the Serverless Cache.
    Minimum int
    The minimum ECPU per second of the Serverless Cache.
    Maximum int
    The maximum ECPU per second of the Serverless Cache.
    Minimum int
    The minimum ECPU per second of the Serverless Cache.
    maximum Integer
    The maximum ECPU per second of the Serverless Cache.
    minimum Integer
    The minimum ECPU per second of the Serverless Cache.
    maximum number
    The maximum ECPU per second of the Serverless Cache.
    minimum number
    The minimum ECPU per second of the Serverless Cache.
    maximum int
    The maximum ECPU per second of the Serverless Cache.
    minimum int
    The minimum ECPU per second of the Serverless Cache.
    maximum Number
    The maximum ECPU per second of the Serverless Cache.
    minimum Number
    The minimum ECPU per second of the Serverless Cache.

    ServerlessCacheEndpoint

    Address string
    Endpoint address.
    Port string
    Endpoint port.
    Address string
    Endpoint address.
    Port string
    Endpoint port.
    address String
    Endpoint address.
    port String
    Endpoint port.
    address string
    Endpoint address.
    port string
    Endpoint port.
    address str
    Endpoint address.
    port str
    Endpoint port.
    address String
    Endpoint address.
    port String
    Endpoint port.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi