<commit_before>require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::ElastiCache::ReplicationGroup
        ##
        class ElastiCacheReplicationGroup < Resource
          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'
          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'
          property :preferred_maintenance_window, 'PreferredMaintenanceWindow'
          property :replication_group_description, 'ReplicationGroupDescription'
          property :security_group_ids, 'SecurityGroupIds'
          property :snapshot_arns, 'SnapshotArns'
          property :snapshot_retention_limit, 'SnapshotRetentionLimit'
          property :snapshot_window, 'SnapshotWindow'
        end
      end
    end
  end
end<commit_msg>Fixes #67; use list types for applicable Replication Group properties<commit_after>require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::ElastiCache::ReplicationGroup
        ##
        class ElastiCacheReplicationGroup < Resource
          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'
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.06960408684546615, 'fraction_numerical': 0.0006385696040868455, 'mean_word_length': 3.5014367816091956, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3753238', 'n_tokens_mistral': 817, 'n_tokens_neox': 809, 'n_words': 168}