Sha256: 1ab1fce2f9717f8da1007159ba7ef8b494bb880d4e9428efdcf85714a3188a72

Contents?: true

Size: 1.27 KB

Versions: 6

Compression:

Stored size: 1.27 KB

Contents

{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Description": "AWS CloudFormation template for standing a redis cluster.",

  "Parameters": {
    "EntryTopic": {
      "Description": "SNS topic that will be used no notify custom resource creation",
      "Type": "String"
    }
  },

  "Resources": {
    "RedisClusterReplicationGroup": {
      "Type": "Custom::ElastiCacheReplicationGroup",
      "Properties": {
        "ServiceToken": {
          "Ref": "EntryTopic"
        },
        "ClusterId": "cluster-id-here",
        "ReplicationGroupId": "dev-redis-rep-group",
        "Description": "Sample replication group for the redis instances"
      }
    },
    "RedisReplicaCluster": {
      "Type": "Custom::ElastiCacheReplicaCluster",
      "Properties": {
        "ServiceToken": {
          "Ref": "EntryTopic"
        },
        "ReplicaClusterId": "dev-redis-replica",
        "ReplicationGroupId": {
          "Fn::GetAtt": ["RedisClusterReplicationGroup", "ReplicationGroupId"]
        }
      }
    }
  },

  "Outputs": {
    "ReplicationGroupId": {
      "Value": {
        "Fn::GetAtt": ["RedisClusterReplicationGroup", "ReplicationGroupId"]
      }
    },
    "ReplicaClusterURLs": {
      "Value": {
        "Fn::GetAtt": [ "RedisReplicaCluster", "NodeURLs" ]
      }
    }
  }

}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cfn-bridge-0.0.16 spec/files/sample-replica-cluster.json
cfn-bridge-0.0.15 spec/files/sample-replica-cluster.json
cfn-bridge-0.0.14 spec/files/sample-replica-cluster.json
cfn-bridge-0.0.13 spec/files/sample-replica-cluster.json
cfn-bridge-0.0.11 spec/files/sample-replica-cluster.json
cfn-bridge-0.0.10 spec/files/sample-replica-cluster.json