aws.elasticache.ReservedCacheNode
Explore with Pulumi AI
Manages an ElastiCache Reserved Cache Node.
NOTE: Once created, a reservation is valid for the
duration
of the providedoffering_id
and cannot be deleted. Performing adestroy
will only remove the resource from state. For more information see ElastiCache Reserved Nodes Documentation and PurchaseReservedCacheNodesOffering.
NOTE: Due to the expense of testing this resource, we provide it as best effort. If you find it useful, and have the ability to help test or notice issues, consider reaching out to us on GitHub.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
exampleReservedCacheNode:
type: aws:elasticache:ReservedCacheNode
name: example
properties:
reservedCacheNodesOfferingId: ${example.offeringId}
id: optionalCustomReservationID
cacheNodeCount: 3
variables:
example:
fn::invoke:
Function: aws:elasticache:getReservedCacheNodeOffering
Arguments:
cacheNodeType: cache.t4g.small
duration: P1Y
offeringType: No Upfront
productDescription: redis
Create ReservedCacheNode Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReservedCacheNode(name: string, args: ReservedCacheNodeArgs, opts?: CustomResourceOptions);
@overload
def ReservedCacheNode(resource_name: str,
args: ReservedCacheNodeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReservedCacheNode(resource_name: str,
opts: Optional[ResourceOptions] = None,
reserved_cache_nodes_offering_id: Optional[str] = None,
cache_node_count: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ReservedCacheNodeTimeoutsArgs] = None)
func NewReservedCacheNode(ctx *Context, name string, args ReservedCacheNodeArgs, opts ...ResourceOption) (*ReservedCacheNode, error)
public ReservedCacheNode(string name, ReservedCacheNodeArgs args, CustomResourceOptions? opts = null)
public ReservedCacheNode(String name, ReservedCacheNodeArgs args)
public ReservedCacheNode(String name, ReservedCacheNodeArgs args, CustomResourceOptions options)
type: aws:elasticache:ReservedCacheNode
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 ReservedCacheNodeArgs
- 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 ReservedCacheNodeArgs
- 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 ReservedCacheNodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReservedCacheNodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReservedCacheNodeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var reservedCacheNodeResource = new Aws.ElastiCache.ReservedCacheNode("reservedCacheNodeResource", new()
{
ReservedCacheNodesOfferingId = "string",
CacheNodeCount = 0,
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.ElastiCache.Inputs.ReservedCacheNodeTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := elasticache.NewReservedCacheNode(ctx, "reservedCacheNodeResource", &elasticache.ReservedCacheNodeArgs{
ReservedCacheNodesOfferingId: pulumi.String("string"),
CacheNodeCount: pulumi.Float64(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &elasticache.ReservedCacheNodeTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var reservedCacheNodeResource = new ReservedCacheNode("reservedCacheNodeResource", ReservedCacheNodeArgs.builder()
.reservedCacheNodesOfferingId("string")
.cacheNodeCount(0)
.tags(Map.of("string", "string"))
.timeouts(ReservedCacheNodeTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
reserved_cache_node_resource = aws.elasticache.ReservedCacheNode("reservedCacheNodeResource",
reserved_cache_nodes_offering_id="string",
cache_node_count=0,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const reservedCacheNodeResource = new aws.elasticache.ReservedCacheNode("reservedCacheNodeResource", {
reservedCacheNodesOfferingId: "string",
cacheNodeCount: 0,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:elasticache:ReservedCacheNode
properties:
cacheNodeCount: 0
reservedCacheNodesOfferingId: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
ReservedCacheNode 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 ReservedCacheNode resource accepts the following input properties:
- Reserved
Cache stringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- Cache
Node doubleCount - Number of cache node instances to reserve.
Default value is
1
. - Dictionary<string, string>
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Reserved
Cache Node Timeouts
- Reserved
Cache stringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- Cache
Node float64Count - Number of cache node instances to reserve.
Default value is
1
. - map[string]string
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Reserved
Cache Node Timeouts Args
- reserved
Cache StringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- cache
Node DoubleCount - Number of cache node instances to reserve.
Default value is
1
. - Map<String,String>
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Reserved
Cache Node Timeouts
- reserved
Cache stringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- cache
Node numberCount - Number of cache node instances to reserve.
Default value is
1
. - {[key: string]: string}
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Reserved
Cache Node Timeouts
- reserved_
cache_ strnodes_ offering_ id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- cache_
node_ floatcount - Number of cache node instances to reserve.
Default value is
1
. - Mapping[str, str]
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Reserved
Cache Node Timeouts Args
- reserved
Cache StringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- cache
Node NumberCount - Number of cache node instances to reserve.
Default value is
1
. - Map<String>
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ReservedCacheNode resource produces the following output properties:
- Arn string
- ARN for the reserved cache node.
- Cache
Node stringType - Node type for the reserved cache nodes.
- Duration string
- Duration of the reservation as an RFC3339 duration.
- Fixed
Price double - Fixed price charged for this reserved cache node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Offering
Type string - Offering type of this reserved cache node.
- Product
Description string - Engine type for the reserved cache node.
- Recurring
Charges List<ReservedCache Node Recurring Charge> - Recurring price charged to run this reserved cache node.
- Start
Time string - Time the reservation started.
- State string
- State of the reserved cache node.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Usage
Price double - Hourly price charged for this reserved cache node.
- Arn string
- ARN for the reserved cache node.
- Cache
Node stringType - Node type for the reserved cache nodes.
- Duration string
- Duration of the reservation as an RFC3339 duration.
- Fixed
Price float64 - Fixed price charged for this reserved cache node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Offering
Type string - Offering type of this reserved cache node.
- Product
Description string - Engine type for the reserved cache node.
- Recurring
Charges []ReservedCache Node Recurring Charge - Recurring price charged to run this reserved cache node.
- Start
Time string - Time the reservation started.
- State string
- State of the reserved cache node.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Usage
Price float64 - Hourly price charged for this reserved cache node.
- arn String
- ARN for the reserved cache node.
- cache
Node StringType - Node type for the reserved cache nodes.
- duration String
- Duration of the reservation as an RFC3339 duration.
- fixed
Price Double - Fixed price charged for this reserved cache node.
- id String
- The provider-assigned unique ID for this managed resource.
- offering
Type String - Offering type of this reserved cache node.
- product
Description String - Engine type for the reserved cache node.
- recurring
Charges List<ReservedCache Node Recurring Charge> - Recurring price charged to run this reserved cache node.
- start
Time String - Time the reservation started.
- state String
- State of the reserved cache node.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - usage
Price Double - Hourly price charged for this reserved cache node.
- arn string
- ARN for the reserved cache node.
- cache
Node stringType - Node type for the reserved cache nodes.
- duration string
- Duration of the reservation as an RFC3339 duration.
- fixed
Price number - Fixed price charged for this reserved cache node.
- id string
- The provider-assigned unique ID for this managed resource.
- offering
Type string - Offering type of this reserved cache node.
- product
Description string - Engine type for the reserved cache node.
- recurring
Charges ReservedCache Node Recurring Charge[] - Recurring price charged to run this reserved cache node.
- start
Time string - Time the reservation started.
- state string
- State of the reserved cache node.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - usage
Price number - Hourly price charged for this reserved cache node.
- arn str
- ARN for the reserved cache node.
- cache_
node_ strtype - Node type for the reserved cache nodes.
- duration str
- Duration of the reservation as an RFC3339 duration.
- fixed_
price float - Fixed price charged for this reserved cache node.
- id str
- The provider-assigned unique ID for this managed resource.
- offering_
type str - Offering type of this reserved cache node.
- product_
description str - Engine type for the reserved cache node.
- recurring_
charges Sequence[ReservedCache Node Recurring Charge] - Recurring price charged to run this reserved cache node.
- start_
time str - Time the reservation started.
- state str
- State of the reserved cache node.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - usage_
price float - Hourly price charged for this reserved cache node.
- arn String
- ARN for the reserved cache node.
- cache
Node StringType - Node type for the reserved cache nodes.
- duration String
- Duration of the reservation as an RFC3339 duration.
- fixed
Price Number - Fixed price charged for this reserved cache node.
- id String
- The provider-assigned unique ID for this managed resource.
- offering
Type String - Offering type of this reserved cache node.
- product
Description String - Engine type for the reserved cache node.
- recurring
Charges List<Property Map> - Recurring price charged to run this reserved cache node.
- start
Time String - Time the reservation started.
- state String
- State of the reserved cache node.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - usage
Price Number - Hourly price charged for this reserved cache node.
Look up Existing ReservedCacheNode Resource
Get an existing ReservedCacheNode resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReservedCacheNodeState, opts?: CustomResourceOptions): ReservedCacheNode
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
cache_node_count: Optional[float] = None,
cache_node_type: Optional[str] = None,
duration: Optional[str] = None,
fixed_price: Optional[float] = None,
offering_type: Optional[str] = None,
product_description: Optional[str] = None,
recurring_charges: Optional[Sequence[ReservedCacheNodeRecurringChargeArgs]] = None,
reserved_cache_nodes_offering_id: Optional[str] = None,
start_time: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[ReservedCacheNodeTimeoutsArgs] = None,
usage_price: Optional[float] = None) -> ReservedCacheNode
func GetReservedCacheNode(ctx *Context, name string, id IDInput, state *ReservedCacheNodeState, opts ...ResourceOption) (*ReservedCacheNode, error)
public static ReservedCacheNode Get(string name, Input<string> id, ReservedCacheNodeState? state, CustomResourceOptions? opts = null)
public static ReservedCacheNode get(String name, Output<String> id, ReservedCacheNodeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN for the reserved cache node.
- Cache
Node doubleCount - Number of cache node instances to reserve.
Default value is
1
. - Cache
Node stringType - Node type for the reserved cache nodes.
- Duration string
- Duration of the reservation as an RFC3339 duration.
- Fixed
Price double - Fixed price charged for this reserved cache node.
- Offering
Type string - Offering type of this reserved cache node.
- Product
Description string - Engine type for the reserved cache node.
- Recurring
Charges List<ReservedCache Node Recurring Charge> - Recurring price charged to run this reserved cache node.
- Reserved
Cache stringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- Start
Time string - Time the reservation started.
- State string
- State of the reserved cache node.
- Dictionary<string, string>
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Reserved
Cache Node Timeouts - Usage
Price double - Hourly price charged for this reserved cache node.
- Arn string
- ARN for the reserved cache node.
- Cache
Node float64Count - Number of cache node instances to reserve.
Default value is
1
. - Cache
Node stringType - Node type for the reserved cache nodes.
- Duration string
- Duration of the reservation as an RFC3339 duration.
- Fixed
Price float64 - Fixed price charged for this reserved cache node.
- Offering
Type string - Offering type of this reserved cache node.
- Product
Description string - Engine type for the reserved cache node.
- Recurring
Charges []ReservedCache Node Recurring Charge Args - Recurring price charged to run this reserved cache node.
- Reserved
Cache stringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- Start
Time string - Time the reservation started.
- State string
- State of the reserved cache node.
- map[string]string
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Reserved
Cache Node Timeouts Args - Usage
Price float64 - Hourly price charged for this reserved cache node.
- arn String
- ARN for the reserved cache node.
- cache
Node DoubleCount - Number of cache node instances to reserve.
Default value is
1
. - cache
Node StringType - Node type for the reserved cache nodes.
- duration String
- Duration of the reservation as an RFC3339 duration.
- fixed
Price Double - Fixed price charged for this reserved cache node.
- offering
Type String - Offering type of this reserved cache node.
- product
Description String - Engine type for the reserved cache node.
- recurring
Charges List<ReservedCache Node Recurring Charge> - Recurring price charged to run this reserved cache node.
- reserved
Cache StringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- start
Time String - Time the reservation started.
- state String
- State of the reserved cache node.
- Map<String,String>
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Reserved
Cache Node Timeouts - usage
Price Double - Hourly price charged for this reserved cache node.
- arn string
- ARN for the reserved cache node.
- cache
Node numberCount - Number of cache node instances to reserve.
Default value is
1
. - cache
Node stringType - Node type for the reserved cache nodes.
- duration string
- Duration of the reservation as an RFC3339 duration.
- fixed
Price number - Fixed price charged for this reserved cache node.
- offering
Type string - Offering type of this reserved cache node.
- product
Description string - Engine type for the reserved cache node.
- recurring
Charges ReservedCache Node Recurring Charge[] - Recurring price charged to run this reserved cache node.
- reserved
Cache stringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- start
Time string - Time the reservation started.
- state string
- State of the reserved cache node.
- {[key: string]: string}
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Reserved
Cache Node Timeouts - usage
Price number - Hourly price charged for this reserved cache node.
- arn str
- ARN for the reserved cache node.
- cache_
node_ floatcount - Number of cache node instances to reserve.
Default value is
1
. - cache_
node_ strtype - Node type for the reserved cache nodes.
- duration str
- Duration of the reservation as an RFC3339 duration.
- fixed_
price float - Fixed price charged for this reserved cache node.
- offering_
type str - Offering type of this reserved cache node.
- product_
description str - Engine type for the reserved cache node.
- recurring_
charges Sequence[ReservedCache Node Recurring Charge Args] - Recurring price charged to run this reserved cache node.
- reserved_
cache_ strnodes_ offering_ id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- start_
time str - Time the reservation started.
- state str
- State of the reserved cache node.
- Mapping[str, str]
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Reserved
Cache Node Timeouts Args - usage_
price float - Hourly price charged for this reserved cache node.
- arn String
- ARN for the reserved cache node.
- cache
Node NumberCount - Number of cache node instances to reserve.
Default value is
1
. - cache
Node StringType - Node type for the reserved cache nodes.
- duration String
- Duration of the reservation as an RFC3339 duration.
- fixed
Price Number - Fixed price charged for this reserved cache node.
- offering
Type String - Offering type of this reserved cache node.
- product
Description String - Engine type for the reserved cache node.
- recurring
Charges List<Property Map> - Recurring price charged to run this reserved cache node.
- reserved
Cache StringNodes Offering Id ID of the reserved cache node offering to purchase. To determine an
reserved_cache_nodes_offering_id
, see theaws.elasticache.getReservedCacheNodeOffering
data source.The following arguments are optional:
- start
Time String - Time the reservation started.
- state String
- State of the reserved cache node.
- Map<String>
- Map of tags to assign to the reservation. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
- usage
Price Number - Hourly price charged for this reserved cache node.
Supporting Types
ReservedCacheNodeRecurringCharge, ReservedCacheNodeRecurringChargeArgs
- Recurring
Charge doubleAmount - Recurring
Charge stringFrequency
- Recurring
Charge float64Amount - Recurring
Charge stringFrequency
- recurring
Charge DoubleAmount - recurring
Charge StringFrequency
- recurring
Charge numberAmount - recurring
Charge stringFrequency
- recurring
Charge NumberAmount - recurring
Charge StringFrequency
ReservedCacheNodeTimeouts, ReservedCacheNodeTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import ElastiCache Reserved Cache Node using the id
. For example:
$ pulumi import aws:elasticache/reservedCacheNode:ReservedCacheNode example CustomReservationID
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.