NAME

Paws::ElastiCache::CreateCacheParameterGroup - Arguments for method CreateCacheParameterGroup on Paws::ElastiCache

DESCRIPTION

This class represents the parameters used for calling the method CreateCacheParameterGroup on the Amazon ElastiCache service. Use the attributes of this class as arguments to method CreateCacheParameterGroup.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCacheParameterGroup.

SYNOPSIS

my $elasticache = Paws->service('ElastiCache');
# CreateCacheParameterGroup
# Creates the Amazon ElastiCache parameter group custom-redis2-8.
my $CreateCacheParameterGroupResult =
  $elasticache->CreateCacheParameterGroup(
  'CacheParameterGroupFamily' => 'redis2.8',
  'CacheParameterGroupName'   => 'custom-redis2-8',
  'Description'               => 'Custom Redis 2.8 parameter group.'
  );

# Results:
my $CacheParameterGroup =
  $CreateCacheParameterGroupResult->CacheParameterGroup;

# Returns a L<Paws::ElastiCache::CreateCacheParameterGroupResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticache/CreateCacheParameterGroup

ATTRIBUTES

REQUIRED CacheParameterGroupFamily => Str

The name of the cache parameter group family that the cache parameter group can be used with.

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x |

REQUIRED CacheParameterGroupName => Str

A user-specified name for the cache parameter group.

REQUIRED Description => Str

A user-specified description for the cache parameter group.

Tags => ArrayRef[Paws::ElastiCache::Tag]

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateCacheParameterGroup in Paws::ElastiCache

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues