Sha256: 9054e417b84df88adf1534791230fe27fc1aa4ef23543d911a26d2e9be920a3c

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 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": {

    "RedisSecurityGroup": {
      "Type": "AWS::ElastiCache::SecurityGroup",
      "Properties": {
        "Description": "Security group for the cache"
      }
    },

    "ElasticacheCluster": {
      "Type": "AWS::ElastiCache::CacheCluster",
      "Properties": {
        "AutoMinorVersionUpgrade": "true",
        "Engine": "redis",
        "CacheNodeType": "cache.t1.micro",
        "NumCacheNodes": "1",
        "CacheSecurityGroupNames": [
          {
            "Ref": "RedisSecurityGroup"
          }
        ]
      }
    },

    "ElasticacheClusterURLs": {
      "Type": "Custom::ElastiCacheNodeURLs",
      "Properties": {
        "ServiceToken": {
          "Ref": "EntryTopic"
        },
        "ClusterId": {
          "Ref": "ElasticacheCluster"
        }
      }
    }

  },

  "Outputs": {
    "ReplicaURLs": {
      "Value": {
        "Fn::GetAtt": ["ElasticacheClusterURLs", "NodeURLs"]
      }
    }
  }

}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cfn-bridge-0.0.16 spec/files/sample-replication-group-urls-formation.json
cfn-bridge-0.0.15 spec/files/sample-replication-group-urls-formation.json
cfn-bridge-0.0.14 spec/files/sample-replication-group-urls-formation.json