Module Members



Create a reference to an externally managed CacheSubnetGroup.

Example usage:

subnets: Elasticache.CacheSubnetGroup.external("MySubnets", AWS.Us-east-1)

Type Signature

 fun (String, Region) -> CacheSubnetGroup
Argument: name

The name of the target CacheSubnetGroup.

Type: String

Argument: region

The region containing the target CacheSubnetGroup.

Type: Region


A reference to the specified CacheSubnetGroup.

Type: CacheSubnetGroup



CacheSubnetGroup Constructor

Call this constructor to create a new Fugue.AWS.Elasticache.CacheSubnetGroup value.

Example usage:

import Fugue.AWS.Elasticache as Elasticache
import Fugue.AWS.Pattern.Network as Network
import Fugue.Core.AWS.Common as AWS

net: Network.new {
  name: "EXAMPLE",
  cidr: "",
  region: AWS.Us-east-1,
  publicSubnets: [
    (AWS.B, ""),
    (AWS.C, "")
  privateSubnets: [
    (AWS.B, ""),
    (AWS.C, "")

subnetGroup: Elasticache.CacheSubnetGroup.new {
  name: "private",
  description: "private subnets",
  subnets: net.privateSubnets,

Type Signature

 fun (Spec) -> CacheSubnetGroup
Argument: spec

A CacheSubnetGroup specification.

Type: Spec


A CacheSubnetGroup value.

Type: CacheSubnetGroup



type Spec:
  name: String
  description: String
  subnets: List<Subnet>

CacheSubnetGroup Specification

Record {

Field: name

The name of the CacheSubnetGroup. A string of up to 255 lowercase alphanumeric characters. May include -.

Type: String

Field: description

Description of the CacheSubnetGroup.

Type: String

Field: subnets

The list of Subnets to include in the CacheSubnetGroup.

Type: List<Subnet>