This page documents the language specification for the aws package. If you're looking for help working with the inputs, outputs, or functions of aws resources in a Pulumi program, please see the resource documentation for examples and API reference.
elasticache¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.
- class
pulumi_aws.elasticache.AwaitableGetClusterResult(arn=None, availability_zone=None, cache_nodes=None, cluster_address=None, cluster_id=None, configuration_endpoint=None, engine=None, engine_version=None, id=None, maintenance_window=None, node_type=None, notification_topic_arn=None, num_cache_nodes=None, parameter_group_name=None, port=None, replication_group_id=None, security_group_ids=None, security_group_names=None, snapshot_retention_limit=None, snapshot_window=None, subnet_group_name=None, tags=None)¶
- class
pulumi_aws.elasticache.AwaitableGetReplicationGroupResult(auth_token_enabled=None, automatic_failover_enabled=None, configuration_endpoint_address=None, id=None, member_clusters=None, node_type=None, number_cache_clusters=None, port=None, primary_endpoint_address=None, replication_group_description=None, replication_group_id=None, snapshot_retention_limit=None, snapshot_window=None)¶
- class
pulumi_aws.elasticache.Cluster(resource_name, opts=None, apply_immediately=None, availability_zone=None, az_mode=None, cluster_id=None, engine=None, engine_version=None, maintenance_window=None, node_type=None, notification_topic_arn=None, num_cache_nodes=None, parameter_group_name=None, port=None, preferred_availability_zones=None, replication_group_id=None, security_group_ids=None, security_group_names=None, snapshot_arns=None, snapshot_name=None, snapshot_retention_limit=None, snapshot_window=None, subnet_group_name=None, tags=None, __props__=None, __name__=None, __opts__=None)¶ Provides an ElastiCache Cluster resource, which manages a Memcached cluster or Redis instance. For working with Redis (Cluster Mode Enabled) replication groups, see the
elasticache.ReplicationGroupresource.Note: When you change an attribute, such as
node_type, by default it is applied in the next maintenance window. Because of this, this provider may report a difference in its planning phase because the actual modification has not yet taken place. You can use theapply_immediatelyflag to instruct the service to apply the change immediately. Usingapply_immediatelycan result in a brief downtime as the server reboots. See the AWS Docs on Modifying an ElastiCache Cache Cluster for more information.import pulumi import pulumi_aws as aws example = aws.elasticache.Cluster("example", engine="memcached", node_type="cache.m4.large", num_cache_nodes=2, parameter_group_name="default.memcached1.4", port=11211)
import pulumi import pulumi_aws as aws example = aws.elasticache.Cluster("example", engine="redis", engine_version="3.2.10", node_type="cache.m4.large", num_cache_nodes=1, parameter_group_name="default.redis3.2", port=6379)
import pulumi import pulumi_aws as aws replica = aws.elasticache.Cluster("replica", replication_group_id=aws_elasticache_replication_group["example"]["id"])
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
apply_immediately (pulumi.Input[bool]) – Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default is
false. See Amazon ElastiCache Documentation for more information. (Available since v0.6.0)availability_zone (pulumi.Input[str]) – The Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, use
preferred_availability_zonesinstead. Default: System chosen Availability Zone.az_mode (pulumi.Input[str]) – Specifies whether the nodes in this Memcached node group are created in a single Availability Zone or created across multiple Availability Zones in the cluster’s region. Valid values for this parameter are
single-azorcross-az, default issingle-az. If you want to choosecross-az,num_cache_nodesmust be greater than1cluster_id (pulumi.Input[str]) – Group identifier. ElastiCache converts this name to lowercase
engine (pulumi.Input[str]) – Name of the cache engine to be used for this cache cluster. Valid values for this parameter are
memcachedorredisengine_version (pulumi.Input[str]) – Version number of the cache engine to be used. See Describe Cache Engine Versions in the AWS Documentation center for supported versions
maintenance_window (pulumi.Input[str]) – Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is
ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:05:00-sun:09:00node_type (pulumi.Input[str]) – The compute and memory capacity of the nodes. See Available Cache Node Types for supported node types
notification_topic_arn (pulumi.Input[str]) – An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example:
arn:aws:sns:us-east-1:012345678999:my_sns_topicnum_cache_nodes (pulumi.Input[float]) – The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed.
parameter_group_name (pulumi.Input[str]) – Name of the parameter group to associate with this cache cluster
port (pulumi.Input[float]) – The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379. Cannot be provided with
replication_group_id.preferred_availability_zones (pulumi.Input[list]) – A list of the Availability Zones in which cache nodes are created. If you are creating your cluster in an Amazon VPC you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of
num_cache_nodes. If you want all the nodes in the same Availability Zone, useavailability_zoneinstead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones. Detecting drift of existing node availability zone is not currently supported. Updating this argument by itself to migrate existing node availability zones is not currently supported and will show a perpetual difference.replication_group_id (pulumi.Input[str]) – The ID of the replication group to which this cluster should belong. If this parameter is specified, the cluster is added to the specified replication group as a read replica; otherwise, the cluster is a standalone primary that is not part of any replication group.
security_group_ids (pulumi.Input[list]) – One or more VPC security groups associated with the cache cluster
security_group_names (pulumi.Input[list]) – List of security group names to associate with this cache cluster
snapshot_arns (pulumi.Input[list]) – A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. Example:
arn:aws:s3:::my_bucket/snapshot1.rdbsnapshot_name (pulumi.Input[str]) – The name of a snapshot from which to restore data into the new node group. Changing the
snapshot_nameforces a new resource.snapshot_retention_limit (pulumi.Input[float]) – The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. Please note that setting a
snapshot_retention_limitis not supported on cache.t1.micro or cache.t2.* cache nodessnapshot_window (pulumi.Input[str]) – The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00
subnet_group_name (pulumi.Input[str]) – Name of the subnet group to be used for the cache cluster.
tags (pulumi.Input[dict]) – A map of tags to assign to the resource
apply_immediately: pulumi.Output[bool] = None¶Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default is
false. See Amazon ElastiCache Documentation for more information. (Available since v0.6.0)
availability_zone: pulumi.Output[str] = None¶The Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, use
preferred_availability_zonesinstead. Default: System chosen Availability Zone.
az_mode: pulumi.Output[str] = None¶Specifies whether the nodes in this Memcached node group are created in a single Availability Zone or created across multiple Availability Zones in the cluster’s region. Valid values for this parameter are
single-azorcross-az, default issingle-az. If you want to choosecross-az,num_cache_nodesmust be greater than1
cache_nodes: pulumi.Output[list] = None¶List of node objects including
id,address,portandavailability_zone. Referenceable e.g. as${aws_elasticache_cluster.bar.cache_nodes.0.address}address(str)availability_zone(str) - The Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, usepreferred_availability_zonesinstead. Default: System chosen Availability Zone.id(str)port(float) - The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379. Cannot be provided withreplication_group_id.
cluster_address: pulumi.Output[str] = None¶(Memcached only) The DNS name of the cache cluster without the port appended.
cluster_id: pulumi.Output[str] = None¶Group identifier. ElastiCache converts this name to lowercase
configuration_endpoint: pulumi.Output[str] = None¶(Memcached only) The configuration endpoint to allow host discovery.
engine: pulumi.Output[str] = None¶Name of the cache engine to be used for this cache cluster. Valid values for this parameter are
memcachedorredis
engine_version: pulumi.Output[str] = None¶Version number of the cache engine to be used. See Describe Cache Engine Versions in the AWS Documentation center for supported versions
maintenance_window: pulumi.Output[str] = None¶Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is
ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:05:00-sun:09:00
node_type: pulumi.Output[str] = None¶The compute and memory capacity of the nodes. See Available Cache Node Types for supported node types
notification_topic_arn: pulumi.Output[str] = None¶An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example:
arn:aws:sns:us-east-1:012345678999:my_sns_topic
num_cache_nodes: pulumi.Output[float] = None¶The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed.
parameter_group_name: pulumi.Output[str] = None¶Name of the parameter group to associate with this cache cluster
port: pulumi.Output[float] = None¶The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379. Cannot be provided with
replication_group_id.
preferred_availability_zones: pulumi.Output[list] = None¶A list of the Availability Zones in which cache nodes are created. If you are creating your cluster in an Amazon VPC you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of
num_cache_nodes. If you want all the nodes in the same Availability Zone, useavailability_zoneinstead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones. Detecting drift of existing node availability zone is not currently supported. Updating this argument by itself to migrate existing node availability zones is not currently supported and will show a perpetual difference.
replication_group_id: pulumi.Output[str] = None¶The ID of the replication group to which this cluster should belong. If this parameter is specified, the cluster is added to the specified replication group as a read replica; otherwise, the cluster is a standalone primary that is not part of any replication group.
security_group_ids: pulumi.Output[list] = None¶One or more VPC security groups associated with the cache cluster
security_group_names: pulumi.Output[list] = None¶List of security group names to associate with this cache cluster
snapshot_arns: pulumi.Output[list] = None¶A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. Example:
arn:aws:s3:::my_bucket/snapshot1.rdb
snapshot_name: pulumi.Output[str] = None¶The name of a snapshot from which to restore data into the new node group. Changing the
snapshot_nameforces a new resource.
snapshot_retention_limit: pulumi.Output[float] = None¶The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. Please note that setting a
snapshot_retention_limitis not supported on cache.t1.micro or cache.t2.* cache nodes
snapshot_window: pulumi.Output[str] = None¶The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00
subnet_group_name: pulumi.Output[str] = None¶Name of the subnet group to be used for the cache cluster.
A map of tags to assign to the resource
- static
get(resource_name, id, opts=None, apply_immediately=None, arn=None, availability_zone=None, az_mode=None, cache_nodes=None, cluster_address=None, cluster_id=None, configuration_endpoint=None, engine=None, engine_version=None, maintenance_window=None, node_type=None, notification_topic_arn=None, num_cache_nodes=None, parameter_group_name=None, port=None, preferred_availability_zones=None, replication_group_id=None, security_group_ids=None, security_group_names=None, snapshot_arns=None, snapshot_name=None, snapshot_retention_limit=None, snapshot_window=None, subnet_group_name=None, tags=None)¶ Get an existing Cluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
apply_immediately (pulumi.Input[bool]) –
Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default is
false. See Amazon ElastiCache Documentation for more information. (Available since v0.6.0)availability_zone (pulumi.Input[str]) – The Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, use
preferred_availability_zonesinstead. Default: System chosen Availability Zone.az_mode (pulumi.Input[str]) – Specifies whether the nodes in this Memcached node group are created in a single Availability Zone or created across multiple Availability Zones in the cluster’s region. Valid values for this parameter are
single-azorcross-az, default issingle-az. If you want to choosecross-az,num_cache_nodesmust be greater than1cache_nodes (pulumi.Input[list]) – List of node objects including
id,address,portandavailability_zone. Referenceable e.g. as${aws_elasticache_cluster.bar.cache_nodes.0.address}cluster_address (pulumi.Input[str]) – (Memcached only) The DNS name of the cache cluster without the port appended.
cluster_id (pulumi.Input[str]) – Group identifier. ElastiCache converts this name to lowercase
configuration_endpoint (pulumi.Input[str]) – (Memcached only) The configuration endpoint to allow host discovery.
engine (pulumi.Input[str]) – Name of the cache engine to be used for this cache cluster. Valid values for this parameter are
memcachedorredisengine_version (pulumi.Input[str]) –
Version number of the cache engine to be used. See Describe Cache Engine Versions in the AWS Documentation center for supported versions
maintenance_window (pulumi.Input[str]) – Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is
ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:05:00-sun:09:00node_type (pulumi.Input[str]) –
The compute and memory capacity of the nodes. See Available Cache Node Types for supported node types
notification_topic_arn (pulumi.Input[str]) – An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example:
arn:aws:sns:us-east-1:012345678999:my_sns_topicnum_cache_nodes (pulumi.Input[float]) – The initial number of cache nodes that the cache cluster will have. For Redis, this value must be 1. For Memcache, this value must be between 1 and 20. If this number is reduced on subsequent runs, the highest numbered nodes will be removed.
parameter_group_name (pulumi.Input[str]) – Name of the parameter group to associate with this cache cluster
port (pulumi.Input[float]) – The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379. Cannot be provided with
replication_group_id.preferred_availability_zones (pulumi.Input[list]) – A list of the Availability Zones in which cache nodes are created. If you are creating your cluster in an Amazon VPC you can only locate nodes in Availability Zones that are associated with the subnets in the selected subnet group. The number of Availability Zones listed must equal the value of
num_cache_nodes. If you want all the nodes in the same Availability Zone, useavailability_zoneinstead, or repeat the Availability Zone multiple times in the list. Default: System chosen Availability Zones. Detecting drift of existing node availability zone is not currently supported. Updating this argument by itself to migrate existing node availability zones is not currently supported and will show a perpetual difference.replication_group_id (pulumi.Input[str]) – The ID of the replication group to which this cluster should belong. If this parameter is specified, the cluster is added to the specified replication group as a read replica; otherwise, the cluster is a standalone primary that is not part of any replication group.
security_group_ids (pulumi.Input[list]) – One or more VPC security groups associated with the cache cluster
security_group_names (pulumi.Input[list]) – List of security group names to associate with this cache cluster
snapshot_arns (pulumi.Input[list]) – A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. Example:
arn:aws:s3:::my_bucket/snapshot1.rdbsnapshot_name (pulumi.Input[str]) – The name of a snapshot from which to restore data into the new node group. Changing the
snapshot_nameforces a new resource.snapshot_retention_limit (pulumi.Input[float]) – The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. Please note that setting a
snapshot_retention_limitis not supported on cache.t1.micro or cache.t2.* cache nodessnapshot_window (pulumi.Input[str]) – The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. Example: 05:00-09:00
subnet_group_name (pulumi.Input[str]) – Name of the subnet group to be used for the cache cluster.
tags (pulumi.Input[dict]) – A map of tags to assign to the resource
The cache_nodes object supports the following:
address(pulumi.Input[str])availability_zone(pulumi.Input[str]) - The Availability Zone for the cache cluster. If you want to create cache nodes in multi-az, usepreferred_availability_zonesinstead. Default: System chosen Availability Zone.id(pulumi.Input[str])port(pulumi.Input[float]) - The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379. Cannot be provided withreplication_group_id.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_aws.elasticache.GetClusterResult(arn=None, availability_zone=None, cache_nodes=None, cluster_address=None, cluster_id=None, configuration_endpoint=None, engine=None, engine_version=None, id=None, maintenance_window=None, node_type=None, notification_topic_arn=None, num_cache_nodes=None, parameter_group_name=None, port=None, replication_group_id=None, security_group_ids=None, security_group_names=None, snapshot_retention_limit=None, snapshot_window=None, subnet_group_name=None, tags=None)¶ A collection of values returned by getCluster.
availability_zone= None¶The Availability Zone for the cache cluster.
cache_nodes= None¶List of node objects including
id,address,portandavailability_zone. Referenceable e.g. as${data.aws_elasticache_cluster.bar.cache_nodes.0.address}
cluster_address= None¶(Memcached only) The DNS name of the cache cluster without the port appended.
configuration_endpoint= None¶(Memcached only) The configuration endpoint to allow host discovery.
engine= None¶Name of the cache engine.
engine_version= None¶Version number of the cache engine.
id= None¶The provider-assigned unique ID for this managed resource.
maintenance_window= None¶Specifies the weekly time range for when maintenance on the cache cluster is performed.
node_type= None¶The cluster node type.
notification_topic_arn= None¶An Amazon Resource Name (ARN) of an SNS topic that ElastiCache notifications get sent to.
num_cache_nodes= None¶The number of cache nodes that the cache cluster has.
parameter_group_name= None¶Name of the parameter group associated with this cache cluster.
port= None¶The port number on which each of the cache nodes will accept connections.
replication_group_id= None¶The replication group to which this cache cluster belongs.
security_group_ids= None¶List VPC security groups associated with the cache cluster.
security_group_names= None¶List of security group names associated with this cache cluster.
snapshot_retention_limit= None¶The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them.
snapshot_window= None¶The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of the cache cluster.
subnet_group_name= None¶Name of the subnet group associated to the cache cluster.
The tags assigned to the resource
- class
pulumi_aws.elasticache.GetReplicationGroupResult(auth_token_enabled=None, automatic_failover_enabled=None, configuration_endpoint_address=None, id=None, member_clusters=None, node_type=None, number_cache_clusters=None, port=None, primary_endpoint_address=None, replication_group_description=None, replication_group_id=None, snapshot_retention_limit=None, snapshot_window=None)¶ A collection of values returned by getReplicationGroup.
auth_token_enabled= None¶A flag that enables using an AuthToken (password) when issuing Redis commands.
automatic_failover_enabled= None¶A flag whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails.
configuration_endpoint_address= None¶The configuration endpoint address to allow host discovery.
id= None¶The provider-assigned unique ID for this managed resource.
member_clusters= None¶The identifiers of all the nodes that are part of this replication group.
node_type= None¶The cluster node type.
number_cache_clusters= None¶The number of cache clusters that the replication group has.
port= None¶The port number on which the configuration endpoint will accept connections.
primary_endpoint_address= None¶The endpoint of the primary node in this node group (shard).
replication_group_description= None¶The description of the replication group.
replication_group_id= None¶The identifier for the replication group.
snapshot_retention_limit= None¶The number of days for which ElastiCache retains automatic cache cluster snapshots before deleting them.
snapshot_window= None¶The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
- class
pulumi_aws.elasticache.ParameterGroup(resource_name, opts=None, description=None, family=None, name=None, parameters=None, __props__=None, __name__=None, __opts__=None)¶ Provides an ElastiCache parameter group resource.
NOTE: Attempting to remove the
reserved-memoryparameter whenfamilyis set toredis2.6orredis2.8may show a perpetual difference in this provider due to an Elasticache API limitation. Leave that parameter configured with any value to workaround the issue.import pulumi import pulumi_aws as aws default = aws.elasticache.ParameterGroup("default", family="redis2.8", parameters=[ { "name": "activerehashing", "value": "yes", }, { "name": "min-slaves-to-write", "value": "2", }, ])
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – The description of the ElastiCache parameter group. Defaults to “Managed by Pulumi”.
family (pulumi.Input[str]) – The family of the ElastiCache parameter group.
name (pulumi.Input[str]) – The name of the ElastiCache parameter.
parameters (pulumi.Input[list]) – A list of ElastiCache parameters to apply.
The parameters object supports the following:
name(pulumi.Input[str]) - The name of the ElastiCache parameter.value(pulumi.Input[str]) - The value of the ElastiCache parameter.
description: pulumi.Output[str] = None¶The description of the ElastiCache parameter group. Defaults to “Managed by Pulumi”.
family: pulumi.Output[str] = None¶The family of the ElastiCache parameter group.
name: pulumi.Output[str] = None¶The name of the ElastiCache parameter.
parameters: pulumi.Output[list] = None¶A list of ElastiCache parameters to apply.
name(str) - The name of the ElastiCache parameter.value(str) - The value of the ElastiCache parameter.
- static
get(resource_name, id, opts=None, description=None, family=None, name=None, parameters=None)¶ Get an existing ParameterGroup resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – The description of the ElastiCache parameter group. Defaults to “Managed by Pulumi”.
family (pulumi.Input[str]) – The family of the ElastiCache parameter group.
name (pulumi.Input[str]) – The name of the ElastiCache parameter.
parameters (pulumi.Input[list]) – A list of ElastiCache parameters to apply.
The parameters object supports the following:
name(pulumi.Input[str]) - The name of the ElastiCache parameter.value(pulumi.Input[str]) - The value of the ElastiCache parameter.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_aws.elasticache.ReplicationGroup(resource_name, opts=None, apply_immediately=None, at_rest_encryption_enabled=None, auth_token=None, auto_minor_version_upgrade=None, automatic_failover_enabled=None, availability_zones=None, cluster_mode=None, engine=None, engine_version=None, kms_key_id=None, maintenance_window=None, node_type=None, notification_topic_arn=None, number_cache_clusters=None, parameter_group_name=None, port=None, replication_group_description=None, replication_group_id=None, security_group_ids=None, security_group_names=None, snapshot_arns=None, snapshot_name=None, snapshot_retention_limit=None, snapshot_window=None, subnet_group_name=None, tags=None, transit_encryption_enabled=None, __props__=None, __name__=None, __opts__=None)¶ Provides an ElastiCache Replication Group resource. For working with Memcached or single primary Redis instances (Cluster Mode Disabled), see the
elasticache.Clusterresource.Note: When you change an attribute, such as
engine_version, by default the ElastiCache API applies it in the next maintenance window. Because of this, this provider may report a difference in its planning phase because the actual modification has not yet taken place. You can use theapply_immediatelyflag to instruct the service to apply the change immediately. Usingapply_immediatelycan result in a brief downtime as servers reboots.import pulumi import pulumi_aws as aws example = aws.elasticache.ReplicationGroup("example", automatic_failover_enabled=True, availability_zones=[ "us-west-2a", "us-west-2b", ], node_type="cache.m4.large", number_cache_clusters=2, parameter_group_name="default.redis3.2", port=6379, replication_group_description="test description")
import pulumi import pulumi_aws as aws baz = aws.elasticache.ReplicationGroup("baz", automatic_failover_enabled=True, cluster_mode={ "numNodeGroups": 2, "replicasPerNodeGroup": 1, }, node_type="cache.t2.small", parameter_group_name="default.redis3.2.cluster.on", port=6379, replication_group_description="test description")
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
apply_immediately (pulumi.Input[bool]) – Specifies whether any modifications are applied immediately, or during the next maintenance window. Default is
false.at_rest_encryption_enabled (pulumi.Input[bool]) – Whether to enable encryption at rest.
auth_token (pulumi.Input[str]) – The password used to access a password protected server. Can be specified only if
transit_encryption_enabled = true.auto_minor_version_upgrade (pulumi.Input[bool]) – Specifies whether a minor engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Defaults to
true.automatic_failover_enabled (pulumi.Input[bool]) – Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If true, Multi-AZ is enabled for this replication group. If false, Multi-AZ is disabled for this replication group. Must be enabled for Redis (cluster mode enabled) replication groups. Defaults to
false.availability_zones (pulumi.Input[list]) – A list of EC2 availability zones in which the replication group’s cache clusters will be created. The order of the availability zones in the list is not important.
cluster_mode (pulumi.Input[dict]) – Create a native redis cluster.
automatic_failover_enabledmust be set to true. Cluster Mode documented below. Only 1cluster_modeblock is allowed.engine (pulumi.Input[str]) – The name of the cache engine to be used for the clusters in this replication group. e.g.
redisengine_version (pulumi.Input[str]) – The version number of the cache engine to be used for the cache clusters in this replication group.
kms_key_id (pulumi.Input[str]) – The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if
at_rest_encryption_enabled = true.maintenance_window (pulumi.Input[str]) – Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is
ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:05:00-sun:09:00node_type (pulumi.Input[str]) – The compute and memory capacity of the nodes in the node group.
notification_topic_arn (pulumi.Input[str]) – An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example:
arn:aws:sns:us-east-1:012345678999:my_sns_topicnumber_cache_clusters (pulumi.Input[float]) – The number of cache clusters (primary and replicas) this replication group will have. If Multi-AZ is enabled, the value of this parameter must be at least 2. Updates will occur before other modifications.
parameter_group_name (pulumi.Input[str]) – The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used.
port (pulumi.Input[float]) – The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379.
replication_group_description (pulumi.Input[str]) – A user-created description for the replication group.
replication_group_id (pulumi.Input[str]) – The replication group identifier. This parameter is stored as a lowercase string.
security_group_ids (pulumi.Input[list]) – One or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud
security_group_names (pulumi.Input[list]) – A list of cache security group names to associate with this replication group.
snapshot_arns (pulumi.Input[list]) – A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. Example:
arn:aws:s3:::my_bucket/snapshot1.rdbsnapshot_name (pulumi.Input[str]) – The name of a snapshot from which to restore data into the new node group. Changing the
snapshot_nameforces a new resource.snapshot_retention_limit (pulumi.Input[float]) – The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. Please note that setting a
snapshot_retention_limitis not supported on cache.t1.micro or cache.t2.* cache nodessnapshot_window (pulumi.Input[str]) – The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example:
05:00-09:00subnet_group_name (pulumi.Input[str]) – The name of the cache subnet group to be used for the replication group.
tags (pulumi.Input[dict]) – A map of tags to assign to the resource
transit_encryption_enabled (pulumi.Input[bool]) – Whether to enable encryption in transit.
The cluster_mode object supports the following:
numNodeGroups(pulumi.Input[float]) - Specify the number of node groups (shards) for this Redis replication group. Changing this number will trigger an online resizing operation before other settings modifications.replicasPerNodeGroup(pulumi.Input[float]) - Specify the number of replica nodes in each node group. Valid values are 0 to 5. Changing this number will force a new resource.
apply_immediately: pulumi.Output[bool] = None¶Specifies whether any modifications are applied immediately, or during the next maintenance window. Default is
false.
at_rest_encryption_enabled: pulumi.Output[bool] = None¶Whether to enable encryption at rest.
auth_token: pulumi.Output[str] = None¶The password used to access a password protected server. Can be specified only if
transit_encryption_enabled = true.
auto_minor_version_upgrade: pulumi.Output[bool] = None¶Specifies whether a minor engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Defaults to
true.
automatic_failover_enabled: pulumi.Output[bool] = None¶Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If true, Multi-AZ is enabled for this replication group. If false, Multi-AZ is disabled for this replication group. Must be enabled for Redis (cluster mode enabled) replication groups. Defaults to
false.
availability_zones: pulumi.Output[list] = None¶A list of EC2 availability zones in which the replication group’s cache clusters will be created. The order of the availability zones in the list is not important.
cluster_mode: pulumi.Output[dict] = None¶Create a native redis cluster.
automatic_failover_enabledmust be set to true. Cluster Mode documented below. Only 1cluster_modeblock is allowed.numNodeGroups(float) - Specify the number of node groups (shards) for this Redis replication group. Changing this number will trigger an online resizing operation before other settings modifications.replicasPerNodeGroup(float) - Specify the number of replica nodes in each node group. Valid values are 0 to 5. Changing this number will force a new resource.
configuration_endpoint_address: pulumi.Output[str] = None¶The address of the replication group configuration endpoint when cluster mode is enabled.
engine: pulumi.Output[str] = None¶The name of the cache engine to be used for the clusters in this replication group. e.g.
redis
engine_version: pulumi.Output[str] = None¶The version number of the cache engine to be used for the cache clusters in this replication group.
kms_key_id: pulumi.Output[str] = None¶The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if
at_rest_encryption_enabled = true.
maintenance_window: pulumi.Output[str] = None¶Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is
ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:05:00-sun:09:00
member_clusters: pulumi.Output[list] = None¶The identifiers of all the nodes that are part of this replication group.
node_type: pulumi.Output[str] = None¶The compute and memory capacity of the nodes in the node group.
notification_topic_arn: pulumi.Output[str] = None¶An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example:
arn:aws:sns:us-east-1:012345678999:my_sns_topic
number_cache_clusters: pulumi.Output[float] = None¶The number of cache clusters (primary and replicas) this replication group will have. If Multi-AZ is enabled, the value of this parameter must be at least 2. Updates will occur before other modifications.
parameter_group_name: pulumi.Output[str] = None¶The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used.
port: pulumi.Output[float] = None¶The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379.
primary_endpoint_address: pulumi.Output[str] = None¶(Redis only) The address of the endpoint for the primary node in the replication group, if the cluster mode is disabled.
replication_group_description: pulumi.Output[str] = None¶A user-created description for the replication group.
replication_group_id: pulumi.Output[str] = None¶The replication group identifier. This parameter is stored as a lowercase string.
security_group_ids: pulumi.Output[list] = None¶One or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud
security_group_names: pulumi.Output[list] = None¶A list of cache security group names to associate with this replication group.
snapshot_arns: pulumi.Output[list] = None¶A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. Example:
arn:aws:s3:::my_bucket/snapshot1.rdb
snapshot_name: pulumi.Output[str] = None¶The name of a snapshot from which to restore data into the new node group. Changing the
snapshot_nameforces a new resource.
snapshot_retention_limit: pulumi.Output[float] = None¶The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. Please note that setting a
snapshot_retention_limitis not supported on cache.t1.micro or cache.t2.* cache nodes
snapshot_window: pulumi.Output[str] = None¶The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example:
05:00-09:00
subnet_group_name: pulumi.Output[str] = None¶The name of the cache subnet group to be used for the replication group.
A map of tags to assign to the resource
transit_encryption_enabled: pulumi.Output[bool] = None¶Whether to enable encryption in transit.
- static
get(resource_name, id, opts=None, apply_immediately=None, at_rest_encryption_enabled=None, auth_token=None, auto_minor_version_upgrade=None, automatic_failover_enabled=None, availability_zones=None, cluster_mode=None, configuration_endpoint_address=None, engine=None, engine_version=None, kms_key_id=None, maintenance_window=None, member_clusters=None, node_type=None, notification_topic_arn=None, number_cache_clusters=None, parameter_group_name=None, port=None, primary_endpoint_address=None, replication_group_description=None, replication_group_id=None, security_group_ids=None, security_group_names=None, snapshot_arns=None, snapshot_name=None, snapshot_retention_limit=None, snapshot_window=None, subnet_group_name=None, tags=None, transit_encryption_enabled=None)¶ Get an existing ReplicationGroup resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
apply_immediately (pulumi.Input[bool]) – Specifies whether any modifications are applied immediately, or during the next maintenance window. Default is
false.at_rest_encryption_enabled (pulumi.Input[bool]) – Whether to enable encryption at rest.
auth_token (pulumi.Input[str]) – The password used to access a password protected server. Can be specified only if
transit_encryption_enabled = true.auto_minor_version_upgrade (pulumi.Input[bool]) – Specifies whether a minor engine upgrades will be applied automatically to the underlying Cache Cluster instances during the maintenance window. Defaults to
true.automatic_failover_enabled (pulumi.Input[bool]) – Specifies whether a read-only replica will be automatically promoted to read/write primary if the existing primary fails. If true, Multi-AZ is enabled for this replication group. If false, Multi-AZ is disabled for this replication group. Must be enabled for Redis (cluster mode enabled) replication groups. Defaults to
false.availability_zones (pulumi.Input[list]) – A list of EC2 availability zones in which the replication group’s cache clusters will be created. The order of the availability zones in the list is not important.
cluster_mode (pulumi.Input[dict]) – Create a native redis cluster.
automatic_failover_enabledmust be set to true. Cluster Mode documented below. Only 1cluster_modeblock is allowed.configuration_endpoint_address (pulumi.Input[str]) – The address of the replication group configuration endpoint when cluster mode is enabled.
engine (pulumi.Input[str]) – The name of the cache engine to be used for the clusters in this replication group. e.g.
redisengine_version (pulumi.Input[str]) – The version number of the cache engine to be used for the cache clusters in this replication group.
kms_key_id (pulumi.Input[str]) – The ARN of the key that you wish to use if encrypting at rest. If not supplied, uses service managed encryption. Can be specified only if
at_rest_encryption_enabled = true.maintenance_window (pulumi.Input[str]) – Specifies the weekly time range for when maintenance on the cache cluster is performed. The format is
ddd:hh24:mi-ddd:hh24:mi(24H Clock UTC). The minimum maintenance window is a 60 minute period. Example:sun:05:00-sun:09:00member_clusters (pulumi.Input[list]) – The identifiers of all the nodes that are part of this replication group.
node_type (pulumi.Input[str]) – The compute and memory capacity of the nodes in the node group.
notification_topic_arn (pulumi.Input[str]) – An Amazon Resource Name (ARN) of an SNS topic to send ElastiCache notifications to. Example:
arn:aws:sns:us-east-1:012345678999:my_sns_topicnumber_cache_clusters (pulumi.Input[float]) – The number of cache clusters (primary and replicas) this replication group will have. If Multi-AZ is enabled, the value of this parameter must be at least 2. Updates will occur before other modifications.
parameter_group_name (pulumi.Input[str]) – The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used.
port (pulumi.Input[float]) – The port number on which each of the cache nodes will accept connections. For Memcache the default is 11211, and for Redis the default port is 6379.
primary_endpoint_address (pulumi.Input[str]) – (Redis only) The address of the endpoint for the primary node in the replication group, if the cluster mode is disabled.
replication_group_description (pulumi.Input[str]) – A user-created description for the replication group.
replication_group_id (pulumi.Input[str]) – The replication group identifier. This parameter is stored as a lowercase string.
security_group_ids (pulumi.Input[list]) – One or more Amazon VPC security groups associated with this replication group. Use this parameter only when you are creating a replication group in an Amazon Virtual Private Cloud
security_group_names (pulumi.Input[list]) – A list of cache security group names to associate with this replication group.
snapshot_arns (pulumi.Input[list]) – A single-element string list containing an Amazon Resource Name (ARN) of a Redis RDB snapshot file stored in Amazon S3. Example:
arn:aws:s3:::my_bucket/snapshot1.rdbsnapshot_name (pulumi.Input[str]) – The name of a snapshot from which to restore data into the new node group. Changing the
snapshot_nameforces a new resource.snapshot_retention_limit (pulumi.Input[float]) – The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted. If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off. Please note that setting a
snapshot_retention_limitis not supported on cache.t1.micro or cache.t2.* cache nodessnapshot_window (pulumi.Input[str]) – The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster. The minimum snapshot window is a 60 minute period. Example:
05:00-09:00subnet_group_name (pulumi.Input[str]) – The name of the cache subnet group to be used for the replication group.
tags (pulumi.Input[dict]) – A map of tags to assign to the resource
transit_encryption_enabled (pulumi.Input[bool]) – Whether to enable encryption in transit.
The cluster_mode object supports the following:
numNodeGroups(pulumi.Input[float]) - Specify the number of node groups (shards) for this Redis replication group. Changing this number will trigger an online resizing operation before other settings modifications.replicasPerNodeGroup(pulumi.Input[float]) - Specify the number of replica nodes in each node group. Valid values are 0 to 5. Changing this number will force a new resource.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_aws.elasticache.SecurityGroup(resource_name, opts=None, description=None, name=None, security_group_names=None, __props__=None, __name__=None, __opts__=None)¶ Provides an ElastiCache Security Group to control access to one or more cache clusters.
NOTE: ElastiCache Security Groups are for use only when working with an ElastiCache cluster outside of a VPC. If you are using a VPC, see the ElastiCache Subnet Group resource.
import pulumi import pulumi_aws as aws bar_security_group = aws.ec2.SecurityGroup("barSecurityGroup") bar_elasticache_security_group_security_group = aws.elasticache.SecurityGroup("barElasticache/securityGroupSecurityGroup", security_group_names=[bar_security_group.name])
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – description for the cache security group. Defaults to “Managed by Pulumi”.
name (pulumi.Input[str]) – Name for the cache security group. This value is stored as a lowercase string.
security_group_names (pulumi.Input[list]) – List of EC2 security group names to be authorized for ingress to the cache security group
description: pulumi.Output[str] = None¶description for the cache security group. Defaults to “Managed by Pulumi”.
name: pulumi.Output[str] = None¶Name for the cache security group. This value is stored as a lowercase string.
security_group_names: pulumi.Output[list] = None¶List of EC2 security group names to be authorized for ingress to the cache security group
- static
get(resource_name, id, opts=None, description=None, name=None, security_group_names=None)¶ Get an existing SecurityGroup resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – description for the cache security group. Defaults to “Managed by Pulumi”.
name (pulumi.Input[str]) – Name for the cache security group. This value is stored as a lowercase string.
security_group_names (pulumi.Input[list]) – List of EC2 security group names to be authorized for ingress to the cache security group
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_aws.elasticache.SubnetGroup(resource_name, opts=None, description=None, name=None, subnet_ids=None, __props__=None, __name__=None, __opts__=None)¶ Provides an ElastiCache Subnet Group resource.
NOTE: ElastiCache Subnet Groups are only for use when working with an ElastiCache cluster inside of a VPC. If you are on EC2 Classic, see the ElastiCache Security Group resource.
import pulumi import pulumi_aws as aws foo_vpc = aws.ec2.Vpc("fooVpc", cidr_block="10.0.0.0/16", tags={ "Name": "tf-test", }) foo_subnet = aws.ec2.Subnet("fooSubnet", availability_zone="us-west-2a", cidr_block="10.0.0.0/24", tags={ "Name": "tf-test", }, vpc_id=foo_vpc.id) bar = aws.elasticache.SubnetGroup("bar", subnet_ids=[foo_subnet.id])
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – Description for the cache subnet group. Defaults to “Managed by Pulumi”.
name (pulumi.Input[str]) – Name for the cache subnet group. Elasticache converts this name to lowercase.
subnet_ids (pulumi.Input[list]) – List of VPC Subnet IDs for the cache subnet group
description: pulumi.Output[str] = None¶Description for the cache subnet group. Defaults to “Managed by Pulumi”.
name: pulumi.Output[str] = None¶Name for the cache subnet group. Elasticache converts this name to lowercase.
subnet_ids: pulumi.Output[list] = None¶List of VPC Subnet IDs for the cache subnet group
- static
get(resource_name, id, opts=None, description=None, name=None, subnet_ids=None)¶ Get an existing SubnetGroup resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – Description for the cache subnet group. Defaults to “Managed by Pulumi”.
name (pulumi.Input[str]) – Name for the cache subnet group. Elasticache converts this name to lowercase.
subnet_ids (pulumi.Input[list]) – List of VPC Subnet IDs for the cache subnet group
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
pulumi_aws.elasticache.get_cluster(cluster_id=None, tags=None, opts=None)¶Use this data source to get information about an Elasticache Cluster
import pulumi import pulumi_aws as aws my_cluster = aws.elasticache.get_cluster(cluster_id="my-cluster-id")
- Parameters
cluster_id (str) – Group identifier.
tags (dict) – The tags assigned to the resource
pulumi_aws.elasticache.get_replication_group(replication_group_id=None, opts=None)¶Use this data source to get information about an Elasticache Replication Group.
import pulumi import pulumi_aws as aws bar = aws.elasticache.get_replication_group(replication_group_id="example")
- Parameters
replication_group_id (str) – The identifier for the replication group.