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.
- Cache
Usage Pulumi.Limits Aws Native. Elasti Cache. Inputs. Serverless Cache Cache Usage Limits - The cache usage limit for the serverless cache.
- Daily
Snapshot 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.
- Final
Snapshot stringName - The final snapshot name which is taken before Serverless Cache is deleted.
- Kms
Key stringId - The ID of the KMS key used to encrypt the cluster.
- Major
Engine stringVersion - The major engine version of the Serverless Cache.
- Reader
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.
- Security
Group List<string>Ids - One or more Amazon VPC security groups associated with this Serverless Cache.
- Serverless
Cache stringName - The name of the Serverless Cache. This value must be unique.
- Snapshot
Arns List<string>To Restore - The ARN's of snapshot to restore Serverless Cache.
- Snapshot
Retention intLimit - The snapshot retention limit of the Serverless Cache.
- Subnet
Ids 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.
- User
Group stringId - The ID of the user group.
- Engine string
- 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 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
Serverless
Cache Endpoint Args - Represents the information required for client programs to connect to a cache node. This value is read-only.
- Final
Snapshot stringName - The final snapshot name which is taken before Serverless Cache is deleted.
- Kms
Key stringId - The ID of the KMS key used to encrypt the cluster.
- Major
Engine stringVersion - 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 []stringIds - One or more Amazon VPC security groups associated with this Serverless Cache.
- Serverless
Cache stringName - The name of the Serverless Cache. This value must be unique.
- Snapshot
Arns []stringTo Restore - The ARN's of snapshot to restore Serverless Cache.
- Snapshot
Retention intLimit - The snapshot retention limit of the Serverless Cache.
- Subnet
Ids []string - The subnet id's of the Serverless Cache.
- Tag
Args - An array of key-value pairs to apply to this Serverless Cache.
- User
Group stringId - The ID of the user group.
- engine String
- The engine name of the Serverless Cache.
- cache
Usage ServerlessLimits Cache Cache Usage Limits - The cache usage limit for the serverless cache.
- daily
Snapshot 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
Serverless
Cache Endpoint - Represents the information required for client programs to connect to a cache node. This value is read-only.
- final
Snapshot StringName - The final snapshot name which is taken before Serverless Cache is deleted.
- kms
Key StringId - The ID of the KMS key used to encrypt the cluster.
- major
Engine StringVersion - The major engine version of the Serverless Cache.
- reader
Endpoint ServerlessCache Endpoint - Represents the information required for client programs to connect to a cache node. This value is read-only.
- security
Group List<String>Ids - One or more Amazon VPC security groups associated with this Serverless Cache.
- serverless
Cache StringName - The name of the Serverless Cache. This value must be unique.
- snapshot
Arns List<String>To Restore - The ARN's of snapshot to restore Serverless Cache.
- snapshot
Retention IntegerLimit - The snapshot retention limit of the Serverless Cache.
- subnet
Ids List<String> - The subnet id's of the Serverless Cache.
- List<Tag>
- An array of key-value pairs to apply to this Serverless Cache.
- user
Group StringId - The ID of the user group.
- engine string
- The engine name of the Serverless Cache.
- cache
Usage ServerlessLimits Cache Cache Usage Limits - The cache usage limit for the serverless cache.
- daily
Snapshot 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
Serverless
Cache Endpoint - Represents the information required for client programs to connect to a cache node. This value is read-only.
- final
Snapshot stringName - The final snapshot name which is taken before Serverless Cache is deleted.
- kms
Key stringId - The ID of the KMS key used to encrypt the cluster.
- major
Engine stringVersion - The major engine version of the Serverless Cache.
- reader
Endpoint ServerlessCache Endpoint - Represents the information required for client programs to connect to a cache node. This value is read-only.
- security
Group string[]Ids - One or more Amazon VPC security groups associated with this Serverless Cache.
- serverless
Cache stringName - The name of the Serverless Cache. This value must be unique.
- snapshot
Arns string[]To Restore - The ARN's of snapshot to restore Serverless Cache.
- snapshot
Retention numberLimit - The snapshot retention limit of the Serverless Cache.
- subnet
Ids string[] - The subnet id's of the Serverless Cache.
- Tag[]
- An array of key-value pairs to apply to this Serverless Cache.
- user
Group 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
Serverless
Cache 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[Tag
Args] - 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.
- cache
Usage Property MapLimits - The cache usage limit for the serverless cache.
- daily
Snapshot 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.
- final
Snapshot StringName - The final snapshot name which is taken before Serverless Cache is deleted.
- kms
Key StringId - The ID of the KMS key used to encrypt the cluster.
- major
Engine StringVersion - The major engine version of the Serverless Cache.
- reader
Endpoint Property Map - Represents the information required for client programs to connect to a cache node. This value is read-only.
- security
Group List<String>Ids - One or more Amazon VPC security groups associated with this Serverless Cache.
- serverless
Cache StringName - The name of the Serverless Cache. This value must be unique.
- snapshot
Arns List<String>To Restore - The ARN's of snapshot to restore Serverless Cache.
- snapshot
Retention NumberLimit - The snapshot retention limit of the Serverless Cache.
- subnet
Ids 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.
- user
Group 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.
- Create
Time string - The creation time of the Serverless Cache.
- Full
Engine 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.
- Create
Time string - The creation time of the Serverless Cache.
- Full
Engine 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.
- create
Time String - The creation time of the Serverless Cache.
- full
Engine 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.
- create
Time string - The creation time of the Serverless Cache.
- full
Engine 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.
- create
Time String - The creation time of the Serverless Cache.
- full
Engine 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
- Data
Storage Pulumi.Aws Native. Elasti Cache. Inputs. Serverless Cache Data Storage - The maximum data storage limit in the cache, expressed in Gigabytes.
- Ecpu
Per 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.
- 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.
- 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.
- 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.
- 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.
- data
Storage Property Map - The maximum data storage limit in the cache, expressed in Gigabytes.
- ecpu
Per 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
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
Serverless
Cache 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
Serverless
Cache 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
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.
ServerlessCacheDataStorageUnit, ServerlessCacheDataStorageUnitArgs
- Gb
- GB
- Serverless
Cache 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.