Class: Aws::ElastiCache::Types::CreateServerlessCacheRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_usage_limits ⇒ Types::CacheUsageLimits

Sets the cache usage limits for storage and ElastiCache Processing Units for the cache.



2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#daily_snapshot_time ⇒ String

The daily time that snapshots will be created from the new serverless cache. By default this number is populated with 0, i.e. no snapshots will be created on an automatic daily basis. Available for Valkey, Redis OSS and Serverless Memcached only.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

User-provided description for the serverless cache. The default is NULL, i.e. if no description is provided then an empty string will be returned. The maximum length is 255 characters.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#engine ⇒ String

The name of the cache engine to be used for creating the serverless cache.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_id ⇒ String

ARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#major_engine_version ⇒ String

The version of the cache engine that will be used to create the serverless cache.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#network_type ⇒ String

The IP protocol version used by the serverless cache. Must be either ipv4 | ipv6 | dual_stack. 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.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_ids ⇒ Array<String>

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.

Returns:

  • (Array<String>)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#serverless_cache_name ⇒ String

User-provided identifier for the serverless cache. This parameter is stored as a lowercase string.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_arns_to_restore ⇒ Array<String>

The ARN(s) of the snapshot that the new serverless cache will be created from. Available for Valkey, Redis OSS and Serverless Memcached only.

Returns:

  • (Array<String>)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_retention_limit ⇒ Integer

The number of days for which ElastiCache retains automatic snapshots before deleting them. Available for Valkey, Redis OSS and Serverless Memcached only. The maximum value allowed is 35 days.

Returns:

  • (Integer)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_ids ⇒ Array<String>

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.

Returns:

  • (Array<String>)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

The list of tags (key, value) pairs to be added to the serverless cache resource. Default is NULL.

Returns:



2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end

#user_group_id ⇒ String

The identifier of the UserGroup to be associated with the serverless cache. Available for Valkey and Redis OSS only. Default is NULL.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2985

class CreateServerlessCacheRequest < Struct.new(
  :serverless_cache_name,
  :description,
  :engine,
  :major_engine_version,
  :cache_usage_limits,
  :kms_key_id,
  :security_group_ids,
  :snapshot_arns_to_restore,
  :tags,
  :user_group_id,
  :subnet_ids,
  :snapshot_retention_limit,
  :daily_snapshot_time,
  :network_type)
  SENSITIVE = []
  include Aws::Structure
end