Sha256: e37ea0d6c9d86360f4bf076cfc44d760d05caa439029fed285d072d5e3dedb5a

Contents?: true

Size: 1.67 KB

Versions: 45

Compression:

Stored size: 1.67 KB

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::ElastiCache::ReplicationGroup
        ##
        class ElastiCacheReplicationGroup < Resource
          include Mixin::Taggable

          type 'AWS::ElastiCache::ReplicationGroup', :elasticache_replication_group
          property :auto_failover_enabled, 'AutomaticFailoverEnabled'
          property :auto_minor_version_upgrade, 'AutoMinorVersionUpgrade'
          property :cache_node_type, 'CacheNodeType'
          property :cache_parameter_group_name, 'CacheParameterGroupName'
          property :cache_security_group_names, 'CacheSecurityGroupNames', :type => :list
          property :cache_subnet_group_name, 'CacheSubnetGroupName'
          property :engine, 'Engine'
          property :engine_version, 'EngineVersion'
          property :notification_topic_arn, 'NotificationTopicArn'
          property :num_cache_clusters, 'NumCacheClusters'
          property :port, 'Port'
          property :preferred_cache_cluster_azs, 'PreferredCacheClusterAZs', :type => :list
          property :preferred_maintenance_window, 'PreferredMaintenanceWindow'
          property :replication_group_description, 'ReplicationGroupDescription'
          property :security_group_ids, 'SecurityGroupIds', :type => :list
          property :snapshot_arns, 'SnapshotArns', :type => :list
          property :snapshot_retention_limit, 'SnapshotRetentionLimit'
          property :snapshot_window, 'SnapshotWindow'

          def render(*args)
            super.tap do |resource|
              render_tags(resource)
            end
          end
        end
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
convection-0.2.23 lib/convection/model/template/resource/aws_elasticache_replication_group.rb
convection-0.2.22 lib/convection/model/template/resource/aws_elasticache_replication_group.rb
convection-0.2.21 lib/convection/model/template/resource/aws_elasticache_replication_group.rb
convection-0.2.20 lib/convection/model/template/resource/aws_elasticache_replication_group.rb
convection-0.2.19 lib/convection/model/template/resource/aws_elasticache_replication_group.rb