We recommend new projects start with resources from the AWS provider.
aws-native.elasticache.ServerlessCache
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::ElastiCache::ServerlessCache resource creates an Amazon ElastiCache Serverless Cache.
Create ServerlessCache Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServerlessCache(name: string, args: ServerlessCacheArgs, opts?: CustomResourceOptions);@overload
def ServerlessCache(resource_name: str,
                    args: ServerlessCacheArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def ServerlessCache(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    engine: Optional[str] = None,
                    reader_endpoint: Optional[ServerlessCacheEndpointArgs] = None,
                    security_group_ids: Optional[Sequence[str]] = None,
                    endpoint: Optional[ServerlessCacheEndpointArgs] = None,
                    daily_snapshot_time: Optional[str] = None,
                    final_snapshot_name: Optional[str] = None,
                    kms_key_id: Optional[str] = None,
                    description: Optional[str] = None,
                    cache_usage_limits: Optional[ServerlessCacheCacheUsageLimitsArgs] = None,
                    major_engine_version: Optional[str] = None,
                    serverless_cache_name: Optional[str] = None,
                    snapshot_arns_to_restore: Optional[Sequence[str]] = None,
                    snapshot_retention_limit: Optional[int] = None,
                    subnet_ids: Optional[Sequence[str]] = None,
                    tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                    user_group_id: Optional[str] = None)func NewServerlessCache(ctx *Context, name string, args ServerlessCacheArgs, opts ...ResourceOption) (*ServerlessCache, error)public ServerlessCache(string name, ServerlessCacheArgs args, CustomResourceOptions? opts = null)
public ServerlessCache(String name, ServerlessCacheArgs args)
public ServerlessCache(String name, ServerlessCacheArgs args, CustomResourceOptions options)
type: aws-native:elasticache:ServerlessCache
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServerlessCacheArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServerlessCacheArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServerlessCacheArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerlessCacheArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerlessCacheArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServerlessCache Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServerlessCache resource accepts the following input properties:
- Engine string
- The engine name of the Serverless Cache.
- CacheUsage Pulumi.Limits Aws Native. Elasti Cache. Inputs. Serverless Cache Cache Usage Limits 
- The cache usage limit for the serverless cache.
- DailySnapshot stringTime 
- 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.Aws Native. Elasti Cache. Inputs. Serverless Cache Endpoint 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- FinalSnapshot stringName 
- The final snapshot name which is taken before Serverless Cache is deleted.
- KmsKey stringId 
- The ID of the KMS key used to encrypt the cluster.
- MajorEngine stringVersion 
- The major engine version of the Serverless Cache.
- ReaderEndpoint Pulumi.Aws Native. Elasti Cache. Inputs. Serverless Cache Endpoint 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- SecurityGroup List<string>Ids 
- One or more Amazon VPC security groups associated with this Serverless Cache.
- ServerlessCache stringName 
- The name of the Serverless Cache. This value must be unique.
- SnapshotArns List<string>To Restore 
- The ARN's of snapshot to restore Serverless Cache.
- SnapshotRetention intLimit 
- The snapshot retention limit of the Serverless Cache.
- SubnetIds List<string>
- The subnet id's of the Serverless Cache.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this Serverless Cache.
- UserGroup stringId 
- The ID of the user group.
- Engine string
- The engine name of the Serverless Cache.
- CacheUsage ServerlessLimits Cache Cache Usage Limits Args 
- The cache usage limit for the serverless cache.
- DailySnapshot stringTime 
- 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
ServerlessCache Endpoint Args 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- FinalSnapshot stringName 
- The final snapshot name which is taken before Serverless Cache is deleted.
- KmsKey stringId 
- The ID of the KMS key used to encrypt the cluster.
- MajorEngine stringVersion 
- The major engine version of the Serverless Cache.
- ReaderEndpoint ServerlessCache Endpoint Args 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- SecurityGroup []stringIds 
- One or more Amazon VPC security groups associated with this Serverless Cache.
- ServerlessCache stringName 
- The name of the Serverless Cache. This value must be unique.
- SnapshotArns []stringTo Restore 
- The ARN's of snapshot to restore Serverless Cache.
- SnapshotRetention intLimit 
- The snapshot retention limit of the Serverless Cache.
- SubnetIds []string
- The subnet id's of the Serverless Cache.
- 
TagArgs 
- An array of key-value pairs to apply to this Serverless Cache.
- UserGroup stringId 
- The ID of the user group.
- engine String
- The engine name of the Serverless Cache.
- cacheUsage ServerlessLimits Cache Cache Usage Limits 
- The cache usage limit for the serverless cache.
- dailySnapshot StringTime 
- 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
ServerlessCache Endpoint 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- finalSnapshot StringName 
- The final snapshot name which is taken before Serverless Cache is deleted.
- kmsKey StringId 
- The ID of the KMS key used to encrypt the cluster.
- majorEngine StringVersion 
- The major engine version of the Serverless Cache.
- readerEndpoint ServerlessCache Endpoint 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- securityGroup List<String>Ids 
- One or more Amazon VPC security groups associated with this Serverless Cache.
- serverlessCache StringName 
- The name of the Serverless Cache. This value must be unique.
- snapshotArns List<String>To Restore 
- The ARN's of snapshot to restore Serverless Cache.
- snapshotRetention IntegerLimit 
- The snapshot retention limit of the Serverless Cache.
- subnetIds List<String>
- The subnet id's of the Serverless Cache.
- List<Tag>
- An array of key-value pairs to apply to this Serverless Cache.
- userGroup StringId 
- The ID of the user group.
- engine string
- The engine name of the Serverless Cache.
- cacheUsage ServerlessLimits Cache Cache Usage Limits 
- The cache usage limit for the serverless cache.
- dailySnapshot stringTime 
- 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
ServerlessCache Endpoint 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- finalSnapshot stringName 
- The final snapshot name which is taken before Serverless Cache is deleted.
- kmsKey stringId 
- The ID of the KMS key used to encrypt the cluster.
- majorEngine stringVersion 
- The major engine version of the Serverless Cache.
- readerEndpoint ServerlessCache Endpoint 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- securityGroup string[]Ids 
- One or more Amazon VPC security groups associated with this Serverless Cache.
- serverlessCache stringName 
- The name of the Serverless Cache. This value must be unique.
- snapshotArns string[]To Restore 
- The ARN's of snapshot to restore Serverless Cache.
- snapshotRetention numberLimit 
- The snapshot retention limit of the Serverless Cache.
- subnetIds string[]
- The subnet id's of the Serverless Cache.
- Tag[]
- An array of key-value pairs to apply to this Serverless Cache.
- userGroup stringId 
- The ID of the user group.
- engine str
- The engine name of the Serverless Cache.
- cache_usage_ Serverlesslimits Cache Cache Usage Limits Args 
- The cache usage limit for the serverless cache.
- daily_snapshot_ strtime 
- 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
ServerlessCache Endpoint Args 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- final_snapshot_ strname 
- The final snapshot name which is taken before Serverless Cache is deleted.
- kms_key_ strid 
- The ID of the KMS key used to encrypt the cluster.
- major_engine_ strversion 
- The major engine version of the Serverless Cache.
- reader_endpoint ServerlessCache Endpoint Args 
- Represents the information required for client programs to connect to a cache node. This value is read-only.
- security_group_ Sequence[str]ids 
- One or more Amazon VPC security groups associated with this Serverless Cache.
- serverless_cache_ strname 
- The name of the Serverless Cache. This value must be unique.
- snapshot_arns_ Sequence[str]to_ restore 
- The ARN's of snapshot to restore Serverless Cache.
- snapshot_retention_ intlimit 
- The snapshot retention limit of the Serverless Cache.
- subnet_ids Sequence[str]
- The subnet id's of the Serverless Cache.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this Serverless Cache.
- user_group_ strid 
- The ID of the user group.
- engine String
- The engine name of the Serverless Cache.
- cacheUsage Property MapLimits 
- The cache usage limit for the serverless cache.
- dailySnapshot StringTime 
- 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.
- finalSnapshot StringName 
- The final snapshot name which is taken before Serverless Cache is deleted.
- kmsKey StringId 
- The ID of the KMS key used to encrypt the cluster.
- majorEngine StringVersion 
- The major 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.
- securityGroup List<String>Ids 
- One or more Amazon VPC security groups associated with this Serverless Cache.
- serverlessCache StringName 
- The name of the Serverless Cache. This value must be unique.
- snapshotArns List<String>To Restore 
- The ARN's of snapshot to restore Serverless Cache.
- snapshotRetention NumberLimit 
- The snapshot retention limit of the Serverless Cache.
- subnetIds List<String>
- The subnet id's of the Serverless Cache.
- List<Property Map>
- An array of key-value pairs to apply to this Serverless Cache.
- userGroup StringId 
- The ID of the user group.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServerlessCache resource produces the following output properties:
- Arn string
- The ARN of the Serverless Cache.
- CreateTime string
- The creation time of the Serverless Cache.
- FullEngine stringVersion 
- The full engine version of the Serverless Cache.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the Serverless Cache.
- Arn string
- The ARN of the Serverless Cache.
- CreateTime string
- The creation time of the Serverless Cache.
- FullEngine stringVersion 
- The full engine version of the Serverless Cache.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the Serverless Cache.
- arn String
- The ARN of the Serverless Cache.
- createTime String
- The creation time of the Serverless Cache.
- fullEngine StringVersion 
- The full engine version of the Serverless Cache.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the Serverless Cache.
- arn string
- The ARN of the Serverless Cache.
- createTime string
- The creation time of the Serverless Cache.
- fullEngine stringVersion 
- The full engine version of the Serverless Cache.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the Serverless Cache.
- arn str
- The ARN of the Serverless Cache.
- create_time str
- The creation time of the Serverless Cache.
- full_engine_ strversion 
- The full engine version of the Serverless Cache.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the Serverless Cache.
- arn String
- The ARN of the Serverless Cache.
- createTime String
- The creation time of the Serverless Cache.
- fullEngine StringVersion 
- The full engine version of the Serverless Cache.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the Serverless Cache.
Supporting Types
ServerlessCacheCacheUsageLimits, ServerlessCacheCacheUsageLimitsArgs          
- DataStorage Pulumi.Aws Native. Elasti Cache. Inputs. Serverless Cache Data Storage 
- The maximum data storage limit in the cache, expressed in Gigabytes.
- EcpuPer Pulumi.Second Aws Native. Elasti Cache. Inputs. Serverless Cache Ecpu Per Second 
- The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
- DataStorage ServerlessCache Data Storage 
- The maximum data storage limit in the cache, expressed in Gigabytes.
- EcpuPer ServerlessSecond Cache Ecpu Per Second 
- The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
- dataStorage ServerlessCache Data Storage 
- The maximum data storage limit in the cache, expressed in Gigabytes.
- ecpuPer ServerlessSecond Cache Ecpu Per Second 
- The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
- dataStorage ServerlessCache Data Storage 
- The maximum data storage limit in the cache, expressed in Gigabytes.
- ecpuPer ServerlessSecond Cache Ecpu Per Second 
- The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
- data_storage ServerlessCache Data Storage 
- The maximum data storage limit in the cache, expressed in Gigabytes.
- ecpu_per_ Serverlesssecond Cache Ecpu Per Second 
- 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.
- ecpuPer Property MapSecond 
- The number of ElastiCache Processing Units (ECPU) the cache can consume per second.
ServerlessCacheDataStorage, ServerlessCacheDataStorageArgs        
- Unit
Pulumi.Aws Native. Elasti Cache. Serverless Cache Data Storage Unit 
- 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
ServerlessCache Data Storage Unit 
- 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
ServerlessCache Data Storage Unit 
- 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
ServerlessCache Data Storage Unit 
- 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
ServerlessCache Data Storage Unit 
- 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.
ServerlessCacheDataStorageUnit, ServerlessCacheDataStorageUnitArgs          
- Gb
- GB
- ServerlessCache Data Storage Unit Gb 
- GB
- Gb
- GB
- Gb
- GB
- GB
- GB
- "GB"
- GB
ServerlessCacheEcpuPerSecond, ServerlessCacheEcpuPerSecondArgs          
ServerlessCacheEndpoint, ServerlessCacheEndpointArgs      
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.