<commit_before># Copyright (c) 2012-2019, <NAME> <<EMAIL>>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
# Resource specification version: 6.1.0


from . import AWSObject
from troposphere import Tags
from .validators import boolean


class Ledger(AWSObject):
    resource_type = "AWS::QLDB::Ledger"

    props = {
        'DeletionProtection': (boolean, False),
        'Name': (basestring, False),
        'PermissionsMode': (basestring, True),
        'Tags': (Tags, False),
    }
<commit_msg>Add AWS::QLDB::Stream per 2020-07-08 update<commit_after># Copyright (c) 2012-2019, <NAME> <<EMAIL>>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
# Resource specification version: 16.1.0


from . import AWSObject
from . import AWSProperty
from troposphere import Tags
from .validators import boolean


class Ledger(AWSObject):
    resource_type = "AWS::QLDB::Ledger"

    props = {
        'DeletionProtection': (boolean, False),
        'Name': (basestring, False),
        'PermissionsMode': (basestring, True),
        'Tags': (Tags, False),
    }


class KinesisConfiguration(AWSProperty):
    props = {
        'AggregationEnabled': (boolean, False),
        'StreamArn': (basestring, False),
    }


class Stream(AWSObject):
    resource_type = "AWS::QLDB::Stream"

    props = {
        'ExclusiveEndTime': (basestring, False),
        'InclusiveStartTime': (basestring, True),
        'KinesisConfiguration': (KinesisConfiguration, True),
        'LedgerName': (basestring, True),
        'RoleArn': (basestring, True),
        'StreamName': (basestring, True),
        'Tags': (Tags, False),
    }

{'fraction_non_alphanumeric': 0.13696275071633238, 'fraction_numerical': 0.017765042979942695, 'mean_word_length': 3.3541147132169575, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '616219', 'n_tokens_mistral': 582, 'n_tokens_neox': 545, 'n_words': 150}