troposphere package

Submodules

troposphere.amazonmq module

class troposphere.amazonmq.Broker(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoMinorVersionUpgrade': (<function boolean at 0x7fa8df38ca28>, True), 'BrokerName': (<type 'basestring'>, True), 'Configuration': (<class 'troposphere.amazonmq.ConfigurationId'>, False), 'DeploymentMode': (<type 'basestring'>, True), 'EngineType': (<type 'basestring'>, True), 'EngineVersion': (<type 'basestring'>, True), 'HostInstanceType': (<type 'basestring'>, True), 'Logs': (<class 'troposphere.amazonmq.LogsConfiguration'>, False), 'MaintenanceWindowStartTime': (<class 'troposphere.amazonmq.MaintenanceWindow'>, False), 'PubliclyAccessible': (<function boolean at 0x7fa8df38ca28>, True), 'SecurityGroups': ([<type 'basestring'>], False), 'SubnetIds': ([<type 'basestring'>], False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'Users': ([<class 'troposphere.amazonmq.User'>], True)}
resource_type = 'AWS::AmazonMQ::Broker'
class troposphere.amazonmq.Configuration(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Data': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'EngineType': (<type 'basestring'>, True), 'EngineVersion': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, True)}
resource_type = 'AWS::AmazonMQ::Configuration'
class troposphere.amazonmq.ConfigurationAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Broker': (<type 'basestring'>, True), 'Configuration': (<class 'troposphere.amazonmq.ConfigurationId'>, True)}
resource_type = 'AWS::AmazonMQ::ConfigurationAssociation'
class troposphere.amazonmq.ConfigurationId(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Id': (<type 'basestring'>, True), 'Revision': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.amazonmq.LogsConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Audit': (<function boolean at 0x7fa8df38ca28>, False), 'General': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.amazonmq.MaintenanceWindow(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DayOfWeek': (<type 'basestring'>, True), 'TimeOfDay': (<type 'basestring'>, True), 'TimeZone': (<type 'basestring'>, True)}
class troposphere.amazonmq.User(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ConsoleAccess': (<function boolean at 0x7fa8df38ca28>, False), 'Groups': ([<type 'basestring'>], False), 'Password': (<type 'basestring'>, True), 'Username': (<type 'basestring'>, True)}

troposphere.analytics module

class troposphere.analytics.Application(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationCode': (<type 'basestring'>, False), 'ApplicationDescription': (<type 'basestring'>, False), 'ApplicationName': (<type 'basestring'>, False), 'Inputs': ([<class 'troposphere.analytics.Input'>], True)}
resource_type = 'AWS::KinesisAnalytics::Application'
class troposphere.analytics.ApplicationOutput(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationName': (<type 'basestring'>, True), 'Output': (<class 'troposphere.analytics.Output'>, True)}
resource_type = 'AWS::KinesisAnalytics::ApplicationOutput'
class troposphere.analytics.ApplicationReferenceDataSource(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationName': (<type 'basestring'>, True), 'ReferenceDataSource': (<class 'troposphere.analytics.ReferenceDataSource'>, True)}
resource_type = 'AWS::KinesisAnalytics::ApplicationReferenceDataSource'
class troposphere.analytics.CSVMappingParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RecordColumnDelimiter': (<type 'basestring'>, True), 'RecordRowDelimiter': (<type 'basestring'>, True)}
class troposphere.analytics.DestinationSchema(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RecordFormatType': (<type 'basestring'>, False)}
class troposphere.analytics.Input(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InputParallelism': (<class 'troposphere.analytics.InputParallelism'>, False), 'InputProcessingConfiguration': (<class 'troposphere.analytics.InputProcessingConfiguration'>, False), 'InputSchema': (<class 'troposphere.analytics.InputSchema'>, True), 'KinesisFirehoseInput': (<class 'troposphere.analytics.KinesisFirehoseInput'>, False), 'KinesisStreamsInput': (<class 'troposphere.analytics.KinesisStreamsInput'>, False), 'NamePrefix': (<type 'basestring'>, True)}
class troposphere.analytics.InputLambdaProcessor(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceARN': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.analytics.InputParallelism(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Count': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.analytics.InputProcessingConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InputLambdaProcessor': (<class 'troposphere.analytics.InputLambdaProcessor'>, False)}
class troposphere.analytics.InputSchema(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RecordColumns': ([<class 'troposphere.analytics.RecordColumn'>], True), 'RecordEncoding': (<type 'basestring'>, False), 'RecordFormat': (<class 'troposphere.analytics.RecordFormat'>, True)}
class troposphere.analytics.JSONMappingParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RecordRowPath': (<type 'basestring'>, True)}
class troposphere.analytics.KinesisFirehoseInput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceARN': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.analytics.KinesisFirehoseOutput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceARN': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.analytics.KinesisStreamsInput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceARN': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.analytics.KinesisStreamsOutput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceARN': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.analytics.LambdaOutput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceARN': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.analytics.MappingParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CSVMappingParameters': (<class 'troposphere.analytics.CSVMappingParameters'>, False), 'JSONMappingParameters': (<class 'troposphere.analytics.JSONMappingParameters'>, False)}
class troposphere.analytics.Output(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DestinationSchema': (<class 'troposphere.analytics.DestinationSchema'>, True), 'KinesisFirehoseOutput': (<class 'troposphere.analytics.KinesisFirehoseOutput'>, False), 'KinesisStreamsOutput': (<class 'troposphere.analytics.KinesisStreamsOutput'>, False), 'LambdaOutput': (<class 'troposphere.analytics.LambdaOutput'>, False), 'Name': (<type 'basestring'>, True)}
class troposphere.analytics.RecordColumn(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Mapping': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'SqlType': (<type 'basestring'>, True)}
class troposphere.analytics.RecordFormat(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MappingParameters': (<class 'troposphere.analytics.MappingParameters'>, False), 'RecordFormatType': (<type 'basestring'>, True)}
class troposphere.analytics.ReferenceDataSource(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ReferenceSchema': (<class 'troposphere.analytics.ReferenceSchema'>, True), 'S3ReferenceDataSource': (<class 'troposphere.analytics.S3ReferenceDataSource'>, False), 'TableName': (<type 'basestring'>, False)}
class troposphere.analytics.ReferenceSchema(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RecordColumns': ([<class 'troposphere.analytics.RecordColumn'>], True), 'RecordEncoding': (<type 'basestring'>, False), 'RecordFormat': (<class 'troposphere.analytics.RecordFormat'>, True)}
class troposphere.analytics.S3ReferenceDataSource(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BucketARN': (<type 'basestring'>, False), 'FileKey': (<type 'basestring'>, False), 'ReferenceRoleARN': (<type 'basestring'>, False)}

troposphere.apigateway module

class troposphere.apigateway.AccessLogSetting(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DestinationArn': (<type 'basestring'>, False), 'Format': (<type 'basestring'>, False)}
class troposphere.apigateway.Account(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CloudWatchRoleArn': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGateway::Account'
class troposphere.apigateway.ApiKey(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CustomerId': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'GenerateDistinctId': (<function boolean at 0x7fa8df38ca28>, False), 'Name': (<type 'basestring'>, False), 'StageKeys': ([<class 'troposphere.apigateway.StageKey'>], False)}
resource_type = 'AWS::ApiGateway::ApiKey'
class troposphere.apigateway.ApiStage(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ApiId': (<type 'basestring'>, False), 'Stage': (<type 'basestring'>, False), 'Throttle': (<class 'troposphere.apigateway.ThrottleSettings'>, False)}
class troposphere.apigateway.Authorizer(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AuthType': (<type 'basestring'>, False), 'AuthorizerCredentials': (<type 'basestring'>, False), 'AuthorizerResultTtlInSeconds': (<function validate_authorizer_ttl at 0x7fa8df3a39b0>, False), 'AuthorizerUri': (<type 'basestring'>, True), 'IdentitySource': (<type 'basestring'>, True), 'IdentityValidationExpression': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'ProviderARNs': ([<type 'basestring'>], False), 'RestApiId': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGateway::Authorizer'
class troposphere.apigateway.BasePathMapping(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'BasePath': (<type 'basestring'>, False), 'DomainName': (<type 'basestring'>, True), 'RestApiId': (<type 'basestring'>, True), 'Stage': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGateway::BasePathMapping'
class troposphere.apigateway.CanarySetting(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeploymentId': (<type 'basestring'>, False), 'PercentTraffic': ([<function double at 0x7fa8df38cc80>], False), 'StageVariableOverrides': (<type 'dict'>, False), 'UseStageCache': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.apigateway.ClientCertificate(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGateway::ClientCertificate'
class troposphere.apigateway.Deployment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DeploymentCanarySettings': (<class 'troposphere.apigateway.DeploymentCanarySettings'>, False), 'Description': (<type 'basestring'>, False), 'RestApiId': (<type 'basestring'>, True), 'StageDescription': (<class 'troposphere.apigateway.StageDescription'>, False), 'StageName': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGateway::Deployment'
troposphere.apigateway.DeploymentCanarySetting

alias of troposphere.apigateway.DeploymentCanarySettings

class troposphere.apigateway.DeploymentCanarySettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PercentTraffic': ([<function double at 0x7fa8df38cc80>], False), 'StageVariableOverrides': (<type 'dict'>, False), 'UseStageCache': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.apigateway.DocumentationPart(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Location': (<class 'troposphere.apigateway.Location'>, True), 'Properties': (<type 'basestring'>, True), 'RestApiId': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGateway::DocumentationPart'
class troposphere.apigateway.DocumentationVersion(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'DocumentationVersion': (<type 'basestring'>, True), 'RestApiId': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGateway::DocumentationVersion'
class troposphere.apigateway.DomainName(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CertificateArn': (<type 'basestring'>, False), 'DomainName': (<type 'basestring'>, True), 'EndpointConfiguration': (<class 'troposphere.apigateway.EndpointConfiguration'>, False), 'RegionalCertificateArn': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGateway::DomainName'
class troposphere.apigateway.EndpointConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Types': ([<type 'basestring'>], False)}
class troposphere.apigateway.GatewayResponse(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ResponseParameters': (<type 'dict'>, False), 'ResponseTemplates': (<type 'dict'>, False), 'ResponseType': (<function validate_gateway_response_type at 0x7fa8df3a3a28>, True), 'RestApiId': (<type 'basestring'>, True), 'StatusCode': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGateway::GatewayResponse'
class troposphere.apigateway.Integration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CacheKeyParameters': ([<type 'basestring'>], False), 'CacheNamespace': (<type 'basestring'>, False), 'ConnectionId': (<type 'basestring'>, False), 'ConnectionType': (<type 'basestring'>, False), 'ContentHandling': (<type 'basestring'>, False), 'Credentials': (<type 'basestring'>, False), 'IntegrationHttpMethod': (<type 'basestring'>, False), 'IntegrationResponses': ([<class 'troposphere.apigateway.IntegrationResponse'>], False), 'PassthroughBehavior': (<type 'basestring'>, False), 'RequestParameters': (<type 'dict'>, False), 'RequestTemplates': (<type 'dict'>, False), 'TimeoutInMillis': (<function integer_range_checker at 0x7fa8df3a3b18>, False), 'Type': (<type 'basestring'>, True), 'Uri': (<type 'basestring'>, False)}
class troposphere.apigateway.IntegrationResponse(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContentHandling': (<type 'basestring'>, False), 'ResponseParameters': (<type 'dict'>, False), 'ResponseTemplates': (<type 'dict'>, False), 'SelectionPattern': (<type 'basestring'>, False), 'StatusCode': (<type 'basestring'>, False)}
class troposphere.apigateway.Location(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Method': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'Path': (<type 'basestring'>, False), 'StatusCode': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, False)}
class troposphere.apigateway.Method(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiKeyRequired': (<type 'bool'>, False), 'AuthorizationScopes': ([<type 'basestring'>], False), 'AuthorizationType': (<type 'basestring'>, True), 'AuthorizerId': (<type 'basestring'>, False), 'HttpMethod': (<type 'basestring'>, True), 'Integration': (<class 'troposphere.apigateway.Integration'>, False), 'MethodResponses': ([<class 'troposphere.apigateway.MethodResponse'>], False), 'OperationName': (<type 'basestring'>, False), 'RequestModels': (<type 'dict'>, False), 'RequestParameters': (<type 'dict'>, False), 'RequestValidatorId': (<type 'basestring'>, False), 'ResourceId': (<type 'basestring'>, True), 'RestApiId': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGateway::Method'
class troposphere.apigateway.MethodResponse(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResponseModels': (<type 'dict'>, False), 'ResponseParameters': (<type 'dict'>, False), 'StatusCode': (<type 'basestring'>, True)}
class troposphere.apigateway.MethodSetting(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CacheDataEncrypted': (<type 'bool'>, False), 'CacheTtlInSeconds': (<function positive_integer at 0x7fa8df38cb18>, False), 'CachingEnabled': (<type 'bool'>, False), 'DataTraceEnabled': (<type 'bool'>, False), 'HttpMethod': (<type 'basestring'>, True), 'LoggingLevel': (<type 'basestring'>, False), 'MetricsEnabled': (<type 'bool'>, False), 'ResourcePath': (<type 'basestring'>, True), 'ThrottlingBurstLimit': (<function positive_integer at 0x7fa8df38cb18>, False), 'ThrottlingRateLimit': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.apigateway.Model(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ContentType': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'RestApiId': (<type 'basestring'>, True), 'Schema': ((<type 'basestring'>, <type 'dict'>), False)}
resource_type = 'AWS::ApiGateway::Model'
validate()[source]
class troposphere.apigateway.QuotaSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Limit': (<function positive_integer at 0x7fa8df38cb18>, False), 'Offset': (<function positive_integer at 0x7fa8df38cb18>, False), 'Period': (<type 'basestring'>, False)}
class troposphere.apigateway.RequestValidator(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Name': (<type 'basestring'>, True), 'RestApiId': (<type 'basestring'>, True), 'ValidateRequestBody': (<function boolean at 0x7fa8df38ca28>, False), 'ValidateRequestParameters': (<function boolean at 0x7fa8df38ca28>, False)}
resource_type = 'AWS::ApiGateway::RequestValidator'
class troposphere.apigateway.Resource(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ParentId': (<type 'basestring'>, True), 'PathPart': (<type 'basestring'>, True), 'RestApiId': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGateway::Resource'
class troposphere.apigateway.RestApi(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiKeySourceType': (<type 'basestring'>, False), 'BinaryMediaTypes': ([<type 'basestring'>], False), 'Body': (<type 'dict'>, False), 'BodyS3Location': (<class 'troposphere.apigateway.S3Location'>, False), 'CloneFrom': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'EndpointConfiguration': (<class 'troposphere.apigateway.EndpointConfiguration'>, False), 'FailOnWarnings': (<type 'basestring'>, False), 'MinimumCompressionSize': (<function positive_integer at 0x7fa8df38cb18>, False), 'Name': (<type 'basestring'>, False), 'Parameters': (<type 'dict'>, False), 'Policy': (<type 'dict'>, False)}
resource_type = 'AWS::ApiGateway::RestApi'
class troposphere.apigateway.S3Location(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Bucket': (<type 'basestring'>, False), 'ETag': (<type 'basestring'>, False), 'Key': (<type 'basestring'>, False), 'Version': (<type 'basestring'>, False)}
class troposphere.apigateway.Stage(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AccessLogSetting': (<class 'troposphere.apigateway.AccessLogSetting'>, False), 'CacheClusterEnabled': (<type 'bool'>, False), 'CacheClusterSize': (<type 'basestring'>, False), 'CanarySetting': (<class 'troposphere.apigateway.CanarySetting'>, False), 'ClientCertificateId': (<type 'basestring'>, False), 'DeploymentId': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'DocumentationVersion': (<type 'basestring'>, False), 'MethodSettings': ([<class 'troposphere.apigateway.MethodSetting'>], False), 'RestApiId': (<type 'basestring'>, True), 'StageName': (<type 'basestring'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'Variables': (<type 'dict'>, False)}
resource_type = 'AWS::ApiGateway::Stage'
troposphere.apigateway.StageCanarySetting

alias of troposphere.apigateway.CanarySetting

class troposphere.apigateway.StageDescription(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AccessLogSetting': (<class 'troposphere.apigateway.AccessLogSetting'>, False), 'CacheClusterEnabled': (<type 'bool'>, False), 'CacheClusterSize': (<type 'basestring'>, False), 'CacheDataEncrypted': (<type 'bool'>, False), 'CacheTtlInSeconds': (<function positive_integer at 0x7fa8df38cb18>, False), 'CachingEnabled': (<type 'bool'>, False), 'CanarySetting': (<class 'troposphere.apigateway.DeploymentCanarySettings'>, False), 'ClientCertificateId': (<type 'basestring'>, False), 'DataTraceEnabled': (<type 'bool'>, False), 'Description': (<type 'basestring'>, False), 'LoggingLevel': (<type 'basestring'>, False), 'MethodSettings': ([<class 'troposphere.apigateway.MethodSetting'>], False), 'MetricsEnabled': (<type 'bool'>, False), 'StageName': (<type 'basestring'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'ThrottlingBurstLimit': (<function positive_integer at 0x7fa8df38cb18>, False), 'ThrottlingRateLimit': (<function positive_integer at 0x7fa8df38cb18>, False), 'Variables': (<type 'dict'>, False)}
validate()[source]
class troposphere.apigateway.StageKey(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RestApiId': (<type 'basestring'>, False), 'StageName': (<type 'basestring'>, False)}
class troposphere.apigateway.ThrottleSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BurstLimit': (<function positive_integer at 0x7fa8df38cb18>, False), 'RateLimit': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.apigateway.UsagePlan(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiStages': ([<class 'troposphere.apigateway.ApiStage'>], False), 'Description': (<type 'basestring'>, False), 'Quota': (<class 'troposphere.apigateway.QuotaSettings'>, False), 'Throttle': (<class 'troposphere.apigateway.ThrottleSettings'>, False), 'UsagePlanName': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGateway::UsagePlan'
class troposphere.apigateway.UsagePlanKey(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'KeyId': (<type 'basestring'>, True), 'KeyType': (<type 'basestring'>, True), 'UsagePlanId': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGateway::UsagePlanKey'

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'TargetArns': ([<type 'basestring'>], True)}
resource_type = 'AWS::ApiGateway::VpcLink'
troposphere.apigateway.validate_authorizer_ttl(ttl_value)[source]

Validate authorizer ttl timeout :param ttl_value: The TTL timeout in seconds :return: The provided TTL value if valid

troposphere.apigateway.validate_gateway_response_type(response_type)[source]

Validate response type :param response_type: The GatewayResponse response type :return: The provided value if valid

troposphere.apigatewayv2 module

class troposphere.apigatewayv2.AccessLogSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DestinationArn': (<type 'basestring'>, False), 'Format': (<type 'basestring'>, False)}
class troposphere.apigatewayv2.Api(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiKeySelectionExpression': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'DisableSchemaValidation': (<function boolean at 0x7fa8df38ca28>, False), 'Name': (<type 'basestring'>, True), 'ProtocolType': (<type 'basestring'>, True), 'RouteSelectionExpression': (<type 'basestring'>, True), 'Version': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGatewayV2::Api'
class troposphere.apigatewayv2.Authorizer(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'AuthorizerCredentialsArn': (<type 'basestring'>, False), 'AuthorizerResultTtlInSeconds': (<function validate_authorizer_ttl at 0x7fa8df243230>, False), 'AuthorizerType': (<function validate_authorizer_type at 0x7fa8df3a3f50>, True), 'AuthorizerUri': (<type 'basestring'>, True), 'IdentitySource': ([<type 'basestring'>], True), 'IdentityValidationExpression': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGatewayV2::Authorizer'
class troposphere.apigatewayv2.Deployment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'StageName': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGatewayV2::Deployment'
class troposphere.apigatewayv2.Integration(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'ConnectionType': (<type 'basestring'>, False), 'ContentHandlingStrategy': (<function validate_content_handling_strategy at 0x7fa8df2431b8>, False), 'CredentialsArn': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'IntegrationMethod': (<type 'basestring'>, False), 'IntegrationType': (<function validate_integration_type at 0x7fa8df3a3d70>, True), 'IntegrationUri': (<type 'basestring'>, False), 'PassthroughBehavior': (<function validate_passthrough_behavior at 0x7fa8df243140>, False), 'RequestParameters': (<type 'dict'>, False), 'RequestTemplates': (<type 'dict'>, False), 'TemplateSelectionExpression': (<type 'basestring'>, False), 'TimeoutInMillis': (<function integer_range_checker at 0x7fa8df243320>, False)}
resource_type = 'AWS::ApiGatewayV2::Integration'
class troposphere.apigatewayv2.IntegrationResponse(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'ContentHandlingStrategy': (<function validate_content_handling_strategy at 0x7fa8df2431b8>, False), 'IntegrationId': (<type 'basestring'>, True), 'IntegrationResponseKey': (<type 'basestring'>, True), 'ResponseParameters': (<type 'dict'>, False), 'ResponseTemplates': (<type 'dict'>, False), 'TemplateSelectionExpression': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGatewayV2::IntegrationResponse'
class troposphere.apigatewayv2.Model(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'ContentType': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'Schema': ((<type 'basestring'>, <type 'dict'>), True)}
resource_type = 'AWS::ApiGatewayV2::Model'
validate()[source]
class troposphere.apigatewayv2.Route(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'ApiKeyRequired': (<function boolean at 0x7fa8df38ca28>, False), 'AuthorizationScopes': ([<type 'basestring'>], False), 'AuthorizationType': (<type 'basestring'>, False), 'AuthorizerId': (<type 'basestring'>, False), 'ModelSelectionExpression': (<type 'basestring'>, False), 'OperationName': (<type 'basestring'>, False), 'RequestModels': (<type 'dict'>, False), 'RequestParameters': (<type 'dict'>, False), 'RouteKey': (<type 'basestring'>, True), 'RouteResponseSelectionExpression': (<type 'basestring'>, False), 'Target': (<type 'basestring'>, False)}
resource_type = 'AWS::ApiGatewayV2::Route'
class troposphere.apigatewayv2.RouteResponse(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'ModelSelectionExpression': (<type 'basestring'>, False), 'ResponseModels': (<type 'dict'>, False), 'ResponseParameters': (<type 'dict'>, False), 'RouteId': (<type 'basestring'>, True), 'RouteResponseKey': (<type 'basestring'>, True)}
resource_type = 'AWS::ApiGatewayV2::RouteResponse'
class troposphere.apigatewayv2.RouteSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DataTraceEnabled': (<type 'basestring'>, False), 'DetailedMetricsEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'LoggingLevel': (<function validate_logging_level at 0x7fa8df2430c8>, False), 'ThrottlingBurstLimit': (<function positive_integer at 0x7fa8df38cb18>, False), 'ThrottlingRateLimit': (<function double at 0x7fa8df38cc80>, False)}
class troposphere.apigatewayv2.Stage(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AccessLogSettings': (<class 'troposphere.apigatewayv2.AccessLogSettings'>, False), 'ApiId': (<type 'basestring'>, True), 'ClientCertificateId': (<type 'basestring'>, False), 'DefaultRouteSettings': (<class 'troposphere.apigatewayv2.RouteSettings'>, False), 'DeploymentId': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'RouteSettings': (<type 'dict'>, False), 'StageName': (<type 'basestring'>, True), 'StageVariables': (<type 'dict'>, False)}
resource_type = 'AWS::ApiGatewayV2::Stage'
troposphere.apigatewayv2.validate_authorizer_ttl(ttl_value)[source]

Validate authorizer ttl timeout :param ttl_value: The TTL timeout in seconds :return: The provided TTL value if valid

troposphere.apigatewayv2.validate_authorizer_type(authorizer_type)[source]
troposphere.apigatewayv2.validate_content_handling_strategy(content_handling_strategy)[source]
troposphere.apigatewayv2.validate_integration_type(integration_type)[source]
troposphere.apigatewayv2.validate_logging_level(logging_level)[source]
troposphere.apigatewayv2.validate_passthrough_behavior(passthrough_behavior)[source]

troposphere.applicationautoscaling module

class troposphere.applicationautoscaling.CustomizedMetricSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Dimensions': ([<class 'troposphere.applicationautoscaling.MetricDimension'>], False), 'MetricName': (<type 'basestring'>, False), 'Namespace': (<type 'basestring'>, False), 'Statistic': (<type 'basestring'>, False), 'Unit': (<type 'basestring'>, True)}
class troposphere.applicationautoscaling.MetricDimension(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
class troposphere.applicationautoscaling.PredefinedMetricSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PredefinedMetricType': (<type 'basestring'>, True), 'ResourceLabel': (<type 'basestring'>, False)}
class troposphere.applicationautoscaling.ScalableTarget(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'MaxCapacity': (<function integer at 0x7fa8df38caa0>, True), 'MinCapacity': (<function integer at 0x7fa8df38caa0>, True), 'ResourceId': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True), 'ScalableDimension': (<type 'basestring'>, True), 'ScheduledActions': ([<class 'troposphere.applicationautoscaling.ScheduledAction'>], False), 'ServiceNamespace': (<type 'basestring'>, True)}
resource_type = 'AWS::ApplicationAutoScaling::ScalableTarget'
class troposphere.applicationautoscaling.ScalableTargetAction(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaxCapacity': (<function integer at 0x7fa8df38caa0>, False), 'MinCapacity': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.applicationautoscaling.ScalingPolicy(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'PolicyName': (<type 'basestring'>, True), 'PolicyType': (<type 'basestring'>, False), 'ResourceId': (<type 'basestring'>, False), 'ScalableDimension': (<type 'basestring'>, False), 'ScalingTargetId': (<type 'basestring'>, False), 'ServiceNamespace': (<type 'basestring'>, False), 'StepScalingPolicyConfiguration': (<class 'troposphere.applicationautoscaling.StepScalingPolicyConfiguration'>, False), 'TargetTrackingScalingPolicyConfiguration': (<class 'troposphere.applicationautoscaling.TargetTrackingScalingPolicyConfiguration'>, False)}
resource_type = 'AWS::ApplicationAutoScaling::ScalingPolicy'
class troposphere.applicationautoscaling.ScheduledAction(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EndTime': (<type 'basestring'>, False), 'ScalableTargetAction': (<class 'troposphere.applicationautoscaling.ScalableTargetAction'>, False), 'Schedule': (<type 'basestring'>, True), 'ScheduledActionName': (<type 'basestring'>, True), 'StartTime': (<type 'basestring'>, False)}
class troposphere.applicationautoscaling.StepAdjustment(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MetricIntervalLowerBound': (<function integer at 0x7fa8df38caa0>, False), 'MetricIntervalUpperBound': (<function integer at 0x7fa8df38caa0>, False), 'ScalingAdjustment': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.applicationautoscaling.StepScalingPolicyConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AdjustmentType': (<type 'basestring'>, False), 'Cooldown': (<function integer at 0x7fa8df38caa0>, False), 'MetricAggregationType': (<type 'basestring'>, False), 'MinAdjustmentMagnitude': (<function integer at 0x7fa8df38caa0>, False), 'StepAdjustments': ([<class 'troposphere.applicationautoscaling.StepAdjustment'>], False)}
class troposphere.applicationautoscaling.TargetTrackingScalingPolicyConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CustomizedMetricSpecification': (<class 'troposphere.applicationautoscaling.CustomizedMetricSpecification'>, False), 'DisableScaleIn': (<function boolean at 0x7fa8df38ca28>, False), 'PredefinedMetricSpecification': (<class 'troposphere.applicationautoscaling.PredefinedMetricSpecification'>, False), 'ScaleInCooldown': (<function positive_integer at 0x7fa8df38cb18>, False), 'ScaleOutCooldown': (<function positive_integer at 0x7fa8df38cb18>, False), 'TargetValue': (<function double at 0x7fa8df38cc80>, True)}

troposphere.appstream module

class troposphere.appstream.ApplicationSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Enabled': (<function boolean at 0x7fa8df38ca28>, True), 'SettingsGroup': (<type 'basestring'>, False)}
class troposphere.appstream.ComputeCapacity(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DesiredInstances': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.appstream.DirectoryConfig(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DirectoryName': (<type 'basestring'>, True), 'OrganizationalUnitDistinguishedNames': ([<type 'basestring'>], True), 'ServiceAccountCredentials': (<class 'troposphere.appstream.ServiceAccountCredentials'>, True)}
resource_type = 'AWS::AppStream::DirectoryConfig'
class troposphere.appstream.DomainJoinInfo(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DirectoryName': (<type 'basestring'>, False), 'OrganizationalUnitDistinguishedName': (<type 'basestring'>, False)}
class troposphere.appstream.Fleet(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ComputeCapacity': (<class 'troposphere.appstream.ComputeCapacity'>, True), 'Description': (<type 'basestring'>, False), 'DisconnectTimeoutInSeconds': (<function integer at 0x7fa8df38caa0>, False), 'DisplayName': (<type 'basestring'>, False), 'DomainJoinInfo': (<class 'troposphere.appstream.DomainJoinInfo'>, False), 'EnableDefaultInternetAccess': (<function boolean at 0x7fa8df38ca28>, False), 'FleetType': (<type 'basestring'>, False), 'ImageArn': (<type 'basestring'>, False), 'ImageName': (<type 'basestring'>, False), 'InstanceType': (<type 'basestring'>, True), 'MaxUserDurationInSeconds': (<function integer at 0x7fa8df38caa0>, False), 'Name': (<type 'basestring'>, False), 'VpcConfig': (<class 'troposphere.appstream.VpcConfig'>, False)}
resource_type = 'AWS::AppStream::Fleet'
class troposphere.appstream.ImageBuilder(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AppstreamAgentVersion': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'DisplayName': (<type 'basestring'>, False), 'DomainJoinInfo': (<class 'troposphere.appstream.DomainJoinInfo'>, False), 'EnableDefaultInternetAccess': (<function boolean at 0x7fa8df38ca28>, False), 'ImageArn': (<type 'basestring'>, False), 'ImageName': (<type 'basestring'>, False), 'InstanceType': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False), 'VpcConfig': (<class 'troposphere.appstream.VpcConfig'>, False)}
resource_type = 'AWS::AppStream::ImageBuilder'
class troposphere.appstream.ServiceAccountCredentials(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AccountName': (<type 'basestring'>, True), 'AccountPassword': (<type 'basestring'>, True)}
class troposphere.appstream.Stack(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationSettings': (<class 'troposphere.appstream.ApplicationSettings'>, False), 'AttributesToDelete': ([<type 'basestring'>], False), 'DeleteStorageConnectors': (<function boolean at 0x7fa8df38ca28>, False), 'Description': (<type 'basestring'>, False), 'DisplayName': (<type 'basestring'>, False), 'FeedbackURL': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'RedirectURL': (<type 'basestring'>, False), 'StorageConnectors': ([<class 'troposphere.appstream.StorageConnector'>], False), 'UserSettings': ([<class 'troposphere.appstream.UserSetting'>], False)}
resource_type = 'AWS::AppStream::Stack'
class troposphere.appstream.StackFleetAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'FleetName': (<type 'basestring'>, True), 'StackName': (<type 'basestring'>, True)}
resource_type = 'AWS::AppStream::StackFleetAssociation'
class troposphere.appstream.StackUserAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AuthenticationType': (<type 'basestring'>, True), 'SendEmailNotification': (<function boolean at 0x7fa8df38ca28>, False), 'StackName': (<type 'basestring'>, True), 'UserName': (<type 'basestring'>, True)}
resource_type = 'AWS::AppStream::StackUserAssociation'
class troposphere.appstream.StorageConnector(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ConnectorType': (<type 'basestring'>, True), 'Domains': ([<type 'basestring'>], False), 'ResourceIdentifier': (<type 'basestring'>, False)}
class troposphere.appstream.User(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AuthenticationType': (<type 'basestring'>, True), 'FirstName': (<type 'basestring'>, False), 'LastName': (<type 'basestring'>, False), 'MessageAction': (<type 'basestring'>, False), 'UserName': (<type 'basestring'>, True)}
resource_type = 'AWS::AppStream::User'
class troposphere.appstream.UserSetting(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Action': (<type 'basestring'>, True), 'Permission': (<type 'basestring'>, True)}
class troposphere.appstream.VpcConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SecurityGroupIds': ([<type 'basestring'>], False), 'SubnetIds': ([<type 'basestring'>], False)}

troposphere.appsync module

class troposphere.appsync.ApiKey(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'Expires': (<function integer at 0x7fa8df38caa0>, False)}
resource_type = 'AWS::AppSync::ApiKey'
class troposphere.appsync.AuthorizationConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AuthorizationType': (<type 'basestring'>, True), 'AwsIamConfig': (<class 'troposphere.appsync.AwsIamConfig'>, False)}
class troposphere.appsync.AwsIamConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SigningRegion': (<type 'basestring'>, False), 'SigningServiceName': (<type 'basestring'>, False)}
class troposphere.appsync.DataSource(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'DynamoDBConfig': (<class 'troposphere.appsync.DynamoDBConfig'>, False), 'ElasticsearchConfig': (<class 'troposphere.appsync.ElasticsearchConfig'>, False), 'HttpConfig': (<class 'troposphere.appsync.HttpConfig'>, False), 'LambdaConfig': (<class 'troposphere.appsync.LambdaConfig'>, False), 'Name': (<type 'basestring'>, True), 'RelationalDatabaseConfig': (<class 'troposphere.appsync.RelationalDatabaseConfig'>, False), 'ServiceRoleArn': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True)}
resource_type = 'AWS::AppSync::DataSource'
class troposphere.appsync.DynamoDBConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AwsRegion': (<type 'basestring'>, True), 'TableName': (<type 'basestring'>, True), 'UseCallerCredentials': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.appsync.ElasticsearchConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AwsRegion': (<type 'basestring'>, True), 'Endpoint': (<type 'basestring'>, True)}
class troposphere.appsync.FunctionConfiguration(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'DataSourceName': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'FunctionVersion': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'RequestMappingTemplate': (<type 'basestring'>, False), 'RequestMappingTemplateS3Location': (<type 'basestring'>, False), 'ResponseMappingTemplate': (<type 'basestring'>, False), 'ResponseMappingTemplateS3Location': (<type 'basestring'>, False)}
resource_type = 'AWS::AppSync::FunctionConfiguration'
class troposphere.appsync.GraphQLApi(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AuthenticationType': (<type 'basestring'>, True), 'LogConfig': (<class 'troposphere.appsync.LogConfig'>, False), 'Name': (<type 'basestring'>, True), 'OpenIDConnectConfig': (<class 'troposphere.appsync.OpenIDConnectConfig'>, False), 'UserPoolConfig': (<class 'troposphere.appsync.UserPoolConfig'>, False)}
resource_type = 'AWS::AppSync::GraphQLApi'
class troposphere.appsync.GraphQLSchema(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'Definition': (<type 'basestring'>, False), 'DefinitionS3Location': (<type 'basestring'>, False)}
resource_type = 'AWS::AppSync::GraphQLSchema'
class troposphere.appsync.HttpConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AuthorizationConfig': (<class 'troposphere.appsync.AuthorizationConfig'>, False), 'Endpoint': (<type 'basestring'>, True)}
class troposphere.appsync.LambdaConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LambdaFunctionArn': (<type 'basestring'>, True)}
class troposphere.appsync.LogConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CloudWatchLogsRoleArn': (<type 'basestring'>, False), 'FieldLogLevel': (<type 'basestring'>, False)}
class troposphere.appsync.OpenIDConnectConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AuthTTL': (<type 'float'>, False), 'ClientId': (<type 'basestring'>, False), 'IatTTL': (<type 'float'>, False), 'Issuer': (<type 'basestring'>, True)}
class troposphere.appsync.PipelineConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Functions': ([<type 'basestring'>], False)}
class troposphere.appsync.RdsHttpEndpointConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AwsRegion': (<type 'basestring'>, False), 'AwsSecretStoreArn': (<type 'basestring'>, False), 'DatabaseName': (<type 'basestring'>, False), 'DbClusterIdentifier': (<type 'basestring'>, False), 'Schema': (<type 'basestring'>, False)}
class troposphere.appsync.RelationalDatabaseConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RdsHttpEndpointConfig': (<class 'troposphere.appsync.RdsHttpEndpointConfig'>, False), 'RelationalDatasourceType': (<type 'basestring'>, False)}
class troposphere.appsync.Resolver(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApiId': (<type 'basestring'>, True), 'DataSourceName': (<type 'basestring'>, False), 'FieldName': (<type 'basestring'>, True), 'Kind': (<function resolver_kind_validator at 0x7fa8df3a3ed8>, False), 'PipelineConfig': (<class 'troposphere.appsync.PipelineConfig'>, False), 'RequestMappingTemplate': (<type 'basestring'>, False), 'RequestMappingTemplateS3Location': (<type 'basestring'>, False), 'ResponseMappingTemplate': (<type 'basestring'>, False), 'ResponseMappingTemplateS3Location': (<type 'basestring'>, False), 'TypeName': (<type 'basestring'>, True)}
resource_type = 'AWS::AppSync::Resolver'
class troposphere.appsync.UserPoolConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AppIdClientRegex': (<type 'basestring'>, False), 'AwsRegion': (<type 'basestring'>, False), 'DefaultAction': (<type 'basestring'>, False), 'UserPoolId': (<type 'basestring'>, False)}
troposphere.appsync.resolver_kind_validator(x)[source]

troposphere.ask module

class troposphere.ask.AuthenticationConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DefaultAttributes': (<function json_checker at 0x7fa8df39b5f0>, False), 'DeviceTemplates': (<function json_checker at 0x7fa8df39b5f0>, False)}
class troposphere.ask.Skill(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AuthenticationConfiguration': (<class 'troposphere.ask.AuthenticationConfiguration'>, True), 'SkillPackage': (<class 'troposphere.ask.SkillPackage'>, True), 'VendorId': (<type 'basestring'>, True)}
resource_type = 'Alexa::ASK::Skill'
class troposphere.ask.SkillPackage(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ClientId': (<type 'basestring'>, True), 'ClientSecret': (<type 'basestring'>, True), 'RefreshToken': (<type 'basestring'>, True)}

troposphere.athena module

class troposphere.athena.NamedQuery(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Database': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'QueryString': (<type 'basestring'>, True)}
resource_type = 'AWS::Athena::NamedQuery'

troposphere.autoscaling module

class troposphere.autoscaling.AutoScalingGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoScalingGroupName': (<type 'basestring'>, False), 'AvailabilityZones': (<type 'list'>, False), 'Cooldown': (<function integer at 0x7fa8df38caa0>, False), 'DesiredCapacity': (<function integer at 0x7fa8df38caa0>, False), 'HealthCheckGracePeriod': (<function integer at 0x7fa8df38caa0>, False), 'HealthCheckType': (<type 'basestring'>, False), 'InstanceId': (<type 'basestring'>, False), 'LaunchConfigurationName': (<type 'basestring'>, False), 'LaunchTemplate': (<class 'troposphere.autoscaling.LaunchTemplateSpecification'>, False), 'LifecycleHookSpecificationList': ([<class 'troposphere.autoscaling.LifecycleHookSpecification'>], False), 'LoadBalancerNames': (<type 'list'>, False), 'MaxSize': (<function integer at 0x7fa8df38caa0>, True), 'MetricsCollection': ([<class 'troposphere.autoscaling.MetricsCollection'>], False), 'MinSize': (<function integer at 0x7fa8df38caa0>, True), 'MixedInstancesPolicy': (<class 'troposphere.autoscaling.MixedInstancesPolicy'>, False), 'NotificationConfigurations': ([<class 'troposphere.autoscaling.NotificationConfigurations'>], False), 'PlacementGroup': (<type 'basestring'>, False), 'ServiceLinkedRoleARN': (<type 'basestring'>, False), 'Tags': ((<class 'troposphere.autoscaling.Tags'>, <type 'list'>), False), 'TargetGroupARNs': ([<type 'basestring'>], False), 'TerminationPolicies': ([<type 'basestring'>], False), 'VPCZoneIdentifier': (<type 'list'>, False)}
resource_type = 'AWS::AutoScaling::AutoScalingGroup'
validate()[source]
class troposphere.autoscaling.BlockDeviceMapping(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeviceName': (<type 'basestring'>, True), 'Ebs': (<class 'troposphere.autoscaling.EBSBlockDevice'>, False), 'NoDevice': (<function boolean at 0x7fa8df38ca28>, False), 'VirtualName': (<type 'basestring'>, False)}
class troposphere.autoscaling.CustomizedMetricSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Dimensions': ([<class 'troposphere.autoscaling.MetricDimension'>], False), 'MetricName': (<type 'basestring'>, True), 'Namespace': (<type 'basestring'>, True), 'Statistic': (<type 'basestring'>, True), 'Unit': (<type 'basestring'>, False)}
class troposphere.autoscaling.EBSBlockDevice(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeleteOnTermination': (<function boolean at 0x7fa8df38ca28>, False), 'Encrypted': (<function boolean at 0x7fa8df38ca28>, False), 'Iops': (<function integer at 0x7fa8df38caa0>, False), 'SnapshotId': (<type 'basestring'>, False), 'VolumeSize': (<function integer at 0x7fa8df38caa0>, False), 'VolumeType': (<type 'basestring'>, False)}
class troposphere.autoscaling.InstancesDistribution(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'OnDemandAllocationStrategy': (<type 'basestring'>, False), 'OnDemandBaseCapacity': (<function integer at 0x7fa8df38caa0>, False), 'OnDemandPercentageAboveBaseCapacity': (<function integer at 0x7fa8df38caa0>, False), 'SpotAllocationStrategy': (<type 'basestring'>, False), 'SpotInstancePools': (<function integer at 0x7fa8df38caa0>, False), 'SpotMaxPrice': (<type 'basestring'>, False)}
class troposphere.autoscaling.LaunchConfiguration(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AssociatePublicIpAddress': (<function boolean at 0x7fa8df38ca28>, False), 'BlockDeviceMappings': (<type 'list'>, False), 'ClassicLinkVPCId': (<type 'basestring'>, False), 'ClassicLinkVPCSecurityGroups': ([<type 'basestring'>], False), 'EbsOptimized': (<function boolean at 0x7fa8df38ca28>, False), 'IamInstanceProfile': (<type 'basestring'>, False), 'ImageId': (<type 'basestring'>, True), 'InstanceId': (<type 'basestring'>, False), 'InstanceMonitoring': (<function boolean at 0x7fa8df38ca28>, False), 'InstanceType': (<type 'basestring'>, True), 'KernelId': (<type 'basestring'>, False), 'KeyName': (<type 'basestring'>, False), 'LaunchConfigurationName': (<type 'basestring'>, False), 'Metadata': (<class 'troposphere.autoscaling.Metadata'>, False), 'PlacementTenancy': (<type 'basestring'>, False), 'RamDiskId': (<type 'basestring'>, False), 'SecurityGroups': (<type 'list'>, False), 'SpotPrice': (<type 'basestring'>, False), 'UserData': (<type 'basestring'>, False)}
resource_type = 'AWS::AutoScaling::LaunchConfiguration'
class troposphere.autoscaling.LaunchTemplate(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LaunchTemplateSpecification': (<class 'troposphere.autoscaling.LaunchTemplateSpecification'>, True), 'Overrides': ([<class 'troposphere.autoscaling.LaunchTemplateOverrides'>], True)}
class troposphere.autoscaling.LaunchTemplateOverrides(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InstanceType': (<type 'basestring'>, False)}
class troposphere.autoscaling.LaunchTemplateSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LaunchTemplateId': (<type 'basestring'>, False), 'LaunchTemplateName': (<type 'basestring'>, False), 'Version': (<type 'basestring'>, True)}
validate()[source]
class troposphere.autoscaling.LifecycleHook(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoScalingGroupName': (<type 'basestring'>, True), 'DefaultResult': (<type 'basestring'>, False), 'HeartbeatTimeout': (<function integer at 0x7fa8df38caa0>, False), 'LifecycleHookName': (<type 'basestring'>, False), 'LifecycleTransition': (<type 'basestring'>, True), 'NotificationMetadata': (<type 'basestring'>, False), 'NotificationTargetARN': (<type 'basestring'>, False), 'RoleARN': (<type 'basestring'>, False)}
resource_type = 'AWS::AutoScaling::LifecycleHook'
class troposphere.autoscaling.LifecycleHookSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DefaultResult': (<type 'basestring'>, False), 'HeartbeatTimeout': (<type 'basestring'>, False), 'LifecycleHookName': (<type 'basestring'>, True), 'LifecycleTransition': (<type 'basestring'>, True), 'NotificationMetadata': (<type 'basestring'>, False), 'NotificationTargetARN': (<type 'basestring'>, False), 'RoleARN': (<type 'basestring'>, False)}
class troposphere.autoscaling.Metadata(init, authentication=None)[source]

Bases: troposphere.AWSHelperFn

validate(init, authentication)[source]
class troposphere.autoscaling.MetricDimension(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
class troposphere.autoscaling.MetricsCollection(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Granularity': (<type 'basestring'>, True), 'Metrics': (<type 'list'>, False)}
class troposphere.autoscaling.MixedInstancesPolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InstancesDistribution': (<class 'troposphere.autoscaling.InstancesDistribution'>, False), 'LaunchTemplate': (<class 'troposphere.autoscaling.LaunchTemplate'>, True)}
class troposphere.autoscaling.NotificationConfigurations(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'NotificationTypes': (<type 'list'>, True), 'TopicARN': (<type 'basestring'>, True)}
class troposphere.autoscaling.PredefinedMetricSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PredefinedMetricType': (<type 'basestring'>, True), 'ResourceLabel': (<type 'basestring'>, False)}
class troposphere.autoscaling.ScalingPolicy(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AdjustmentType': (<type 'basestring'>, False), 'AutoScalingGroupName': (<type 'basestring'>, True), 'Cooldown': (<function integer at 0x7fa8df38caa0>, False), 'EstimatedInstanceWarmup': (<function integer at 0x7fa8df38caa0>, False), 'MetricAggregationType': (<type 'basestring'>, False), 'MinAdjustmentMagnitude': (<function integer at 0x7fa8df38caa0>, False), 'PolicyType': (<type 'basestring'>, False), 'ScalingAdjustment': (<function integer at 0x7fa8df38caa0>, False), 'StepAdjustments': ([<class 'troposphere.autoscaling.StepAdjustments'>], False), 'TargetTrackingConfiguration': (<class 'troposphere.autoscaling.TargetTrackingConfiguration'>, False)}
resource_type = 'AWS::AutoScaling::ScalingPolicy'
class troposphere.autoscaling.ScheduledAction(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoScalingGroupName': (<type 'basestring'>, True), 'DesiredCapacity': (<function integer at 0x7fa8df38caa0>, False), 'EndTime': (<type 'basestring'>, False), 'MaxSize': (<function integer at 0x7fa8df38caa0>, False), 'MinSize': (<function integer at 0x7fa8df38caa0>, False), 'Recurrence': (<type 'basestring'>, False), 'StartTime': (<type 'basestring'>, False)}
resource_type = 'AWS::AutoScaling::ScheduledAction'
class troposphere.autoscaling.StepAdjustments(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MetricIntervalLowerBound': (<function integer at 0x7fa8df38caa0>, False), 'MetricIntervalUpperBound': (<function integer at 0x7fa8df38caa0>, False), 'ScalingAdjustment': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.autoscaling.Tag(key, value, propogate)[source]

Bases: troposphere.AWSHelperFn

class troposphere.autoscaling.Tags(**kwargs)[source]

Bases: troposphere.AWSHelperFn

defaultPropagateAtLaunch = True
manyType = [<type 'list'>, <type 'tuple'>]
to_dict()[source]
class troposphere.autoscaling.TargetTrackingConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CustomizedMetricSpecification': (<class 'troposphere.autoscaling.CustomizedMetricSpecification'>, False), 'DisableScaleIn': (<function boolean at 0x7fa8df38ca28>, False), 'PredefinedMetricSpecification': (<class 'troposphere.autoscaling.PredefinedMetricSpecification'>, False), 'TargetValue': (<type 'float'>, True)}
class troposphere.autoscaling.Trigger(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoScalingGroupName': (<type 'basestring'>, True), 'BreachDuration': (<function integer at 0x7fa8df38caa0>, True), 'Dimensions': (<type 'list'>, True), 'LowerBreachScaleIncrement': (<function integer at 0x7fa8df38caa0>, False), 'LowerThreshold': (<function integer at 0x7fa8df38caa0>, True), 'MetricName': (<type 'basestring'>, True), 'Namespace': (<type 'basestring'>, True), 'Period': (<function integer at 0x7fa8df38caa0>, True), 'Statistic': (<type 'basestring'>, True), 'Unit': (<type 'basestring'>, False), 'UpperBreachScaleIncrement': (<function integer at 0x7fa8df38caa0>, False), 'UpperThreshold': (<function integer at 0x7fa8df38caa0>, True)}
resource_type = 'AWS::AutoScaling::Trigger'

troposphere.autoscalingplans module

class troposphere.autoscalingplans.ApplicationSource(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CloudFormationStackARN': (<type 'basestring'>, False), 'TagFilters': ([<class 'troposphere.autoscalingplans.TagFilter'>], False)}
class troposphere.autoscalingplans.CustomizedLoadMetricSpecification(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Dimensions': ([<class 'troposphere.autoscalingplans.MetricDimension'>], False), 'MetricName': (<type 'basestring'>, True), 'Namespace': (<type 'basestring'>, True), 'Statistic': (<type 'basestring'>, True), 'Unit': (<type 'basestring'>, False)}
class troposphere.autoscalingplans.CustomizedScalingMetricSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Dimensions': ([<class 'troposphere.autoscalingplans.MetricDimension'>], False), 'MetricName': (<type 'basestring'>, True), 'Namespace': (<type 'basestring'>, True), 'Statistic': (<function statistic_type at 0x7fa8df39bb18>, True), 'Unit': (<type 'basestring'>, False)}
class troposphere.autoscalingplans.MetricDimension(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
class troposphere.autoscalingplans.PredefinedLoadMetricSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PredefinedLoadMetricType': (<type 'basestring'>, True), 'ResourceLabel': (<type 'basestring'>, False)}
class troposphere.autoscalingplans.PredefinedScalingMetricSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PredefinedScalingMetricType': (<type 'basestring'>, True), 'ResourceLabel': (<type 'basestring'>, False)}
class troposphere.autoscalingplans.ScalingInstruction(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CustomizedLoadMetricSpecification': (<class 'troposphere.autoscalingplans.CustomizedLoadMetricSpecification'>, False), 'DisableDynamicScaling': (<function boolean at 0x7fa8df38ca28>, False), 'MaxCapacity': (<function integer at 0x7fa8df38caa0>, True), 'MinCapacity': (<function integer at 0x7fa8df38caa0>, True), 'PredefinedLoadMetricSpecification': (<class 'troposphere.autoscalingplans.PredefinedLoadMetricSpecification'>, False), 'PredictiveScalingMaxCapacityBehavior': (<function validate_predictivescalingmaxcapacitybehavior at 0x7fa8df140398>, False), 'PredictiveScalingMaxCapacityBuffer': (<function integer at 0x7fa8df38caa0>, False), 'PredictiveScalingMode': (<function validate_predictivescalingmode at 0x7fa8df229c80>, False), 'ResourceId': (<type 'basestring'>, True), 'ScalableDimension': (<function scalable_dimension_type at 0x7fa8df39ba28>, True), 'ScalingPolicyUpdateBehavior': (<function validate_scalingpolicyupdatebehavior at 0x7fa8df229e60>, False), 'ScheduledActionBufferTime': (<function integer at 0x7fa8df38caa0>, False), 'ServiceNamespace': (<function service_namespace_type at 0x7fa8df39baa0>, True), 'TargetTrackingConfigurations': ([<class 'troposphere.autoscalingplans.TargetTrackingConfiguration'>], True)}
class troposphere.autoscalingplans.ScalingPlan(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationSource': (<class 'troposphere.autoscalingplans.ApplicationSource'>, True), 'ScalingInstructions': ([<class 'troposphere.autoscalingplans.ScalingInstruction'>], True)}
resource_type = 'AWS::AutoScalingPlans::ScalingPlan'
class troposphere.autoscalingplans.TagFilter(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'Values': ([<type 'basestring'>], False)}
class troposphere.autoscalingplans.TargetTrackingConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CustomizedScalingMetricSpecification': (<class 'troposphere.autoscalingplans.CustomizedScalingMetricSpecification'>, False), 'DisableScaleIn': (<function boolean at 0x7fa8df38ca28>, False), 'EstimatedInstanceWarmup': (<function integer at 0x7fa8df38caa0>, False), 'PredefinedScalingMetricSpecification': (<class 'troposphere.autoscalingplans.PredefinedScalingMetricSpecification'>, False), 'ScaleInCooldown': (<function integer at 0x7fa8df38caa0>, False), 'ScaleOutCooldown': (<function integer at 0x7fa8df38caa0>, False), 'TargetValue': (<function double at 0x7fa8df38cc80>, True)}
troposphere.autoscalingplans.validate_predictivescalingmaxcapacitybehavior(predictivescalingmaxcapacitybehavior)[source]

Validate PredictiveScalingMaxCapacityBehavior for ScalingInstruction

troposphere.autoscalingplans.validate_predictivescalingmode(predictivescalingmode)[source]

Validate PredictiveScalingMode for ScalingInstruction

troposphere.autoscalingplans.validate_scalingpolicyupdatebehavior(scalingpolicyupdatebehavior)[source]

Validate ScalingPolicyUpdateBehavior for ScalingInstruction

troposphere.awslambda module

class troposphere.awslambda.Alias(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'FunctionName': (<type 'basestring'>, True), 'FunctionVersion': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, True), 'RoutingConfig': (<class 'troposphere.awslambda.AliasRoutingConfiguration'>, False)}
resource_type = 'AWS::Lambda::Alias'
class troposphere.awslambda.AliasRoutingConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AdditionalVersionWeights': ([<class 'troposphere.awslambda.VersionWeight'>], True)}
class troposphere.awslambda.Code(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

static check_zip_file(zip_file)[source]
props = {'S3Bucket': (<type 'basestring'>, False), 'S3Key': (<type 'basestring'>, False), 'S3ObjectVersion': (<type 'basestring'>, False), 'ZipFile': (<type 'basestring'>, False)}
validate()[source]
class troposphere.awslambda.Content(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'S3Bucket': (<type 'basestring'>, True), 'S3Key': (<type 'basestring'>, True), 'S3ObjectVersion': (<type 'basestring'>, False)}
class troposphere.awslambda.DeadLetterConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'TargetArn': (<type 'basestring'>, False)}
class troposphere.awslambda.Environment(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Variables': (<function validate_variables_name at 0x7fa8df24a578>, True)}
class troposphere.awslambda.EventSourceMapping(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'BatchSize': (<function positive_integer at 0x7fa8df38cb18>, False), 'Enabled': (<type 'bool'>, False), 'EventSourceArn': (<type 'basestring'>, True), 'FunctionName': (<type 'basestring'>, True), 'StartingPosition': (<type 'basestring'>, False)}
resource_type = 'AWS::Lambda::EventSourceMapping'
class troposphere.awslambda.Function(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Code': (<class 'troposphere.awslambda.Code'>, True), 'DeadLetterConfig': (<class 'troposphere.awslambda.DeadLetterConfig'>, False), 'Description': (<type 'basestring'>, False), 'Environment': (<class 'troposphere.awslambda.Environment'>, False), 'FunctionName': (<type 'basestring'>, False), 'Handler': (<type 'basestring'>, True), 'KmsKeyArn': (<type 'basestring'>, False), 'Layers': ([<type 'basestring'>], False), 'MemorySize': (<function validate_memory_size at 0x7fa8df24a398>, False), 'ReservedConcurrentExecutions': (<function positive_integer at 0x7fa8df38cb18>, False), 'Role': (<type 'basestring'>, True), 'Runtime': (<type 'basestring'>, True), 'Tags': (<class 'troposphere.Tags'>, False), 'Timeout': (<function positive_integer at 0x7fa8df38cb18>, False), 'TracingConfig': (<class 'troposphere.awslambda.TracingConfig'>, False), 'VpcConfig': (<class 'troposphere.awslambda.VPCConfig'>, False)}
resource_type = 'AWS::Lambda::Function'
class troposphere.awslambda.LayerVersion(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CompatibleRuntimes': ([<type 'basestring'>], False), 'Content': (<class 'troposphere.awslambda.Content'>, True), 'Description': (<type 'basestring'>, False), 'LayerName': (<type 'basestring'>, False), 'LicenseInfo': (<type 'basestring'>, False)}
resource_type = 'AWS::Lambda::LayerVersion'
class troposphere.awslambda.LayerVersionPermission(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Action': (<type 'basestring'>, True), 'LayerVersionArn': (<type 'basestring'>, True), 'OrganizationId': (<type 'basestring'>, False), 'Principal': (<type 'basestring'>, True)}
resource_type = 'AWS::Lambda::LayerVersionPermission'
class troposphere.awslambda.Permission(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Action': (<type 'basestring'>, True), 'EventSourceToken': (<type 'basestring'>, False), 'FunctionName': (<type 'basestring'>, True), 'Principal': (<type 'basestring'>, True), 'SourceAccount': (<type 'basestring'>, False), 'SourceArn': (<type 'basestring'>, False)}
resource_type = 'AWS::Lambda::Permission'
class troposphere.awslambda.TracingConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Mode': (<type 'basestring'>, False)}
class troposphere.awslambda.VPCConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SecurityGroupIds': (<type 'list'>, True), 'SubnetIds': (<type 'list'>, True)}
class troposphere.awslambda.Version(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CodeSha256': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'FunctionName': (<type 'basestring'>, True)}
resource_type = 'AWS::Lambda::Version'
class troposphere.awslambda.VersionWeight(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'FunctionVersion': (<type 'basestring'>, True), 'FunctionWeight': (<type 'float'>, True)}
troposphere.awslambda.validate_memory_size(memory_value)[source]

Validate memory size for Lambda Function :param memory_value: The memory size specified in the Function :return: The provided memory size if it is valid

troposphere.awslambda.validate_variables_name(variables)[source]

troposphere.batch module

class troposphere.batch.ComputeEnvironment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ComputeEnvironmentName': (<type 'basestring'>, False), 'ComputeResources': (<class 'troposphere.batch.ComputeResources'>, True), 'ServiceRole': (<type 'basestring'>, True), 'State': (<function validate_environment_state at 0x7fa8ded72c80>, False), 'Type': (<type 'basestring'>, True)}
resource_type = 'AWS::Batch::ComputeEnvironment'
class troposphere.batch.ComputeEnvironmentOrder(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ComputeEnvironment': (<type 'basestring'>, True), 'Order': (<function positive_integer at 0x7fa8df38cb18>, True)}
class troposphere.batch.ComputeResources(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BidPercentage': (<function positive_integer at 0x7fa8df38cb18>, False), 'DesiredvCpus': (<function positive_integer at 0x7fa8df38cb18>, False), 'Ec2KeyPair': (<type 'basestring'>, False), 'ImageId': (<type 'basestring'>, False), 'InstanceRole': (<type 'basestring'>, True), 'InstanceTypes': ([<type 'basestring'>], True), 'LaunchTemplate': (<class 'troposphere.batch.LaunchTemplateSpecification'>, False), 'MaxvCpus': (<function positive_integer at 0x7fa8df38cb18>, True), 'MinvCpus': (<function positive_integer at 0x7fa8df38cb18>, True), 'PlacementGroup': (<type 'basestring'>, False), 'SecurityGroupIds': ([<type 'basestring'>], True), 'SpotIamFleetRole': (<type 'basestring'>, False), 'Subnets': ([<type 'basestring'>], True), 'Tags': (<type 'dict'>, False), 'Type': (<type 'basestring'>, True)}
class troposphere.batch.ContainerProperties(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Command': ([<type 'basestring'>], False), 'Environment': ([<class 'troposphere.batch.Environment'>], False), 'Image': (<type 'basestring'>, True), 'JobRoleArn': (<type 'basestring'>, False), 'Memory': (<function positive_integer at 0x7fa8df38cb18>, True), 'MountPoints': ([<class 'troposphere.batch.MountPoints'>], False), 'Privileged': (<type 'bool'>, False), 'ReadonlyRootFilesystem': (<type 'bool'>, False), 'Ulimits': ([<class 'troposphere.batch.Ulimit'>], False), 'User': (<type 'basestring'>, False), 'Vcpus': (<function positive_integer at 0x7fa8df38cb18>, True), 'Volumes': ([<class 'troposphere.batch.Volumes'>], False)}
class troposphere.batch.Environment(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, False), 'Value': (<type 'basestring'>, False)}
class troposphere.batch.JobDefinition(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ContainerProperties': (<class 'troposphere.batch.ContainerProperties'>, True), 'JobDefinitionName': (<type 'basestring'>, False), 'Parameters': (<type 'dict'>, True), 'RetryStrategy': (<class 'troposphere.batch.RetryStrategy'>, False), 'Timeout': (<class 'troposphere.batch.Timeout'>, False), 'Type': (<type 'basestring'>, True)}
resource_type = 'AWS::Batch::JobDefinition'
class troposphere.batch.JobQueue(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ComputeEnvironmentOrder': ([<class 'troposphere.batch.ComputeEnvironmentOrder'>], True), 'JobQueueName': (<type 'basestring'>, False), 'Priority': (<function positive_integer at 0x7fa8df38cb18>, True), 'State': (<function validate_queue_state at 0x7fa8df4d4758>, False)}
resource_type = 'AWS::Batch::JobQueue'
class troposphere.batch.LaunchTemplateSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LaunchTemplateId': (<type 'basestring'>, False), 'LaunchTemplateName': (<type 'basestring'>, False), 'Version': (<type 'basestring'>, False)}
validate()[source]
class troposphere.batch.MountPoints(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContainerPath': (<type 'basestring'>, False), 'ReadOnly': (<type 'bool'>, False), 'SourceVolume': (<type 'basestring'>, False)}
class troposphere.batch.RetryStrategy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Attempts': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.batch.Timeout(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AttemptDurationSeconds': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.batch.Ulimit(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'HardLimit': (<function positive_integer at 0x7fa8df38cb18>, True), 'Name': (<type 'basestring'>, True), 'SoftLimit': (<function positive_integer at 0x7fa8df38cb18>, True)}
class troposphere.batch.Volumes(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Host': (<class 'troposphere.batch.VolumesHost'>, False), 'Name': (<type 'basestring'>, False)}
class troposphere.batch.VolumesHost(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SourcePath': (<type 'basestring'>, False)}
troposphere.batch.validate_environment_state(environment_state)[source]

Validate response type :param environment_state: State of the environment :return: The provided value if valid

troposphere.batch.validate_queue_state(queue_state)[source]

Validate response type :param queue_state: State of the queue :return: The provided value if valid

troposphere.budgets module

class troposphere.budgets.Budget(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Budget': (<class 'troposphere.budgets.BudgetData'>, True), 'NotificationsWithSubscribers': ([<class 'troposphere.budgets.NotificationWithSubscribers'>], False)}
resource_type = 'AWS::Budgets::Budget'
class troposphere.budgets.BudgetData(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BudgetLimit': (<class 'troposphere.budgets.Spend'>, False), 'BudgetName': (<type 'basestring'>, False), 'BudgetType': (<type 'basestring'>, True), 'CostFilters': (<type 'dict'>, False), 'CostTypes': (<class 'troposphere.budgets.CostTypes'>, False), 'TimePeriod': (<class 'troposphere.budgets.TimePeriod'>, False), 'TimeUnit': (<type 'basestring'>, True)}
class troposphere.budgets.CostTypes(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'IncludeCredit': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeDiscount': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeOtherSubscription': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeRecurring': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeRefund': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeSubscription': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeSupport': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeTax': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeUpfront': (<function boolean at 0x7fa8df38ca28>, False), 'UseAmortized': (<function boolean at 0x7fa8df38ca28>, False), 'UseBlended': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.budgets.Notification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ComparisonOperator': (<type 'basestring'>, True), 'NotificationType': (<type 'basestring'>, True), 'Threshold': (<type 'float'>, True), 'ThresholdType': (<type 'basestring'>, False)}
class troposphere.budgets.NotificationWithSubscribers(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Notification': (<class 'troposphere.budgets.Notification'>, True), 'Subscribers': ([<class 'troposphere.budgets.Subscriber'>], True)}
class troposphere.budgets.Spend(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Amount': (<type 'float'>, True), 'Unit': (<type 'basestring'>, True)}
class troposphere.budgets.Subscriber(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Address': (<type 'basestring'>, True), 'SubscriptionType': (<type 'basestring'>, True)}
class troposphere.budgets.TimePeriod(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'End': (<type 'basestring'>, False), 'Start': (<type 'basestring'>, False)}

troposphere.certificatemanager module

class troposphere.certificatemanager.Certificate(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DomainName': (<type 'basestring'>, True), 'DomainValidationOptions': ([<class 'troposphere.certificatemanager.DomainValidationOption'>], False), 'SubjectAlternativeNames': ([<type 'basestring'>], False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'ValidationMethod': (<type 'basestring'>, False)}
resource_type = 'AWS::CertificateManager::Certificate'
class troposphere.certificatemanager.DomainValidationOption(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DomainName': (<type 'basestring'>, True), 'ValidationDomain': (<type 'basestring'>, True)}

troposphere.cloud9 module

class troposphere.cloud9.EnvironmentEC2(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutomaticStopTimeMinutes': (<function integer at 0x7fa8df38caa0>, False), 'Description': (<type 'basestring'>, False), 'InstanceType': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False), 'OwnerArn': (<type 'basestring'>, False), 'Repositories': ([<class 'troposphere.cloud9.Repository'>], False), 'SubnetId': (<type 'basestring'>, False)}
resource_type = 'AWS::Cloud9::EnvironmentEC2'
class troposphere.cloud9.Repository(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PathComponent': (<type 'basestring'>, True), 'RepositoryUrl': (<type 'basestring'>, True)}

troposphere.cloudformation module

class troposphere.cloudformation.AWSCustomObject(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.BaseAWSObject

dictname = 'Properties'
class troposphere.cloudformation.Authentication(data)[source]

Bases: troposphere.AWSHelperFn

validate(data)[source]
class troposphere.cloudformation.AuthenticationBlock(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'accessKeyId': (<type 'basestring'>, False), 'buckets': ([<type 'basestring'>], False), 'password': (<type 'basestring'>, False), 'roleName': (<type 'basestring'>, False), 'secretKey': (<type 'basestring'>, False), 'type': (<function validate_authentication_type at 0x7fa8df243ed8>, False), 'uris': ([<type 'basestring'>], False), 'username': (<type 'basestring'>, False)}
class troposphere.cloudformation.CustomResource(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.cloudformation.AWSCustomObject

props = {'ServiceToken': (<type 'basestring'>, True)}
resource_type = 'AWS::CloudFormation::CustomResource'
class troposphere.cloudformation.Init(data, **kwargs)[source]

Bases: troposphere.AWSHelperFn

validate(data, config_sets)[source]
class troposphere.cloudformation.InitConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'commands': (<type 'dict'>, False), 'files': (<type 'dict'>, False), 'groups': (<type 'dict'>, False), 'packages': (<type 'dict'>, False), 'services': (<type 'dict'>, False), 'sources': (<type 'dict'>, False), 'users': (<type 'dict'>, False)}
class troposphere.cloudformation.InitConfigSets(**kwargs)[source]

Bases: troposphere.AWSHelperFn

validate(config_sets)[source]
class troposphere.cloudformation.InitFile(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'authentication': (<type 'basestring'>, False), 'content': (<type 'basestring'>, False), 'context': (<class 'troposphere.cloudformation.InitFileContext'>, False), 'encoding': (<function encoding at 0x7fa8df39b050>, False), 'group': (<type 'basestring'>, False), 'mode': (<type 'basestring'>, False), 'owner': (<type 'basestring'>, False), 'source': (<type 'basestring'>, False)}
class troposphere.cloudformation.InitFileContext(data)[source]

Bases: troposphere.AWSHelperFn

class troposphere.cloudformation.InitFiles(data)[source]

Bases: troposphere.AWSHelperFn

validate(data)[source]
class troposphere.cloudformation.InitService(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'commands': (<type 'list'>, False), 'enabled': (<function boolean at 0x7fa8df38ca28>, False), 'ensureRunning': (<function boolean at 0x7fa8df38ca28>, False), 'files': (<type 'list'>, False), 'packages': (<type 'dict'>, False), 'sources': (<type 'list'>, False)}
class troposphere.cloudformation.InitServices(data)[source]

Bases: troposphere.AWSHelperFn

validate(data)[source]
class troposphere.cloudformation.Macro(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.cloudformation.AWSCustomObject

props = {'Description': (<type 'basestring'>, False), 'FunctionName': (<type 'basestring'>, True), 'LogGroupName': (<type 'basestring'>, False), 'LogRoleARN': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True)}
resource_type = 'AWS::CloudFormation::Macro'
class troposphere.cloudformation.Metadata(*args)[source]

Bases: troposphere.AWSHelperFn

to_dict()[source]
class troposphere.cloudformation.Stack(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'NotificationARNs': ([<type 'basestring'>], False), 'Parameters': (<type 'dict'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'TemplateURL': (<type 'basestring'>, True), 'TimeoutInMinutes': (<function integer at 0x7fa8df38caa0>, False)}
resource_type = 'AWS::CloudFormation::Stack'
class troposphere.cloudformation.WaitCondition(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Count': (<function integer at 0x7fa8df38caa0>, False), 'Handle': (<type 'basestring'>, False), 'Timeout': (<function integer at 0x7fa8df38caa0>, False)}
resource_type = 'AWS::CloudFormation::WaitCondition'
validate()[source]
class troposphere.cloudformation.WaitConditionHandle(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {}
resource_type = 'AWS::CloudFormation::WaitConditionHandle'
troposphere.cloudformation.validate_authentication_type(auth_type)[source]

troposphere.cloudfront module

class troposphere.cloudfront.CacheBehavior(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllowedMethods': ([<type 'basestring'>], False), 'CachedMethods': ([<type 'basestring'>], False), 'Compress': (<function boolean at 0x7fa8df38ca28>, False), 'DefaultTTL': (<function integer at 0x7fa8df38caa0>, False), 'FieldLevelEncryptionId': (<type 'basestring'>, False), 'ForwardedValues': (<class 'troposphere.cloudfront.ForwardedValues'>, True), 'LambdaFunctionAssociations': ([<class 'troposphere.cloudfront.LambdaFunctionAssociation'>], False), 'MaxTTL': (<function integer at 0x7fa8df38caa0>, False), 'MinTTL': (<function integer at 0x7fa8df38caa0>, False), 'PathPattern': (<type 'basestring'>, True), 'SmoothStreaming': (<function boolean at 0x7fa8df38ca28>, False), 'TargetOriginId': (<type 'basestring'>, True), 'TrustedSigners': ([<type 'basestring'>], False), 'ViewerProtocolPolicy': (<function cloudfront_viewer_protocol_policy at 0x7fa8df39bc80>, True)}
class troposphere.cloudfront.CloudFrontOriginAccessIdentity(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CloudFrontOriginAccessIdentityConfig': (<class 'troposphere.cloudfront.CloudFrontOriginAccessIdentityConfig'>, True)}
resource_type = 'AWS::CloudFront::CloudFrontOriginAccessIdentity'
class troposphere.cloudfront.CloudFrontOriginAccessIdentityConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Comment': (<type 'basestring'>, True)}
class troposphere.cloudfront.Cookies(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Forward': (<function cloudfront_forward_type at 0x7fa8df39bd70>, True), 'WhitelistedNames': ([<type 'basestring'>], False)}
class troposphere.cloudfront.CustomErrorResponse(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ErrorCachingMinTTL': (<function positive_integer at 0x7fa8df38cb18>, False), 'ErrorCode': (<function positive_integer at 0x7fa8df38cb18>, True), 'ResponseCode': (<function positive_integer at 0x7fa8df38cb18>, False), 'ResponsePagePath': (<type 'basestring'>, False)}
class troposphere.cloudfront.CustomOriginConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'HTTPPort': (<function network_port at 0x7fa8df38cde8>, False), 'HTTPSPort': (<function network_port at 0x7fa8df38cde8>, False), 'OriginKeepaliveTimeout': (<function integer at 0x7fa8df38caa0>, False), 'OriginProtocolPolicy': (<type 'basestring'>, True), 'OriginReadTimeout': (<function integer at 0x7fa8df38caa0>, False), 'OriginSSLProtocols': ([<type 'basestring'>], False)}
class troposphere.cloudfront.DefaultCacheBehavior(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllowedMethods': ([<type 'basestring'>], False), 'CachedMethods': ([<type 'basestring'>], False), 'Compress': (<function boolean at 0x7fa8df38ca28>, False), 'DefaultTTL': (<function integer at 0x7fa8df38caa0>, False), 'FieldLevelEncryptionId': (<type 'basestring'>, False), 'ForwardedValues': (<class 'troposphere.cloudfront.ForwardedValues'>, True), 'LambdaFunctionAssociations': ([<class 'troposphere.cloudfront.LambdaFunctionAssociation'>], False), 'MaxTTL': (<function integer at 0x7fa8df38caa0>, False), 'MinTTL': (<function integer at 0x7fa8df38caa0>, False), 'SmoothStreaming': (<function boolean at 0x7fa8df38ca28>, False), 'TargetOriginId': (<type 'basestring'>, True), 'TrustedSigners': (<type 'list'>, False), 'ViewerProtocolPolicy': (<function cloudfront_viewer_protocol_policy at 0x7fa8df39bc80>, True)}
class troposphere.cloudfront.Distribution(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DistributionConfig': (<class 'troposphere.cloudfront.DistributionConfig'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::CloudFront::Distribution'
class troposphere.cloudfront.DistributionConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Aliases': (<type 'list'>, False), 'CacheBehaviors': ([<class 'troposphere.cloudfront.CacheBehavior'>], False), 'Comment': (<type 'basestring'>, False), 'CustomErrorResponses': ([<class 'troposphere.cloudfront.CustomErrorResponse'>], False), 'DefaultCacheBehavior': (<class 'troposphere.cloudfront.DefaultCacheBehavior'>, True), 'DefaultRootObject': (<type 'basestring'>, False), 'Enabled': (<function boolean at 0x7fa8df38ca28>, True), 'HttpVersion': (<type 'basestring'>, False), 'IPV6Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'Logging': (<class 'troposphere.cloudfront.Logging'>, False), 'Origins': ([<class 'troposphere.cloudfront.Origin'>], True), 'PriceClass': (<function priceclass_type at 0x7fa8df39bde8>, False), 'Restrictions': (<class 'troposphere.cloudfront.Restrictions'>, False), 'ViewerCertificate': (<class 'troposphere.cloudfront.ViewerCertificate'>, False), 'WebACLId': (<type 'basestring'>, False)}
class troposphere.cloudfront.ForwardedValues(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Cookies': (<class 'troposphere.cloudfront.Cookies'>, False), 'Headers': ([<type 'basestring'>], False), 'QueryString': (<function boolean at 0x7fa8df38ca28>, True), 'QueryStringCacheKeys': ([<type 'basestring'>], False)}
class troposphere.cloudfront.GeoRestriction(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Locations': ([<type 'basestring'>], False), 'RestrictionType': (<function cloudfront_restriction_type at 0x7fa8df39bcf8>, True)}
class troposphere.cloudfront.LambdaFunctionAssociation(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EventType': (<function cloudfront_event_type at 0x7fa8df39bc08>, False), 'LambdaFunctionARN': (<type 'basestring'>, False)}
class troposphere.cloudfront.Logging(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Bucket': (<type 'basestring'>, True), 'IncludeCookies': (<function boolean at 0x7fa8df38ca28>, False), 'Prefix': (<type 'basestring'>, False)}
class troposphere.cloudfront.Origin(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CustomOriginConfig': (<class 'troposphere.cloudfront.CustomOriginConfig'>, False), 'DomainName': (<type 'basestring'>, True), 'Id': (<type 'basestring'>, True), 'OriginCustomHeaders': ([<class 'troposphere.cloudfront.OriginCustomHeader'>], False), 'OriginPath': (<type 'basestring'>, False), 'S3OriginConfig': (<class 'troposphere.cloudfront.S3OriginConfig'>, False)}
class troposphere.cloudfront.OriginCustomHeader(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'HeaderName': (<type 'basestring'>, True), 'HeaderValue': (<type 'basestring'>, True)}
class troposphere.cloudfront.Restrictions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'GeoRestriction': (<class 'troposphere.cloudfront.GeoRestriction'>, True)}
class troposphere.cloudfront.S3Origin(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DomainName': (<type 'basestring'>, True), 'OriginAccessIdentity': (<type 'basestring'>, False)}
class troposphere.cloudfront.S3OriginConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'OriginAccessIdentity': (<type 'basestring'>, False)}
class troposphere.cloudfront.StreamingDistribution(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'StreamingDistributionConfig': (<class 'troposphere.cloudfront.StreamingDistributionConfig'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::CloudFront::StreamingDistribution'
class troposphere.cloudfront.StreamingDistributionConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Aliases': ([<type 'basestring'>], False), 'Comment': (<type 'basestring'>, True), 'Enabled': (<function boolean at 0x7fa8df38ca28>, True), 'Logging': (<class 'troposphere.cloudfront.Logging'>, False), 'PriceClass': (<function priceclass_type at 0x7fa8df39bde8>, False), 'S3Origin': (<class 'troposphere.cloudfront.S3Origin'>, True), 'TrustedSigners': (<class 'troposphere.cloudfront.TrustedSigners'>, True)}
class troposphere.cloudfront.TrustedSigners(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AwsAccountNumbers': ([<type 'basestring'>], False), 'Enabled': (<function boolean at 0x7fa8df38ca28>, True)}
class troposphere.cloudfront.ViewerCertificate(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AcmCertificateArn': (<type 'basestring'>, False), 'CloudFrontDefaultCertificate': (<function boolean at 0x7fa8df38ca28>, False), 'IamCertificateId': (<type 'basestring'>, False), 'MinimumProtocolVersion': (<type 'basestring'>, False), 'SslSupportMethod': (<type 'basestring'>, False)}

troposphere.cloudtrail module

class troposphere.cloudtrail.DataResource(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Type': (<type 'basestring'>, True), 'Values': ([<type 'basestring'>], False)}
class troposphere.cloudtrail.EventSelector(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DataResources': ([<class 'troposphere.cloudtrail.DataResource'>], False), 'IncludeManagementEvents': (<function boolean at 0x7fa8df38ca28>, False), 'ReadWriteType': (<type 'basestring'>, False)}
class troposphere.cloudtrail.Trail(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CloudWatchLogsLogGroupArn': (<type 'basestring'>, False), 'CloudWatchLogsRoleArn': (<type 'basestring'>, False), 'EnableLogFileValidation': (<function boolean at 0x7fa8df38ca28>, False), 'EventSelectors': ([<class 'troposphere.cloudtrail.EventSelector'>], False), 'IncludeGlobalServiceEvents': (<function boolean at 0x7fa8df38ca28>, False), 'IsLogging': (<function boolean at 0x7fa8df38ca28>, True), 'IsMultiRegionTrail': (<function boolean at 0x7fa8df38ca28>, False), 'KMSKeyId': (<type 'basestring'>, False), 'S3BucketName': (<type 'basestring'>, True), 'S3KeyPrefix': (<type 'basestring'>, False), 'SnsTopicName': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'TrailName': (<type 'basestring'>, False)}
resource_type = 'AWS::CloudTrail::Trail'

troposphere.cloudwatch module

class troposphere.cloudwatch.Alarm(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ActionsEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'AlarmActions': ([<type 'basestring'>], False), 'AlarmDescription': (<type 'basestring'>, False), 'AlarmName': (<type 'basestring'>, False), 'ComparisonOperator': (<type 'basestring'>, True), 'DatapointsToAlarm': (<function positive_integer at 0x7fa8df38cb18>, False), 'Dimensions': ([<class 'troposphere.cloudwatch.MetricDimension'>], False), 'EvaluateLowSampleCountPercentile': (<type 'basestring'>, False), 'EvaluationPeriods': (<function positive_integer at 0x7fa8df38cb18>, True), 'ExtendedStatistic': (<type 'basestring'>, False), 'InsufficientDataActions': ([<type 'basestring'>], False), 'MetricName': (<type 'basestring'>, False), 'Metrics': ([<class 'troposphere.cloudwatch.MetricDataQuery'>], False), 'Namespace': (<type 'basestring'>, False), 'OKActions': ([<type 'basestring'>], False), 'Period': (<function positive_integer at 0x7fa8df38cb18>, False), 'Statistic': (<type 'basestring'>, False), 'Threshold': (<function double at 0x7fa8df38cc80>, True), 'TreatMissingData': (<type 'basestring'>, False), 'Unit': (<type 'basestring'>, False)}
resource_type = 'AWS::CloudWatch::Alarm'
validate()[source]
class troposphere.cloudwatch.Dashboard(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DashboardBody': ((<type 'basestring'>, <type 'dict'>), True), 'DashboardName': (<type 'basestring'>, False)}
resource_type = 'AWS::CloudWatch::Dashboard'
validate()[source]
class troposphere.cloudwatch.Metric(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Dimensions': ([<class 'troposphere.cloudwatch.MetricDimension'>], False), 'MetricName': (<type 'basestring'>, False), 'Namespace': (<type 'basestring'>, False)}
class troposphere.cloudwatch.MetricDataQuery(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Expression': (<type 'basestring'>, False), 'Id': (<type 'basestring'>, True), 'Label': (<type 'basestring'>, False), 'MetricStat': (<class 'troposphere.cloudwatch.MetricStat'>, False), 'ReturnData': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.cloudwatch.MetricDimension(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
class troposphere.cloudwatch.MetricStat(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Metric': (<class 'troposphere.cloudwatch.Metric'>, True), 'Period': (<function integer at 0x7fa8df38caa0>, True), 'Stat': (<type 'basestring'>, True), 'Unit': (<function validate_unit at 0x7fa8df1c31b8>, False)}
troposphere.cloudwatch.validate_unit(unit)[source]

Validate Units

troposphere.codebuild module

class troposphere.codebuild.Artifacts(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ArtifactIdentifier': (<type 'basestring'>, False), 'EncryptionDisabled': (<function boolean at 0x7fa8df38ca28>, False), 'Location': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'NamespaceType': (<type 'basestring'>, False), 'OverrideArtifactName': (<function boolean at 0x7fa8df38ca28>, False), 'Packaging': (<type 'basestring'>, False), 'Path': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True)}
validate()[source]
class troposphere.codebuild.CloudWatchLogs(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'GroupName': (<type 'basestring'>, False), 'Status': (<function validate_status at 0x7fa8df538c80>, True), 'StreamName': (<type 'basestring'>, False)}
class troposphere.codebuild.Environment(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Certificate': (<type 'basestring'>, False), 'ComputeType': (<type 'basestring'>, True), 'EnvironmentVariables': ((<type 'list'>, [<class 'troposphere.codebuild.EnvironmentVariable'>]), False), 'Image': (<type 'basestring'>, True), 'ImagePullCredentialsType': (<function validate_image_pull_credentials at 0x7fa8df538cf8>, False), 'PrivilegedMode': (<function boolean at 0x7fa8df38ca28>, False), 'RegistryCredential': (<class 'troposphere.codebuild.RegistryCredential'>, False), 'Type': (<type 'basestring'>, True)}
validate()[source]
class troposphere.codebuild.EnvironmentVariable(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Type': (<type 'basestring'>, False), 'Value': (<type 'basestring'>, True)}
validate()[source]
class troposphere.codebuild.LogsConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CloudWatchLogs': (<class 'troposphere.codebuild.CloudWatchLogs'>, False), 'S3Logs': (<class 'troposphere.codebuild.S3Logs'>, False)}
class troposphere.codebuild.Project(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Artifacts': (<class 'troposphere.codebuild.Artifacts'>, True), 'BadgeEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'Cache': (<class 'troposphere.codebuild.ProjectCache'>, False), 'Description': (<type 'basestring'>, False), 'EncryptionKey': (<type 'basestring'>, False), 'Environment': (<class 'troposphere.codebuild.Environment'>, True), 'LogsConfig': (<class 'troposphere.codebuild.LogsConfig'>, False), 'Name': (<type 'basestring'>, True), 'SecondaryArtifacts': ([<class 'troposphere.codebuild.Artifacts'>], False), 'SecondarySources': ([<class 'troposphere.codebuild.Source'>], False), 'ServiceRole': (<type 'basestring'>, True), 'Source': (<class 'troposphere.codebuild.Source'>, True), 'Tags': (<class 'troposphere.Tags'>, False), 'TimeoutInMinutes': (<function integer at 0x7fa8df38caa0>, False), 'Triggers': (<class 'troposphere.codebuild.ProjectTriggers'>, False), 'VpcConfig': (<class 'troposphere.codebuild.VpcConfig'>, False)}
resource_type = 'AWS::CodeBuild::Project'
class troposphere.codebuild.ProjectCache(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Location': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True)}
validate()[source]
class troposphere.codebuild.ProjectTriggers(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Webhook': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.codebuild.RegistryCredential(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Credential': (<type 'basestring'>, True), 'CredentialProvider': (<function validate_credentials_provider at 0x7fa8df538b90>, True)}
class troposphere.codebuild.S3Logs(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Location': (<type 'basestring'>, False), 'Status': (<function validate_status at 0x7fa8df538c80>, True)}
class troposphere.codebuild.Source(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Auth': (<class 'troposphere.codebuild.SourceAuth'>, False), 'BuildSpec': (<type 'basestring'>, False), 'GitCloneDepth': (<function positive_integer at 0x7fa8df38cb18>, False), 'InsecureSsl': (<function boolean at 0x7fa8df38ca28>, False), 'Location': (<type 'basestring'>, False), 'ReportBuildStatus': (<function boolean at 0x7fa8df38ca28>, False), 'SourceIdentifier': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True)}
validate()[source]
class troposphere.codebuild.SourceAuth(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Resource': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True)}
validate()[source]
class troposphere.codebuild.VpcConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SecurityGroupIds': ([<type 'basestring'>], True), 'Subnets': ([<type 'basestring'>], True), 'VpcId': (<type 'basestring'>, True)}
troposphere.codebuild.validate_credentials_provider(credential_provider)[source]

Validate CredentialProvider for Project’s RegistryCredential

troposphere.codebuild.validate_image_pull_credentials(image_pull_credentials)[source]

Validate ImagePullCredentialsType for Project

troposphere.codebuild.validate_status(status)[source]

Validate status :param status: The Status of CloudWatchLogs or S3Logs :return: The provided value if valid

troposphere.codecommit module

class troposphere.codecommit.Repository(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'RepositoryDescription': (<type 'basestring'>, False), 'RepositoryName': (<type 'basestring'>, True), 'Triggers': ([<class 'troposphere.codecommit.Trigger'>], False)}
resource_type = 'AWS::CodeCommit::Repository'
class troposphere.codecommit.Trigger(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Branches': ([<type 'basestring'>], False), 'CustomData': (<type 'basestring'>, False), 'DestinationArn': (<type 'basestring'>, False), 'Events': ([<type 'basestring'>], False), 'Name': (<type 'basestring'>, False)}
validate()[source]

troposphere.codedeploy module

class troposphere.codedeploy.Alarm(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, False)}
class troposphere.codedeploy.AlarmConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Alarms': ([<class 'troposphere.codedeploy.Alarm'>], False), 'Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'IgnorePollAlarmFailure': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.codedeploy.Application(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationName': (<type 'basestring'>, False), 'ComputePlatform': (<type 'basestring'>, False)}
resource_type = 'AWS::CodeDeploy::Application'
class troposphere.codedeploy.AutoRollbackConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Enabled': (<type 'bool'>, False), 'Events': ([<type 'basestring'>], False)}
class troposphere.codedeploy.Deployment(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Description': (<type 'basestring'>, False), 'IgnoreApplicationStopFailures': (<type 'bool'>, False), 'Revision': (<class 'troposphere.codedeploy.Revision'>, True)}
class troposphere.codedeploy.DeploymentConfig(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DeploymentConfigName': (<type 'basestring'>, False), 'MinimumHealthyHosts': (<class 'troposphere.codedeploy.MinimumHealthyHosts'>, False)}
resource_type = 'AWS::CodeDeploy::DeploymentConfig'
class troposphere.codedeploy.DeploymentGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AlarmConfiguration': (<class 'troposphere.codedeploy.AlarmConfiguration'>, False), 'ApplicationName': (<type 'basestring'>, True), 'AutoRollbackConfiguration': (<class 'troposphere.codedeploy.AutoRollbackConfiguration'>, False), 'AutoScalingGroups': ([<type 'basestring'>], False), 'Deployment': (<class 'troposphere.codedeploy.Deployment'>, False), 'DeploymentConfigName': (<type 'basestring'>, False), 'DeploymentGroupName': (<type 'basestring'>, False), 'DeploymentStyle': (<class 'troposphere.codedeploy.DeploymentStyle'>, False), 'Ec2TagFilters': ([<class 'troposphere.codedeploy.Ec2TagFilters'>], False), 'Ec2TagSet': (<class 'troposphere.codedeploy.Ec2TagSet'>, False), 'LoadBalancerInfo': (<class 'troposphere.codedeploy.LoadBalancerInfo'>, False), 'OnPremisesInstanceTagFilters': ([<class 'troposphere.codedeploy.OnPremisesInstanceTagFilters'>], False), 'OnPremisesInstanceTagSet': (<class 'troposphere.codedeploy.OnPremisesTagSet'>, False), 'ServiceRoleArn': (<type 'basestring'>, True), 'TriggerConfigurations': ([<class 'troposphere.codedeploy.TriggerConfig'>], False)}
resource_type = 'AWS::CodeDeploy::DeploymentGroup'
validate()[source]
class troposphere.codedeploy.DeploymentStyle(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeploymentOption': (<function deployment_option_validator at 0x7fa8de6fd050>, False), 'DeploymentType': (<function deployment_type_validator at 0x7fa8de6fd488>, False)}
class troposphere.codedeploy.Ec2TagFilters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, False)}
class troposphere.codedeploy.Ec2TagSet(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Ec2TagSetList': ([<class 'troposphere.codedeploy.Ec2TagSetListObject'>], False)}
class troposphere.codedeploy.Ec2TagSetListObject(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Ec2TagGroup': ([<class 'troposphere.codedeploy.Ec2TagFilters'>], False)}
class troposphere.codedeploy.ElbInfoList(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, False)}
class troposphere.codedeploy.GitHubLocation(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CommitId': (<type 'basestring'>, True), 'Repository': (<type 'basestring'>, True)}
class troposphere.codedeploy.LoadBalancerInfo(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ElbInfoList': ([<class 'troposphere.codedeploy.ElbInfoList'>], False), 'TargetGroupInfoList': ([<class 'troposphere.codedeploy.TargetGroupInfoList'>], False)}
validate()[source]
class troposphere.codedeploy.MinimumHealthyHosts(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Type': (<type 'basestring'>, False), 'Value': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.codedeploy.OnPremisesInstanceTagFilters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, False), 'Value': (<type 'basestring'>, False)}
class troposphere.codedeploy.OnPremisesTagSet(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'OnPremisesTagSetList': (<class 'troposphere.codedeploy.OnPremisesTagSetList'>, False)}
class troposphere.codedeploy.OnPremisesTagSetList(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'OnPremisesTagSetList': ([<class 'troposphere.codedeploy.OnPremisesTagSetObject'>], False)}
class troposphere.codedeploy.OnPremisesTagSetObject(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'OnPremisesTagGroup': ([<class 'troposphere.codedeploy.TagFilters'>], False)}
class troposphere.codedeploy.Revision(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'GitHubLocation': (<class 'troposphere.codedeploy.GitHubLocation'>, False), 'RevisionType': (<type 'basestring'>, False), 'S3Location': (<class 'troposphere.codedeploy.S3Location'>, False)}
class troposphere.codedeploy.S3Location(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Bucket': (<type 'basestring'>, True), 'BundleType': (<type 'basestring'>, True), 'ETag': (<type 'basestring'>, False), 'Key': (<type 'basestring'>, True), 'Version': (<type 'basestring'>, False)}
class troposphere.codedeploy.TagFilters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, False), 'Value': (<type 'basestring'>, False)}
class troposphere.codedeploy.TargetGroupInfoList(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, False)}
class troposphere.codedeploy.TriggerConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'TriggerEvents': ([<type 'basestring'>], False), 'TriggerName': (<type 'basestring'>, False), 'TriggerTargetArn': (<type 'basestring'>, False)}
troposphere.codedeploy.deployment_option_validator(x)[source]
troposphere.codedeploy.deployment_type_validator(x)[source]

troposphere.codepipeline module

class troposphere.codepipeline.ActionTypeId(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Category': (<type 'basestring'>, True), 'Owner': (<type 'basestring'>, True), 'Provider': (<type 'basestring'>, True), 'Version': (<type 'basestring'>, True)}
class troposphere.codepipeline.Actions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ActionTypeId': (<class 'troposphere.codepipeline.ActionTypeId'>, True), 'Configuration': (<type 'dict'>, False), 'InputArtifacts': ([<class 'troposphere.codepipeline.InputArtifacts'>], False), 'Name': (<type 'basestring'>, True), 'OutputArtifacts': ([<class 'troposphere.codepipeline.OutputArtifacts'>], False), 'Region': (<type 'basestring'>, False), 'RoleArn': (<type 'basestring'>, False), 'RunOrder': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.codepipeline.ArtifactDetails(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaximumCount': (<function integer at 0x7fa8df38caa0>, True), 'MinimumCount': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.codepipeline.ArtifactStore(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EncryptionKey': (<class 'troposphere.codepipeline.EncryptionKey'>, False), 'Location': (<type 'basestring'>, True), 'Type': (<type 'basestring'>, True)}
class troposphere.codepipeline.ArtifactStoreMap(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ArtifactStore': (<class 'troposphere.codepipeline.ArtifactStore'>, True), 'Region': (<type 'basestring'>, True)}
class troposphere.codepipeline.Blockers(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Type': (<type 'basestring'>, True)}
class troposphere.codepipeline.ConfigurationProperties(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Description': (<type 'basestring'>, False), 'Key': (<function boolean at 0x7fa8df38ca28>, True), 'Name': (<type 'basestring'>, True), 'Queryable': (<function boolean at 0x7fa8df38ca28>, False), 'Required': (<function boolean at 0x7fa8df38ca28>, True), 'Secret': (<function boolean at 0x7fa8df38ca28>, True), 'Type': (<type 'basestring'>, False)}
class troposphere.codepipeline.CustomActionType(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Category': (<type 'basestring'>, True), 'ConfigurationProperties': ([<class 'troposphere.codepipeline.ConfigurationProperties'>], False), 'InputArtifactDetails': (<class 'troposphere.codepipeline.ArtifactDetails'>, True), 'OutputArtifactDetails': (<class 'troposphere.codepipeline.ArtifactDetails'>, True), 'Provider': (<type 'basestring'>, True), 'Settings': (<class 'troposphere.codepipeline.Settings'>, False), 'Version': (<type 'basestring'>, False)}
resource_type = 'AWS::CodePipeline::CustomActionType'
class troposphere.codepipeline.DisableInboundStageTransitions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Reason': (<type 'basestring'>, True), 'StageName': (<type 'basestring'>, True)}
class troposphere.codepipeline.EncryptionKey(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Id': (<type 'basestring'>, True), 'Type': (<type 'basestring'>, True)}
class troposphere.codepipeline.InputArtifacts(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True)}
class troposphere.codepipeline.OutputArtifacts(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True)}
class troposphere.codepipeline.Pipeline(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ArtifactStore': (<class 'troposphere.codepipeline.ArtifactStore'>, False), 'ArtifactStores': ([<class 'troposphere.codepipeline.ArtifactStoreMap'>], False), 'DisableInboundStageTransitions': ([<class 'troposphere.codepipeline.DisableInboundStageTransitions'>], False), 'Name': (<type 'basestring'>, False), 'RestartExecutionOnUpdate': (<function boolean at 0x7fa8df38ca28>, False), 'RoleArn': (<type 'basestring'>, True), 'Stages': ([<class 'troposphere.codepipeline.Stages'>], True)}
resource_type = 'AWS::CodePipeline::Pipeline'
class troposphere.codepipeline.Settings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EntityUrlTemplate': (<type 'basestring'>, False), 'ExecutionUrlTemplate': (<type 'basestring'>, False), 'RevisionUrlTemplate': (<type 'basestring'>, False), 'ThirdPartyConfigurationUrl': (<type 'basestring'>, False)}
class troposphere.codepipeline.Stages(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Actions': ([<class 'troposphere.codepipeline.Actions'>], True), 'Blockers': ([<class 'troposphere.codepipeline.Blockers'>], False), 'Name': (<type 'basestring'>, True)}
class troposphere.codepipeline.Webhook(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Authentication': (<type 'basestring'>, True), 'AuthenticationConfiguration': (<class 'troposphere.codepipeline.WebhookAuthConfiguration'>, True), 'Filters': ([<class 'troposphere.codepipeline.WebhookFilterRule'>], True), 'Name': (<type 'basestring'>, False), 'RegisterWithThirdParty': (<function boolean at 0x7fa8df38ca28>, False), 'TargetAction': (<type 'basestring'>, True), 'TargetPipeline': (<type 'basestring'>, True), 'TargetPipelineVersion': (<function integer at 0x7fa8df38caa0>, True)}
resource_type = 'AWS::CodePipeline::Webhook'
class troposphere.codepipeline.WebhookAuthConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllowedIPRange': (<type 'basestring'>, False), 'SecretToken': (<type 'basestring'>, False)}
class troposphere.codepipeline.WebhookFilterRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'JsonPath': (<type 'basestring'>, True), 'MatchEquals': (<type 'basestring'>, False)}

troposphere.cognito module

class troposphere.cognito.AdminCreateUserConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllowAdminCreateUserOnly': (<function boolean at 0x7fa8df38ca28>, False), 'InviteMessageTemplate': (<class 'troposphere.cognito.InviteMessageTemplate'>, False), 'UnusedAccountValidityDays': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.cognito.AttributeType(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, False)}
class troposphere.cognito.CognitoIdentityProvider(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ClientId': (<type 'basestring'>, False), 'ProviderName': (<type 'basestring'>, False), 'ServerSideTokenCheck': (<type 'bool'>, False)}
class troposphere.cognito.CognitoStreams(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RoleArn': (<type 'basestring'>, False), 'StreamName': (<type 'basestring'>, False), 'StreamingStatus': (<type 'basestring'>, False)}
class troposphere.cognito.DeviceConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ChallengeRequiredOnNewDevice': (<function boolean at 0x7fa8df38ca28>, False), 'DeviceOnlyRememberedOnUserPrompt': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.cognito.EmailConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ReplyToEmailAddress': (<type 'basestring'>, False), 'SourceArn': (<type 'basestring'>, False)}
class troposphere.cognito.IdentityPool(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AllowUnauthenticatedIdentities': (<type 'bool'>, True), 'CognitoEvents': (<type 'dict'>, False), 'CognitoIdentityProviders': ([<class 'troposphere.cognito.CognitoIdentityProvider'>], False), 'CognitoStreams': (<class 'troposphere.cognito.CognitoStreams'>, False), 'DeveloperProviderName': (<type 'basestring'>, False), 'IdentityPoolName': (<type 'basestring'>, False), 'OpenIdConnectProviderARNs': ([<type 'basestring'>], False), 'PushSync': (<class 'troposphere.cognito.PushSync'>, False), 'SamlProviderARNs': ([<type 'basestring'>], False), 'SupportedLoginProviders': (<type 'dict'>, False)}
resource_type = 'AWS::Cognito::IdentityPool'
class troposphere.cognito.IdentityPoolRoleAttachment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'IdentityPoolId': (<type 'basestring'>, True), 'RoleMappings': (<type 'dict'>, False), 'Roles': (<type 'dict'>, False)}
resource_type = 'AWS::Cognito::IdentityPoolRoleAttachment'
class troposphere.cognito.InviteMessageTemplate(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EmailMessage': (<type 'basestring'>, False), 'EmailSubject': (<type 'basestring'>, False), 'SMSMessage': (<type 'basestring'>, False)}
class troposphere.cognito.LambdaConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CreateAuthChallenge': (<type 'basestring'>, False), 'CustomMessage': (<type 'basestring'>, False), 'DefineAuthChallenge': (<type 'basestring'>, False), 'PostAuthentication': (<type 'basestring'>, False), 'PostConfirmation': (<type 'basestring'>, False), 'PreAuthentication': (<type 'basestring'>, False), 'PreSignUp': (<type 'basestring'>, False), 'VerifyAuthChallengeResponse': (<type 'basestring'>, False)}
class troposphere.cognito.MappingRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Claim': (<type 'basestring'>, True), 'MatchType': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
class troposphere.cognito.NumberAttributeConstraints(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaxValue': (<type 'basestring'>, False), 'MinValue': (<type 'basestring'>, False)}
class troposphere.cognito.PasswordPolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MinimumLength': (<function positive_integer at 0x7fa8df38cb18>, False), 'RequireLowercase': (<function boolean at 0x7fa8df38ca28>, False), 'RequireNumbers': (<function boolean at 0x7fa8df38ca28>, False), 'RequireSymbols': (<function boolean at 0x7fa8df38ca28>, False), 'RequireUppercase': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.cognito.Policies(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PasswordPolicy': (<class 'troposphere.cognito.PasswordPolicy'>, False)}
class troposphere.cognito.PushSync(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ApplicationArns': ([<type 'basestring'>], False), 'RoleArn': (<type 'basestring'>, False)}
class troposphere.cognito.RoleMapping(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AmbiguousRoleResolution': (<type 'basestring'>, False), 'RulesConfiguration': (<class 'troposphere.cognito.RulesConfiguration'>, False), 'Type': (<type 'basestring'>, True)}
class troposphere.cognito.RulesConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Rules': ([<class 'troposphere.cognito.MappingRule'>], True)}
class troposphere.cognito.SchemaAttribute(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AttributeDataType': (<type 'basestring'>, False), 'DeveloperOnlyAttribute': (<function boolean at 0x7fa8df38ca28>, False), 'Mutable': (<function boolean at 0x7fa8df38ca28>, False), 'Name': (<type 'basestring'>, False), 'NumberAttributeConstraints': (<class 'troposphere.cognito.NumberAttributeConstraints'>, False), 'Required': (<function boolean at 0x7fa8df38ca28>, False), 'StringAttributeConstraints': (<class 'troposphere.cognito.StringAttributeConstraints'>, False)}
class troposphere.cognito.SmsConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ExternalId': (<type 'basestring'>, False), 'SnsCallerArn': (<type 'basestring'>, True)}
class troposphere.cognito.StringAttributeConstraints(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaxLength': (<type 'basestring'>, False), 'MinLength': (<type 'basestring'>, False)}
class troposphere.cognito.UserPool(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AdminCreateUserConfig': (<class 'troposphere.cognito.AdminCreateUserConfig'>, False), 'AliasAttributes': ([<type 'basestring'>], False), 'AutoVerifiedAttributes': ([<type 'basestring'>], False), 'DeviceConfiguration': (<class 'troposphere.cognito.DeviceConfiguration'>, False), 'EmailConfiguration': (<class 'troposphere.cognito.EmailConfiguration'>, False), 'EmailVerificationMessage': (<type 'basestring'>, False), 'EmailVerificationSubject': (<type 'basestring'>, False), 'LambdaConfig': (<class 'troposphere.cognito.LambdaConfig'>, False), 'MfaConfiguration': (<type 'basestring'>, False), 'Policies': (<class 'troposphere.cognito.Policies'>, False), 'Schema': ([<class 'troposphere.cognito.SchemaAttribute'>], False), 'SmsAuthenticationMessage': (<type 'basestring'>, False), 'SmsConfiguration': (<class 'troposphere.cognito.SmsConfiguration'>, False), 'SmsVerificationMessage': (<type 'basestring'>, False), 'UserPoolName': (<type 'basestring'>, True), 'UserPoolTags': (<type 'dict'>, False), 'UsernameAttributes': ([<type 'basestring'>], False)}
resource_type = 'AWS::Cognito::UserPool'
class troposphere.cognito.UserPoolClient(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ClientName': (<type 'basestring'>, False), 'ExplicitAuthFlows': ([<type 'basestring'>], False), 'GenerateSecret': (<function boolean at 0x7fa8df38ca28>, False), 'ReadAttributes': ([<type 'basestring'>], False), 'RefreshTokenValidity': (<function positive_integer at 0x7fa8df38cb18>, False), 'UserPoolId': (<type 'basestring'>, True), 'WriteAttributes': ([<type 'basestring'>], False)}
resource_type = 'AWS::Cognito::UserPoolClient'
class troposphere.cognito.UserPoolGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'GroupName': (<type 'basestring'>, True), 'Precedence': (<function positive_integer at 0x7fa8df38cb18>, False), 'RoleArn': (<type 'basestring'>, False), 'UserPoolId': (<type 'basestring'>, True)}
resource_type = 'AWS::Cognito::UserPoolGroup'
class troposphere.cognito.UserPoolUser(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DesiredDeliveryMediums': ([<type 'basestring'>], False), 'ForceAliasCreation': (<function boolean at 0x7fa8df38ca28>, False), 'MessageAction': (<type 'basestring'>, False), 'UserAttributes': ([<class 'troposphere.cognito.AttributeType'>], False), 'UserPoolId': (<type 'basestring'>, True), 'Username': (<type 'basestring'>, False), 'ValidationData': ([<class 'troposphere.cognito.AttributeType'>], False)}
resource_type = 'AWS::Cognito::UserPoolUser'
class troposphere.cognito.UserPoolUserToGroupAttachment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'GroupName': (<type 'basestring'>, True), 'UserPoolId': (<type 'basestring'>, True), 'Username': (<type 'basestring'>, True)}
resource_type = 'AWS::Cognito::UserPoolUserToGroupAttachment'

troposphere.config module

class troposphere.config.AccountAggregationSources(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AccountIds': ([<type 'basestring'>], True), 'AllAwsRegions': (<function boolean at 0x7fa8df38ca28>, False), 'AwsRegions': ([<type 'basestring'>], False)}
class troposphere.config.AggregationAuthorization(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AuthorizedAccountId': (<type 'basestring'>, True), 'AuthorizedAwsRegion': (<type 'basestring'>, True)}
resource_type = 'AWS::Config::AggregationAuthorization'
class troposphere.config.ConfigRule(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ConfigRuleName': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'InputParameters': (<type 'dict'>, False), 'MaximumExecutionFrequency': (<type 'basestring'>, False), 'Scope': (<class 'troposphere.config.Scope'>, False), 'Source': (<class 'troposphere.config.Source'>, True)}
resource_type = 'AWS::Config::ConfigRule'
class troposphere.config.ConfigSnapshotDeliveryProperties(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeliveryFrequency': (<type 'basestring'>, False)}
class troposphere.config.ConfigurationAggregator(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AccountAggregationSources': ([<class 'troposphere.config.AccountAggregationSources'>], False), 'ConfigurationAggregatorName': (<type 'basestring'>, True), 'OrganizationAggregationSource': (<class 'troposphere.config.OrganizationAggregationSource'>, False)}
resource_type = 'AWS::Config::ConfigurationAggregator'
class troposphere.config.ConfigurationRecorder(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Name': (<type 'basestring'>, False), 'RecordingGroup': (<class 'troposphere.config.RecordingGroup'>, False), 'RoleARN': (<type 'basestring'>, True)}
resource_type = 'AWS::Config::ConfigurationRecorder'
class troposphere.config.DeliveryChannel(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ConfigSnapshotDeliveryProperties': (<class 'troposphere.config.ConfigSnapshotDeliveryProperties'>, False), 'Name': (<type 'basestring'>, False), 'S3BucketName': (<type 'basestring'>, True), 'S3KeyPrefix': (<type 'basestring'>, False), 'SnsTopicARN': (<type 'basestring'>, False)}
resource_type = 'AWS::Config::DeliveryChannel'
class troposphere.config.OrganizationAggregationSource(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllAwsRegions': (<function boolean at 0x7fa8df38ca28>, False), 'AwsRegions': ([<type 'basestring'>], False), 'RoleArn': (<type 'basestring'>, True)}
class troposphere.config.RecordingGroup(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllSupported': (<function boolean at 0x7fa8df38ca28>, False), 'IncludeGlobalResourceTypes': (<function boolean at 0x7fa8df38ca28>, False), 'ResourceTypes': ([<type 'basestring'>], False)}
class troposphere.config.Scope(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ComplianceResourceId': (<type 'basestring'>, False), 'ComplianceResourceTypes': ([<type 'basestring'>], False), 'TagKey': (<type 'basestring'>, False), 'TagValue': (<type 'basestring'>, False)}
class troposphere.config.Source(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Owner': (<type 'basestring'>, True), 'SourceDetails': ([<class 'troposphere.config.SourceDetails'>], False), 'SourceIdentifier': (<type 'basestring'>, True)}
class troposphere.config.SourceDetails(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EventSource': (<type 'basestring'>, True), 'MaximumExecutionFrequency': (<type 'basestring'>, False), 'MessageType': (<type 'basestring'>, True)}
validate()[source]

troposphere.constants module

troposphere.datapipeline module

class troposphere.datapipeline.ObjectField(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'RefValue': (<type 'basestring'>, False), 'StringValue': (<type 'basestring'>, False)}
class troposphere.datapipeline.ParameterObject(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Attributes': ([<class 'troposphere.datapipeline.ParameterObjectAttribute'>], True), 'Id': (<type 'basestring'>, True)}
class troposphere.datapipeline.ParameterObjectAttribute(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'StringValue': (<type 'basestring'>, False)}
class troposphere.datapipeline.ParameterValue(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Id': (<type 'basestring'>, True), 'StringValue': (<type 'basestring'>, True)}
class troposphere.datapipeline.Pipeline(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Activate': (<function boolean at 0x7fa8df38ca28>, False), 'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'ParameterObjects': ([<class 'troposphere.datapipeline.ParameterObject'>], False), 'ParameterValues': ([<class 'troposphere.datapipeline.ParameterValue'>], False), 'PipelineObjects': ([<class 'troposphere.datapipeline.PipelineObject'>], True), 'PipelineTags': ([<class 'troposphere.datapipeline.PipelineTag'>], False)}
resource_type = 'AWS::DataPipeline::Pipeline'
class troposphere.datapipeline.PipelineObject(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Fields': ([<class 'troposphere.datapipeline.ObjectField'>], True), 'Id': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, True)}
class troposphere.datapipeline.PipelineTag(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}

troposphere.dax module

class troposphere.dax.Cluster(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AvailabilityZones': (<type 'basestring'>, False), 'ClusterName': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'IAMRoleARN': (<type 'basestring'>, True), 'NodeType': (<type 'basestring'>, True), 'NotificationTopicARN': (<type 'basestring'>, False), 'ParameterGroupName': (<type 'basestring'>, False), 'PreferredMaintenanceWindow': (<type 'basestring'>, False), 'ReplicationFactor': (<type 'basestring'>, True), 'SSESpecification': (<class 'troposphere.dax.SSESpecification'>, False), 'SecurityGroupIds': ([<type 'basestring'>], False), 'SubnetGroupName': (<type 'basestring'>, True), 'Tags': (<type 'dict'>, False)}
resource_type = 'AWS::DAX::Cluster'
class troposphere.dax.ParameterGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'ParameterGroupName': (<type 'basestring'>, False), 'ParameterNameValues': (<type 'dict'>, False)}
resource_type = 'AWS::DAX::ParameterGroup'
class troposphere.dax.SSESpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SSEEnabled': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.dax.SubnetGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'SubnetGroupName': (<type 'basestring'>, False), 'SubnetIds': ([<type 'basestring'>], False)}
resource_type = 'AWS::DAX::SubnetGroup'

troposphere.directoryservice module

class troposphere.directoryservice.MicrosoftAD(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CreateAlias': (<function boolean at 0x7fa8df38ca28>, False), 'Edition': (<type 'basestring'>, False), 'EnableSso': (<function boolean at 0x7fa8df38ca28>, False), 'Name': (<type 'basestring'>, True), 'Password': (<type 'basestring'>, True), 'ShortName': (<type 'basestring'>, False), 'VpcSettings': (<class 'troposphere.directoryservice.VpcSettings'>, True)}
resource_type = 'AWS::DirectoryService::MicrosoftAD'
class troposphere.directoryservice.SimpleAD(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CreateAlias': (<function boolean at 0x7fa8df38ca28>, False), 'Description': (<type 'basestring'>, False), 'EnableSso': (<function boolean at 0x7fa8df38ca28>, False), 'Name': (<type 'basestring'>, True), 'Password': (<type 'basestring'>, True), 'ShortName': (<type 'basestring'>, False), 'Size': (<type 'basestring'>, True), 'VpcSettings': (<class 'troposphere.directoryservice.VpcSettings'>, True)}
resource_type = 'AWS::DirectoryService::SimpleAD'
class troposphere.directoryservice.VpcSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SubnetIds': ([<type 'basestring'>], True), 'VpcId': (<type 'basestring'>, True)}

troposphere.dlm module

class troposphere.dlm.CreateRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Interval': (<function validate_interval at 0x7fa8de5b5b18>, True), 'IntervalUnit': (<function validate_interval_unit at 0x7fa8de5b5b90>, True), 'Times': ([<type 'basestring'>], False)}
class troposphere.dlm.LifecyclePolicy(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'ExecutionRoleArn': (<type 'basestring'>, False), 'PolicyDetails': (<class 'troposphere.dlm.PolicyDetails'>, False), 'State': (<function validate_state at 0x7fa8de46b9b0>, False)}
resource_type = 'AWS::DLM::LifecyclePolicy'
class troposphere.dlm.PolicyDetails(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceTypes': ([<type 'basestring'>], False), 'Schedules': ([<class 'troposphere.dlm.Schedule'>], False), 'TargetTags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
class troposphere.dlm.RetainRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Count': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.dlm.Schedule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CopyTags': (<function boolean at 0x7fa8df38ca28>, False), 'CreateRule': (<class 'troposphere.dlm.CreateRule'>, False), 'Name': (<type 'basestring'>, False), 'RetainRule': (<class 'troposphere.dlm.RetainRule'>, False), 'TagsToAdd': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
troposphere.dlm.validate_interval(interval)[source]

Interval validation rule.

troposphere.dlm.validate_interval_unit(interval_unit)[source]

Interval unit validation rule.

troposphere.dlm.validate_state(state)[source]

State validation rule.

troposphere.dms module

class troposphere.dms.Certificate(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CertificateIdentifier': (<type 'basestring'>, False), 'CertificatePem': (<type 'basestring'>, False), 'CertificateWallet': (<type 'basestring'>, False)}
resource_type = 'AWS::DMS::Certificate'
class troposphere.dms.DynamoDBSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ServiceAccessRoleArn': (<type 'basestring'>, True)}
class troposphere.dms.Endpoint(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CertificateArn': (<type 'basestring'>, False), 'DatabaseName': (<type 'basestring'>, False), 'DynamoDbSettings': (<class 'troposphere.dms.DynamoDBSettings'>, False), 'EndpointIdentifier': (<type 'basestring'>, False), 'EndpointType': (<type 'basestring'>, True), 'EngineName': (<type 'basestring'>, True), 'ExtraConnectionAttributes': (<type 'basestring'>, False), 'KmsKeyId': (<type 'basestring'>, False), 'MongoDbSettings': (<class 'troposphere.dms.MongoDbSettings'>, False), 'Password': (<type 'basestring'>, False), 'Port': (<function network_port at 0x7fa8df38cde8>, False), 'S3Settings': (<class 'troposphere.dms.S3Settings'>, False), 'ServerName': (<type 'basestring'>, False), 'SslMode': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'Username': (<type 'basestring'>, True)}
resource_type = 'AWS::DMS::Endpoint'
class troposphere.dms.EventSubscription(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'EventCategories': ([<type 'basestring'>], False), 'SnsTopicArn': (<type 'basestring'>, True), 'SourceIds': ([<type 'basestring'>], False), 'SourceType': (<type 'basestring'>, False), 'SubscriptionName': ([<type 'basestring'>], False), 'Tags': (<class 'troposphere.Tags'>, False)}
resource_type = 'AWS::DMS::EventSubscription'
class troposphere.dms.MongoDbSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AuthMechanism': (<type 'basestring'>, False), 'AuthSource': (<type 'basestring'>, False), 'DatabaseName': (<type 'basestring'>, False), 'DocsToInvestigate': (<type 'basestring'>, False), 'ExtractDocId': (<type 'basestring'>, False), 'KmsKeyId': (<type 'basestring'>, False), 'NestingLevel': (<type 'basestring'>, False), 'Password': (<type 'basestring'>, False), 'Port': (<function network_port at 0x7fa8df38cde8>, False), 'ServerName': (<type 'basestring'>, False), 'Username': (<type 'basestring'>, False)}
class troposphere.dms.ReplicationInstance(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AllocatedStorage': (<function integer at 0x7fa8df38caa0>, False), 'AutoMinorVersionUpgrade': (<function boolean at 0x7fa8df38ca28>, False), 'AvailabilityZone': (<type 'basestring'>, False), 'EngineVersion': (<type 'basestring'>, False), 'KmsKeyId': (<type 'basestring'>, False), 'MultiAZ': (<function boolean at 0x7fa8df38ca28>, False), 'PreferredMaintenanceWindow': (<type 'basestring'>, False), 'PubliclyAccessible': (<function boolean at 0x7fa8df38ca28>, False), 'ReplicationInstanceClass': (<type 'basestring'>, True), 'ReplicationInstanceIdentifier': (<type 'basestring'>, False), 'ReplicationSubnetGroupIdentifier': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'VpcSecurityGroupIds': ([<type 'basestring'>], False)}
resource_type = 'AWS::DMS::ReplicationInstance'
class troposphere.dms.ReplicationSubnetGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ReplicationSubnetGroupDescription': (<type 'basestring'>, True), 'ReplicationSubnetGroupIdentifier': (<type 'basestring'>, False), 'SubnetIds': ([<type 'basestring'>], True), 'Tags': (<class 'troposphere.Tags'>, False)}
resource_type = 'AWS::DMS::ReplicationSubnetGroup'
class troposphere.dms.ReplicationTask(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CdcStartTime': (<function positive_integer at 0x7fa8df38cb18>, False), 'MigrationType': (<type 'basestring'>, True), 'ReplicationInstanceArn': (<type 'basestring'>, True), 'ReplicationTaskIdentifier': (<type 'basestring'>, False), 'ReplicationTaskSettings': (<type 'basestring'>, False), 'SourceEndpointArn': (<type 'basestring'>, True), 'TableMappings': (<type 'basestring'>, True), 'Tags': (<class 'troposphere.Tags'>, False), 'TargetEndpointArn': (<type 'basestring'>, True)}
resource_type = 'AWS::DMS::ReplicationTask'
class troposphere.dms.S3Settings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BucketFolder': (<type 'basestring'>, False), 'BucketName': (<type 'basestring'>, False), 'CompressionType': (<type 'basestring'>, False), 'CsvDelimiter': (<type 'basestring'>, False), 'CsvRowDelimiter': (<type 'basestring'>, False), 'ExternalTableDefinition': (<type 'basestring'>, False), 'ServiceAccessRoleArn': (<type 'basestring'>, False)}

troposphere.docdb module

class troposphere.docdb.DBCluster(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AvailabilityZones': ([<type 'basestring'>], False), 'BackupRetentionPeriod': (<function integer at 0x7fa8df38caa0>, False), 'DBClusterIdentifier': (<type 'basestring'>, False), 'DBClusterParameterGroupName': (<type 'basestring'>, False), 'DBSubnetGroupName': (<type 'basestring'>, False), 'EngineVersion': (<type 'basestring'>, False), 'KmsKeyId': (<type 'basestring'>, False), 'MasterUserPassword': (<type 'basestring'>, False), 'MasterUsername': (<type 'basestring'>, False), 'Port': (<function integer at 0x7fa8df38caa0>, False), 'PreferredBackupWindow': (<type 'basestring'>, False), 'PreferredMaintenanceWindow': (<type 'basestring'>, False), 'SnapshotIdentifier': (<type 'basestring'>, False), 'StorageEncrypted': (<function boolean at 0x7fa8df38ca28>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'VpcSecurityGroupIds': ([<type 'basestring'>], False)}
resource_type = 'AWS::DocDB::DBCluster'
class troposphere.docdb.DBClusterParameterGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, True), 'Family': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False), 'Parameters': (<type 'dict'>, True), 'Tags': (<class 'troposphere.Tags'>, False)}
resource_type = 'AWS::DocDB::DBClusterParameterGroup'
class troposphere.docdb.DBInstance(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoMinorVersionUpgrade': (<function boolean at 0x7fa8df38ca28>, False), 'AvailabilityZone': (<type 'basestring'>, False), 'DBClusterIdentifier': (<type 'basestring'>, True), 'DBInstanceClass': (<type 'basestring'>, True), 'DBInstanceIdentifier': (<type 'basestring'>, False), 'PreferredMaintenanceWindow': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False)}
resource_type = 'AWS::DocDB::DBInstance'
class troposphere.docdb.DBSubnetGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DBSubnetGroupDescription': (<type 'basestring'>, True), 'DBSubnetGroupName': (<type 'basestring'>, False), 'SubnetIds': ([<type 'basestring'>], True), 'Tags': (<class 'troposphere.Tags'>, False)}
resource_type = 'AWS::DocDB::DBSubnetGroup'

troposphere.dynamodb module

class troposphere.dynamodb.AttributeDefinition(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AttributeName': (<type 'basestring'>, True), 'AttributeType': (<function attribute_type_validator at 0x7fa8deeaa8c0>, True)}
class troposphere.dynamodb.GlobalSecondaryIndex(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'IndexName': (<type 'basestring'>, True), 'KeySchema': ([<class 'troposphere.dynamodb.KeySchema'>], True), 'Projection': (<class 'troposphere.dynamodb.Projection'>, True), 'ProvisionedThroughput': (<class 'troposphere.dynamodb.ProvisionedThroughput'>, False)}
class troposphere.dynamodb.Key(title=None, **kwargs)[source]

Bases: troposphere.dynamodb.KeySchema

For backwards compatibility.

class troposphere.dynamodb.KeySchema(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AttributeName': (<type 'basestring'>, True), 'KeyType': (<function key_type_validator at 0x7fa8deeaa9b0>, True)}
class troposphere.dynamodb.LocalSecondaryIndex(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'IndexName': (<type 'basestring'>, True), 'KeySchema': ([<class 'troposphere.dynamodb.KeySchema'>], True), 'Projection': (<class 'troposphere.dynamodb.Projection'>, True)}
class troposphere.dynamodb.PointInTimeRecoverySpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PointInTimeRecoveryEnabled': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.dynamodb.Projection(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'NonKeyAttributes': ([<type 'basestring'>], False), 'ProjectionType': (<function projection_type_validator at 0x7fa8deeaaa28>, False)}
class troposphere.dynamodb.ProvisionedThroughput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ReadCapacityUnits': (<type 'int'>, True), 'WriteCapacityUnits': (<type 'int'>, True)}
class troposphere.dynamodb.SSESpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SSEEnabled': (<function boolean at 0x7fa8df38ca28>, True)}
class troposphere.dynamodb.StreamSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'StreamViewType': (<type 'basestring'>, True)}
class troposphere.dynamodb.Table(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AttributeDefinitions': ([<class 'troposphere.dynamodb.AttributeDefinition'>], True), 'BillingMode': (<function billing_mode_validator at 0x7fa8deeaaaa0>, False), 'GlobalSecondaryIndexes': ([<class 'troposphere.dynamodb.GlobalSecondaryIndex'>], False), 'KeySchema': ([<class 'troposphere.dynamodb.KeySchema'>], True), 'LocalSecondaryIndexes': ([<class 'troposphere.dynamodb.LocalSecondaryIndex'>], False), 'PointInTimeRecoverySpecification': (<class 'troposphere.dynamodb.PointInTimeRecoverySpecification'>, False), 'ProvisionedThroughput': (<class 'troposphere.dynamodb.ProvisionedThroughput'>, False), 'SSESpecification': (<class 'troposphere.dynamodb.SSESpecification'>, False), 'StreamSpecification': (<class 'troposphere.dynamodb.StreamSpecification'>, False), 'TableName': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'TimeToLiveSpecification': (<class 'troposphere.dynamodb.TimeToLiveSpecification'>, False)}
resource_type = 'AWS::DynamoDB::Table'
validate()[source]
class troposphere.dynamodb.TimeToLiveSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AttributeName': (<type 'basestring'>, True), 'Enabled': (<function boolean at 0x7fa8df38ca28>, True)}
troposphere.dynamodb.attribute_type_validator(x)[source]
troposphere.dynamodb.billing_mode_validator(x)[source]
troposphere.dynamodb.key_type_validator(x)[source]
troposphere.dynamodb.projection_type_validator(x)[source]

troposphere.dynamodb2 module

troposphere.ec2 module

class troposphere.ec2.AssociationParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'Value': ([<type 'basestring'>], True)}
class troposphere.ec2.BlockDeviceMapping(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeviceName': (<type 'basestring'>, True), 'Ebs': (<class 'troposphere.ec2.EBSBlockDevice'>, False), 'NoDevice': (<type 'dict'>, False), 'VirtualName': (<type 'basestring'>, False)}
class troposphere.ec2.ClassicLoadBalancer(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True)}
class troposphere.ec2.ClassicLoadBalancersConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ClassicLoadBalancers': ([<class 'troposphere.ec2.ClassicLoadBalancer'>], True)}
class troposphere.ec2.CreditSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CPUCredits': (<type 'basestring'>, False)}
class troposphere.ec2.CustomerGateway(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'BgpAsn': (<function integer at 0x7fa8df38caa0>, True), 'IpAddress': (<type 'basestring'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'Type': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::CustomerGateway'
class troposphere.ec2.DHCPOptions(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DomainName': (<type 'basestring'>, False), 'DomainNameServers': (<type 'list'>, False), 'NetbiosNameServers': (<type 'list'>, False), 'NetbiosNodeType': (<function integer at 0x7fa8df38caa0>, False), 'NtpServers': (<type 'list'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::EC2::DHCPOptions'
class troposphere.ec2.EBSBlockDevice(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeleteOnTermination': (<function boolean at 0x7fa8df38ca28>, False), 'Encrypted': (<function boolean at 0x7fa8df38ca28>, False), 'Iops': (<function integer at 0x7fa8df38caa0>, False), 'SnapshotId': (<type 'basestring'>, False), 'VolumeSize': (<function integer at 0x7fa8df38caa0>, False), 'VolumeType': (<type 'basestring'>, False)}
class troposphere.ec2.EC2Fleet(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ExcessCapacityTerminationPolicy': (<type 'basestring'>, False), 'LaunchTemplateConfigs': ([<class 'troposphere.ec2.FleetLaunchTemplateConfigRequest'>], True), 'OnDemandOptions': (<class 'troposphere.ec2.OnDemandOptionsRequest'>, False), 'ReplaceUnhealthyInstances': (<function boolean at 0x7fa8df38ca28>, False), 'SpotOptions': (<class 'troposphere.ec2.SpotOptionsRequest'>, False), 'TagSpecifications': ([<class 'troposphere.ec2.TagSpecifications'>], False), 'TargetCapacitySpecification': (<class 'troposphere.ec2.TargetCapacitySpecificationRequest'>, False), 'TerminateInstancesWithExpiration': (<function boolean at 0x7fa8df38ca28>, False), 'Type': (<type 'basestring'>, False), 'ValidFrom': (<type 'str'>, False), 'ValidUntil': (<type 'str'>, False)}
resource_type = 'AWS::EC2::EC2Fleet'
class troposphere.ec2.EIP(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Domain': (<type 'basestring'>, False), 'InstanceId': (<type 'basestring'>, False), 'PublicIpv4Pool': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::EIP'
class troposphere.ec2.EIPAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AllocationId': (<type 'basestring'>, False), 'EIP': (<type 'basestring'>, False), 'InstanceId': (<type 'basestring'>, False), 'NetworkInterfaceId': (<type 'basestring'>, False), 'PrivateIpAddress': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::EIPAssociation'
class troposphere.ec2.EgressOnlyInternetGateway(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::EgressOnlyInternetGateway'
class troposphere.ec2.ElasticGpuSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Type': (<type 'basestring'>, True)}
class troposphere.ec2.ElasticInferenceAccelerator(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Type': (<function validate_elasticinferenceaccelerator_type at 0x7fa8df1b8500>, True)}
class troposphere.ec2.FleetLaunchTemplateConfigRequest(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LaunchTemplateSpecification': (<class 'troposphere.ec2.FleetLaunchTemplateSpecificationRequest'>, False), 'Overrides': ([<class 'troposphere.ec2.FleetLaunchTemplateOverridesRequest'>], False)}
class troposphere.ec2.FleetLaunchTemplateOverridesRequest(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AvailabilityZone': (<type 'basestring'>, False), 'InstanceType': (<type 'basestring'>, False), 'MaxPrice': (<type 'basestring'>, False), 'Priority': (<function double at 0x7fa8df38cc80>, False), 'SubnetId': (<type 'basestring'>, False), 'WeightedCapacity': (<function double at 0x7fa8df38cc80>, False)}
class troposphere.ec2.FleetLaunchTemplateSpecificationRequest(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LaunchTemplateId': (<type 'basestring'>, False), 'LaunchTemplateName': (<type 'basestring'>, False), 'Version': (<type 'basestring'>, False)}
class troposphere.ec2.FlowLog(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DeliverLogsPermissionArn': (<type 'basestring'>, False), 'LogDestination': (<type 'basestring'>, False), 'LogDestinationType': (<type 'basestring'>, False), 'LogGroupName': (<type 'basestring'>, False), 'ResourceId': (<type 'basestring'>, True), 'ResourceType': (<type 'basestring'>, True), 'TrafficType': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::FlowLog'
class troposphere.ec2.Host(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoPlacement': (<type 'basestring'>, False), 'AvailabilityZone': (<type 'basestring'>, True), 'InstanceType': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::Host'
class troposphere.ec2.ICMP(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Code': (<function integer at 0x7fa8df38caa0>, False), 'Type': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.ec2.IamInstanceProfile(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Arn': (<type 'basestring'>, False)}
class troposphere.ec2.Instance(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Affinity': (<type 'basestring'>, False), 'AvailabilityZone': (<type 'basestring'>, False), 'BlockDeviceMappings': (<type 'list'>, False), 'CreditSpecification': (<class 'troposphere.ec2.CreditSpecification'>, False), 'DisableApiTermination': (<function boolean at 0x7fa8df38ca28>, False), 'EbsOptimized': (<function boolean at 0x7fa8df38ca28>, False), 'ElasticGpuSpecifications': ([<class 'troposphere.ec2.ElasticGpuSpecification'>], False), 'ElasticInferenceAccelerators': ([<class 'troposphere.ec2.ElasticInferenceAccelerator'>], False), 'HostId': (<type 'basestring'>, False), 'IamInstanceProfile': (<type 'basestring'>, False), 'ImageId': (<type 'basestring'>, False), 'InstanceInitiatedShutdownBehavior': (<type 'basestring'>, False), 'InstanceType': (<type 'basestring'>, False), 'Ipv6AddressCount': (<function integer at 0x7fa8df38caa0>, False), 'Ipv6Addresses': ([<class 'troposphere.ec2.Ipv6Addresses'>], False), 'KernelId': (<type 'basestring'>, False), 'KeyName': (<type 'basestring'>, False), 'LaunchTemplate': (<class 'troposphere.ec2.LaunchTemplateSpecification'>, False), 'LicenseSpecifications': ([<class 'troposphere.ec2.LicenseSpecification'>], False), 'Monitoring': (<function boolean at 0x7fa8df38ca28>, False), 'NetworkInterfaces': ([<class 'troposphere.ec2.NetworkInterfaceProperty'>], False), 'PlacementGroupName': (<type 'basestring'>, False), 'PrivateIpAddress': (<type 'basestring'>, False), 'RamdiskId': (<type 'basestring'>, False), 'SecurityGroupIds': (<type 'list'>, False), 'SecurityGroups': (<type 'list'>, False), 'SourceDestCheck': (<function boolean at 0x7fa8df38ca28>, False), 'SsmAssociations': ([<class 'troposphere.ec2.SsmAssociations'>], False), 'SubnetId': (<type 'basestring'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'Tenancy': (<type 'basestring'>, False), 'UserData': (<type 'basestring'>, False), 'Volumes': (<type 'list'>, False)}
resource_type = 'AWS::EC2::Instance'
class troposphere.ec2.InstanceMarketOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MarketType': (<type 'basestring'>, False), 'SpotOptions': (<class 'troposphere.ec2.SpotOptions'>, False)}
class troposphere.ec2.InternetGateway(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::EC2::InternetGateway'
class troposphere.ec2.Ipv6Addresses(address)[source]

Bases: troposphere.AWSHelperFn

class troposphere.ec2.LaunchSpecifications(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BlockDeviceMappings': ([<class 'troposphere.ec2.BlockDeviceMapping'>], False), 'EbsOptimized': (<function boolean at 0x7fa8df38ca28>, False), 'IamInstanceProfile': (<class 'troposphere.ec2.IamInstanceProfile'>, False), 'ImageId': (<type 'basestring'>, True), 'InstanceType': (<type 'basestring'>, True), 'KernelId': (<type 'basestring'>, False), 'KeyName': (<type 'basestring'>, False), 'Monitoring': (<class 'troposphere.ec2.Monitoring'>, False), 'NetworkInterfaces': ([<class 'troposphere.ec2.NetworkInterfaces'>], False), 'Placement': (<class 'troposphere.ec2.Placement'>, False), 'RamdiskId': (<type 'basestring'>, False), 'SecurityGroups': ([<class 'troposphere.ec2.SecurityGroups'>], False), 'SpotPrice': (<type 'basestring'>, False), 'SubnetId': (<type 'basestring'>, False), 'TagSpecifications': ([<class 'troposphere.ec2.SpotFleetTagSpecification'>], False), 'UserData': (<type 'basestring'>, False), 'WeightedCapacity': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.ec2.LaunchTemplate(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'LaunchTemplateData': (<class 'troposphere.ec2.LaunchTemplateData'>, False), 'LaunchTemplateName': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::LaunchTemplate'
class troposphere.ec2.LaunchTemplateConfigs(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LaunchTemplateSpecification': (<class 'troposphere.ec2.LaunchTemplateSpecification'>, True), 'Overrides': ([<class 'troposphere.ec2.LaunchTemplateOverrides'>], False)}
class troposphere.ec2.LaunchTemplateCreditSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CpuCredits': (<type 'basestring'>, False)}
class troposphere.ec2.LaunchTemplateData(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BlockDeviceMappings': ([<class 'troposphere.ec2.BlockDeviceMapping'>], False), 'CreditSpecification': (<class 'troposphere.ec2.LaunchTemplateCreditSpecification'>, False), 'DisableApiTermination': (<function boolean at 0x7fa8df38ca28>, False), 'EbsOptimized': (<function boolean at 0x7fa8df38ca28>, False), 'ElasticGpuSpecifications': ([<class 'troposphere.ec2.ElasticGpuSpecification'>], False), 'IamInstanceProfile': (<class 'troposphere.ec2.IamInstanceProfile'>, False), 'ImageId': (<type 'basestring'>, True), 'InstanceInitiatedShutdownBehavior': (<type 'basestring'>, False), 'InstanceMarketOptions': (<class 'troposphere.ec2.InstanceMarketOptions'>, False), 'InstanceType': (<type 'basestring'>, False), 'KernelId': (<type 'basestring'>, False), 'KeyName': (<type 'basestring'>, False), 'Monitoring': (<class 'troposphere.ec2.Monitoring'>, False), 'NetworkInterfaces': ([<class 'troposphere.ec2.NetworkInterfaces'>], False), 'Placement': (<class 'troposphere.ec2.Placement'>, False), 'RamDiskId': (<type 'basestring'>, False), 'SecurityGroupIds': (<type 'list'>, False), 'SecurityGroups': (<type 'list'>, False), 'TagSpecifications': ([<class 'troposphere.ec2.TagSpecifications'>], False), 'UserData': (<type 'basestring'>, False)}
class troposphere.ec2.LaunchTemplateOverrides(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AvailabilityZone': (<type 'basestring'>, False), 'InstanceType': (<type 'basestring'>, False), 'SpotPrice': (<type 'basestring'>, False), 'SubnetId': (<type 'basestring'>, False), 'WeightedCapacity': (<function double at 0x7fa8df38cc80>, False)}
class troposphere.ec2.LaunchTemplateSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LaunchTemplateId': (<type 'basestring'>, False), 'LaunchTemplateName': (<type 'basestring'>, False), 'Version': (<type 'basestring'>, True)}
class troposphere.ec2.LicenseSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LicenseConfigurationArn': (<type 'basestring'>, True)}
class troposphere.ec2.LoadBalancersConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ClassicLoadBalancersConfig': ([<class 'troposphere.ec2.ClassicLoadBalancersConfig'>], False), 'TargetGroupsConfig': (<class 'troposphere.ec2.TargetGroup'>, False)}
class troposphere.ec2.Monitoring(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Enabled': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.ec2.MountPoint(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Device': (<type 'basestring'>, True), 'VolumeId': (<type 'basestring'>, True)}
class troposphere.ec2.NatGateway(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AllocationId': (<type 'basestring'>, True), 'SubnetId': (<type 'basestring'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::EC2::NatGateway'
class troposphere.ec2.NetworkAcl(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::NetworkAcl'
class troposphere.ec2.NetworkAclEntry(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CidrBlock': (<type 'basestring'>, False), 'Egress': (<function boolean at 0x7fa8df38ca28>, False), 'Icmp': (<class 'troposphere.ec2.ICMP'>, False), 'Ipv6CidrBlock': (<type 'basestring'>, False), 'NetworkAclId': (<type 'basestring'>, True), 'PortRange': (<class 'troposphere.ec2.PortRange'>, False), 'Protocol': (<function network_port at 0x7fa8df38cde8>, True), 'RuleAction': (<type 'basestring'>, True), 'RuleNumber': (<function integer_range_checker at 0x7fa8df1b86e0>, True)}
resource_type = 'AWS::EC2::NetworkAclEntry'
validate()[source]
class troposphere.ec2.NetworkInterface(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'GroupSet': (<type 'list'>, False), 'Ipv6AddressCount': (<function integer at 0x7fa8df38caa0>, False), 'Ipv6Addresses': ([<class 'troposphere.ec2.Ipv6Addresses'>], False), 'PrivateIpAddress': (<type 'basestring'>, False), 'PrivateIpAddresses': ([<class 'troposphere.ec2.PrivateIpAddressSpecification'>], False), 'SecondaryPrivateIpAddressCount': (<function integer at 0x7fa8df38caa0>, False), 'SourceDestCheck': (<function boolean at 0x7fa8df38ca28>, False), 'SubnetId': (<type 'basestring'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::EC2::NetworkInterface'
class troposphere.ec2.NetworkInterfaceAttachment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DeleteOnTermination': (<function boolean at 0x7fa8df38ca28>, False), 'DeviceIndex': (<function integer at 0x7fa8df38caa0>, True), 'InstanceId': (<type 'basestring'>, True), 'NetworkInterfaceId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::NetworkInterfaceAttachment'
class troposphere.ec2.NetworkInterfacePermission(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AwsAccountId': (<type 'basestring'>, True), 'NetworkInterfaceId': (<type 'basestring'>, True), 'Permission': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::NetworkInterfacePermission'
class troposphere.ec2.NetworkInterfaceProperty(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AssociatePublicIpAddress': (<function boolean at 0x7fa8df38ca28>, False), 'DeleteOnTermination': (<function boolean at 0x7fa8df38ca28>, False), 'Description': (<type 'basestring'>, False), 'DeviceIndex': (<function integer at 0x7fa8df38caa0>, True), 'GroupSet': ([<type 'basestring'>], False), 'Ipv6AddressCount': (<function integer at 0x7fa8df38caa0>, False), 'Ipv6Addresses': ([<class 'troposphere.ec2.Ipv6Addresses'>], False), 'NetworkInterfaceId': (<type 'basestring'>, False), 'PrivateIpAddress': (<type 'basestring'>, False), 'PrivateIpAddresses': ([<class 'troposphere.ec2.PrivateIpAddressSpecification'>], False), 'SecondaryPrivateIpAddressCount': (<function integer at 0x7fa8df38caa0>, False), 'SubnetId': (<type 'basestring'>, False)}
class troposphere.ec2.NetworkInterfaces(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AssociatePublicIpAddress': (<function boolean at 0x7fa8df38ca28>, False), 'DeleteOnTermination': (<function boolean at 0x7fa8df38ca28>, False), 'Description': (<type 'basestring'>, False), 'DeviceIndex': (<function integer at 0x7fa8df38caa0>, True), 'Groups': ([<type 'basestring'>], False), 'Ipv6AddressCount': (<function integer at 0x7fa8df38caa0>, False), 'Ipv6Addresses': ([<class 'troposphere.ec2.Ipv6Addresses'>], False), 'NetworkInterfaceId': (<type 'basestring'>, False), 'PrivateIpAddresses': ([<class 'troposphere.ec2.PrivateIpAddressSpecification'>], False), 'SecondaryPrivateIpAddressCount': (<function integer at 0x7fa8df38caa0>, False), 'SubnetId': (<type 'basestring'>, False)}
class troposphere.ec2.OnDemandOptionsRequest(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllocationStrategy': (<type 'basestring'>, False)}
class troposphere.ec2.Placement(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AvailabilityZone': (<type 'basestring'>, False), 'GroupName': (<type 'basestring'>, False)}
class troposphere.ec2.PlacementGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Strategy': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::PlacementGroup'
class troposphere.ec2.PortRange(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'From': (<function network_port at 0x7fa8df38cde8>, False), 'To': (<function network_port at 0x7fa8df38cde8>, False)}
class troposphere.ec2.PrivateIpAddressSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Primary': (<function boolean at 0x7fa8df38ca28>, True), 'PrivateIpAddress': (<type 'basestring'>, True)}
class troposphere.ec2.Route(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DestinationCidrBlock': (<type 'basestring'>, False), 'DestinationIpv6CidrBlock': (<type 'basestring'>, False), 'EgressOnlyInternetGatewayId': (<type 'basestring'>, False), 'GatewayId': (<type 'basestring'>, False), 'InstanceId': (<type 'basestring'>, False), 'NatGatewayId': (<type 'basestring'>, False), 'NetworkInterfaceId': (<type 'basestring'>, False), 'RouteTableId': (<type 'basestring'>, True), 'VpcPeeringConnectionId': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::Route'
validate()[source]
class troposphere.ec2.RouteTable(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::RouteTable'
class troposphere.ec2.SecurityGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'GroupDescription': (<type 'basestring'>, True), 'GroupName': (<type 'basestring'>, False), 'SecurityGroupEgress': (<type 'list'>, False), 'SecurityGroupIngress': (<type 'list'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VpcId': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::SecurityGroup'
class troposphere.ec2.SecurityGroupEgress(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CidrIp': (<type 'basestring'>, False), 'CidrIpv6': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'DestinationPrefixListId': (<type 'basestring'>, False), 'DestinationSecurityGroupId': (<type 'basestring'>, False), 'FromPort': (<function network_port at 0x7fa8df38cde8>, False), 'GroupId': (<type 'basestring'>, True), 'IpProtocol': (<type 'basestring'>, True), 'SourceSecurityGroupId': (<type 'basestring'>, False), 'ToPort': (<function network_port at 0x7fa8df38cde8>, False)}
resource_type = 'AWS::EC2::SecurityGroupEgress'
validate()[source]
class troposphere.ec2.SecurityGroupIngress(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CidrIp': (<type 'basestring'>, False), 'CidrIpv6': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'FromPort': (<function network_port at 0x7fa8df38cde8>, False), 'GroupId': (<type 'basestring'>, False), 'GroupName': (<type 'basestring'>, False), 'IpProtocol': (<type 'basestring'>, True), 'SourceSecurityGroupId': (<type 'basestring'>, False), 'SourceSecurityGroupName': (<type 'basestring'>, False), 'SourceSecurityGroupOwnerId': (<type 'basestring'>, False), 'ToPort': (<function network_port at 0x7fa8df38cde8>, False)}
resource_type = 'AWS::EC2::SecurityGroupIngress'
validate()[source]
class troposphere.ec2.SecurityGroupRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CidrIp': (<type 'basestring'>, False), 'CidrIpv6': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'DestinationPrefixListId': (<type 'basestring'>, False), 'DestinationSecurityGroupId': (<type 'basestring'>, False), 'FromPort': (<function network_port at 0x7fa8df38cde8>, False), 'IpProtocol': (<type 'basestring'>, True), 'SourceSecurityGroupId': (<type 'basestring'>, False), 'SourceSecurityGroupName': (<type 'basestring'>, False), 'SourceSecurityGroupOwnerId': (<type 'basestring'>, False), 'ToPort': (<function network_port at 0x7fa8df38cde8>, False)}
class troposphere.ec2.SecurityGroups(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'GroupId': (<type 'basestring'>, False)}
class troposphere.ec2.SpotFleet(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'SpotFleetRequestConfigData': (<class 'troposphere.ec2.SpotFleetRequestConfigData'>, True)}
resource_type = 'AWS::EC2::SpotFleet'
class troposphere.ec2.SpotFleetRequestConfigData(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllocationStrategy': (<type 'basestring'>, False), 'ExcessCapacityTerminationPolicy': (<type 'basestring'>, False), 'IamFleetRole': (<type 'basestring'>, True), 'InstanceInterruptionBehavior': (<type 'basestring'>, False), 'LaunchSpecifications': ([<class 'troposphere.ec2.LaunchSpecifications'>], False), 'LaunchTemplateConfigs': ([<class 'troposphere.ec2.LaunchTemplateConfigs'>], False), 'LoadBalancersConfig': (<class 'troposphere.ec2.LoadBalancersConfig'>, False), 'ReplaceUnhealthyInstances': (<function boolean at 0x7fa8df38ca28>, False), 'SpotPrice': (<type 'basestring'>, False), 'TargetCapacity': (<function positive_integer at 0x7fa8df38cb18>, True), 'TerminateInstancesWithExpiration': (<function boolean at 0x7fa8df38ca28>, False), 'Type': (<type 'basestring'>, False), 'ValidFrom': (<type 'basestring'>, False), 'ValidUntil': (<type 'basestring'>, False)}
validate()[source]
class troposphere.ec2.SpotFleetTagSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceType': (<type 'basestring'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
class troposphere.ec2.SpotOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InstanceInterruptionBehavior': (<type 'basestring'>, False), 'MaxPrice': (<type 'basestring'>, False), 'SpotInstanceType': (<type 'basestring'>, False)}
class troposphere.ec2.SpotOptionsRequest(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllocationStrategy': (<type 'basestring'>, False), 'InstanceInterruptionBehavior': (<type 'basestring'>, False), 'InstancePoolsToUseCount': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.ec2.SsmAssociations(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AssociationParameters': ([<class 'troposphere.ec2.AssociationParameters'>], False), 'DocumentName': (<type 'basestring'>, True)}
class troposphere.ec2.Subnet(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AssignIpv6AddressOnCreation': (<function boolean at 0x7fa8df38ca28>, False), 'AvailabilityZone': (<type 'basestring'>, False), 'CidrBlock': (<type 'basestring'>, True), 'Ipv6CidrBlock': (<type 'basestring'>, False), 'MapPublicIpOnLaunch': (<function boolean at 0x7fa8df38ca28>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::Subnet'
validate()[source]
class troposphere.ec2.SubnetCidrBlock(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Ipv6CidrBlock': (<type 'basestring'>, True), 'SubnetId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::SubnetCidrBlock'
class troposphere.ec2.SubnetNetworkAclAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'NetworkAclId': (<type 'basestring'>, True), 'SubnetId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::SubnetNetworkAclAssociation'
class troposphere.ec2.SubnetRouteTableAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'RouteTableId': (<type 'basestring'>, True), 'SubnetId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::SubnetRouteTableAssociation'
class troposphere.ec2.Tag(key=None, value=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
class troposphere.ec2.TagSpecifications(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ResourceType': (<type 'basestring'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
class troposphere.ec2.TargetCapacitySpecificationRequest(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DefaultTargetCapacityType': (<type 'basestring'>, False), 'OnDemandTargetCapacity': (<function integer at 0x7fa8df38caa0>, False), 'SpotTargetCapacity': (<function integer at 0x7fa8df38caa0>, False), 'TotalTargetCapacity': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.ec2.TargetGroup(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Arn': (<type 'basestring'>, True)}
class troposphere.ec2.TransitGateway(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AmazonSideAsn': (<function integer at 0x7fa8df38caa0>, False), 'AutoAcceptSharedAttachments': (<type 'basestring'>, False), 'DefaultRouteTableAssociation': (<type 'basestring'>, False), 'DefaultRouteTablePropagation': (<type 'basestring'>, False), 'DnsSupport': (<type 'basestring'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VpnEcmpSupport': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::TransitGateway'
class troposphere.ec2.TransitGatewayAttachment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'SubnetIds': ([<type 'basestring'>], True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'TransitGatewayId': (<type 'basestring'>, True), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::TransitGatewayAttachment'
class troposphere.ec2.TransitGatewayRoute(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Blackhole': (<function boolean at 0x7fa8df38ca28>, False), 'DestinationCidrBlock': (<type 'basestring'>, False), 'TransitGatewayAttachmentId': (<type 'basestring'>, False), 'TransitGatewayRouteTableId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::TransitGatewayRoute'
class troposphere.ec2.TransitGatewayRouteTable(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'TransitGatewayId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::TransitGatewayRouteTable'
class troposphere.ec2.TransitGatewayRouteTableAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'TransitGatewayAttachmentId': (<type 'basestring'>, True), 'TransitGatewayRouteTableId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::TransitGatewayRouteTableAssociation'
class troposphere.ec2.TransitGatewayRouteTablePropagation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'TransitGatewayAttachmentId': (<type 'basestring'>, True), 'TransitGatewayRouteTableId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::TransitGatewayRouteTablePropagation'
class troposphere.ec2.VPC(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CidrBlock': (<type 'basestring'>, True), 'EnableDnsHostnames': (<function boolean at 0x7fa8df38ca28>, False), 'EnableDnsSupport': (<function boolean at 0x7fa8df38ca28>, False), 'InstanceTenancy': (<function instance_tenancy at 0x7fa8df1b8848>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::EC2::VPC'
class troposphere.ec2.VPCCidrBlock(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AmazonProvidedIpv6CidrBlock': (<function boolean at 0x7fa8df38ca28>, False), 'CidrBlock': (<type 'basestring'>, False), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPCCidrBlock'
class troposphere.ec2.VPCDHCPOptionsAssociation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DhcpOptionsId': (<type 'basestring'>, True), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPCDHCPOptionsAssociation'
class troposphere.ec2.VPCEndpoint(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'PolicyDocument': ((<type 'dict'>, <class 'awacs.aws.Policy'>), False), 'PrivateDnsEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'RouteTableIds': ([<type 'basestring'>], False), 'SecurityGroupIds': ([<type 'basestring'>], False), 'ServiceName': (<type 'basestring'>, True), 'SubnetIds': ([<type 'basestring'>], False), 'VpcEndpointType': (<function vpc_endpoint_type at 0x7fa8df39b9b0>, False), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPCEndpoint'
class troposphere.ec2.VPCEndpointConnectionNotification(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ConnectionEvents': ([<type 'basestring'>], True), 'ConnectionNotificationArn': (<type 'basestring'>, True), 'ServiceId': (<type 'basestring'>, False), 'VPCEndpointId': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::VPCEndpointConnectionNotification'
class troposphere.ec2.VPCEndpointService(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AcceptanceRequired': (<function boolean at 0x7fa8df38ca28>, False), 'NetworkLoadBalancerArns': ([<type 'basestring'>], True)}
resource_type = 'AWS::EC2::VPCEndpointService'
class troposphere.ec2.VPCEndpointServicePermissions(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AllowedPrincipals': ([<type 'basestring'>], False), 'ServiceId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPCEndpointServicePermissions'
class troposphere.ec2.VPCGatewayAttachment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'InternetGatewayId': (<type 'basestring'>, False), 'VpcId': (<type 'basestring'>, True), 'VpnGatewayId': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::VPCGatewayAttachment'
class troposphere.ec2.VPCPeeringConnection(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'PeerOwnerId': (<type 'basestring'>, False), 'PeerRegion': (<type 'basestring'>, False), 'PeerRoleArn': (<type 'basestring'>, False), 'PeerVpcId': (<type 'basestring'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPCPeeringConnection'
class troposphere.ec2.VPNConnection(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CustomerGatewayId': (<type 'basestring'>, True), 'StaticRoutesOnly': (<function boolean at 0x7fa8df38ca28>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'Type': (<type 'basestring'>, True), 'VpnGatewayId': (<type 'basestring'>, True), 'VpnTunnelOptionsSpecifications': ([<class 'troposphere.ec2.VpnTunnelOptionsSpecification'>], False)}
resource_type = 'AWS::EC2::VPNConnection'
class troposphere.ec2.VPNConnectionRoute(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DestinationCidrBlock': (<type 'basestring'>, True), 'VpnConnectionId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPNConnectionRoute'
class troposphere.ec2.VPNGateway(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AmazonSideAsn': (<function positive_integer at 0x7fa8df38cb18>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'Type': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPNGateway'
class troposphere.ec2.VPNGatewayRoutePropagation(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'RouteTableIds': ([<type 'basestring'>], True), 'VpnGatewayId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VPNGatewayRoutePropagation'
class troposphere.ec2.Volume(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoEnableIO': (<function boolean at 0x7fa8df38ca28>, False), 'AvailabilityZone': (<type 'basestring'>, True), 'Encrypted': (<function boolean at 0x7fa8df38ca28>, False), 'Iops': (<function positive_integer at 0x7fa8df38cb18>, False), 'KmsKeyId': (<type 'basestring'>, False), 'Size': (<function positive_integer at 0x7fa8df38cb18>, False), 'SnapshotId': (<type 'basestring'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VolumeType': (<type 'basestring'>, False)}
resource_type = 'AWS::EC2::Volume'
class troposphere.ec2.VolumeAttachment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Device': (<type 'basestring'>, True), 'InstanceId': (<type 'basestring'>, True), 'VolumeId': (<type 'basestring'>, True)}
resource_type = 'AWS::EC2::VolumeAttachment'
class troposphere.ec2.VpnTunnelOptionsSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PreSharedKey': (<function vpn_pre_shared_key at 0x7fa8df39b8c0>, False), 'TunnelInsideCidr': (<function vpn_tunnel_inside_cidr at 0x7fa8df39b938>, False)}
troposphere.ec2.check_ports(props)[source]
troposphere.ec2.instance_tenancy(value)[source]
troposphere.ec2.validate_elasticinferenceaccelerator_type(elasticinferenceaccelerator_type)[source]

Validate ElasticInferenceAccelerator for Instance

troposphere.ecr module

class troposphere.ecr.LifecyclePolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LifecyclePolicyText': (<type 'basestring'>, False), 'RegistryId': (<type 'basestring'>, False)}
class troposphere.ecr.Repository(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'LifecyclePolicy': (<class 'troposphere.ecr.LifecyclePolicy'>, False), 'RepositoryName': (<type 'basestring'>, False), 'RepositoryPolicyText': ((<type 'dict'>, <class 'awacs.aws.Policy'>), False)}
resource_type = 'AWS::ECR::Repository'

troposphere.ecs module

class troposphere.ecs.AwsvpcConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AssignPublicIp': (<type 'basestring'>, False), 'SecurityGroups': (<type 'list'>, False), 'Subnets': (<type 'list'>, True)}
class troposphere.ecs.Cluster(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ClusterName': (<type 'basestring'>, False)}
resource_type = 'AWS::ECS::Cluster'
class troposphere.ecs.ContainerDefinition(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Command': ([<type 'basestring'>], False), 'Cpu': (<function positive_integer at 0x7fa8df38cb18>, False), 'DisableNetworking': (<function boolean at 0x7fa8df38ca28>, False), 'DnsSearchDomains': ([<type 'basestring'>], False), 'DnsServers': ([<type 'basestring'>], False), 'DockerLabels': (<type 'dict'>, False), 'DockerSecurityOptions': ([<type 'basestring'>], False), 'EntryPoint': ([<type 'basestring'>], False), 'Environment': ([<class 'troposphere.ecs.Environment'>], False), 'Essential': (<function boolean at 0x7fa8df38ca28>, False), 'ExtraHosts': ([<class 'troposphere.ecs.HostEntry'>], False), 'HealthCheck': (<class 'troposphere.ecs.HealthCheck'>, False), 'Hostname': (<type 'basestring'>, False), 'Image': (<type 'basestring'>, True), 'Links': ([<type 'basestring'>], False), 'LinuxParameters': (<class 'troposphere.ecs.LinuxParameters'>, False), 'LogConfiguration': (<class 'troposphere.ecs.LogConfiguration'>, False), 'Memory': (<function positive_integer at 0x7fa8df38cb18>, False), 'MemoryReservation': (<function positive_integer at 0x7fa8df38cb18>, False), 'MountPoints': ([<class 'troposphere.ecs.MountPoint'>], False), 'Name': (<type 'basestring'>, True), 'PortMappings': ([<class 'troposphere.ecs.PortMapping'>], False), 'Privileged': (<function boolean at 0x7fa8df38ca28>, False), 'ReadonlyRootFilesystem': (<function boolean at 0x7fa8df38ca28>, False), 'RepositoryCredentials': (<class 'troposphere.ecs.RepositoryCredentials'>, False), 'Ulimits': ([<class 'troposphere.ecs.Ulimit'>], False), 'User': (<type 'basestring'>, False), 'VolumesFrom': ([<class 'troposphere.ecs.VolumesFrom'>], False), 'WorkingDirectory': (<type 'basestring'>, False)}
class troposphere.ecs.DeploymentConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaximumPercent': (<function positive_integer at 0x7fa8df38cb18>, False), 'MinimumHealthyPercent': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.ecs.Device(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContainerPath': (<type 'basestring'>, False), 'HostPath': (<type 'basestring'>, False), 'Permissions': ([<type 'basestring'>], False)}
class troposphere.ecs.DockerVolumeConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Autoprovision': (<function boolean at 0x7fa8df38ca28>, False), 'Driver': (<type 'basestring'>, False), 'DriverOpts': (<type 'dict'>, False), 'Labels': (<type 'dict'>, False), 'Scope': (<function scope_validator at 0x7fa8df05cb18>, False)}
class troposphere.ecs.Environment(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
class troposphere.ecs.HealthCheck(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Command': ([<type 'basestring'>], True), 'Interval': (<function integer at 0x7fa8df38caa0>, False), 'Retries': (<function integer at 0x7fa8df38caa0>, False), 'StartPeriod': (<function integer at 0x7fa8df38caa0>, False), 'Timeout': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.ecs.Host(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SourcePath': (<type 'basestring'>, False)}
class troposphere.ecs.HostEntry(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Hostname': (<type 'basestring'>, True), 'IpAddress': (<type 'basestring'>, True)}
class troposphere.ecs.KernelCapabilities(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Add': ([<type 'basestring'>], False), 'Drop': ([<type 'basestring'>], False)}
class troposphere.ecs.LinuxParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Capabilities': (<class 'troposphere.ecs.KernelCapabilities'>, False), 'Devices': ([<class 'troposphere.ecs.Device'>], False), 'InitProcessEnabled': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.ecs.LoadBalancer(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContainerName': (<type 'basestring'>, False), 'ContainerPort': (<function network_port at 0x7fa8df38cde8>, True), 'LoadBalancerName': (<type 'basestring'>, False), 'TargetGroupArn': (<type 'basestring'>, False)}
class troposphere.ecs.LogConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'LogDriver': (<type 'basestring'>, True), 'Options': (<type 'dict'>, False)}
class troposphere.ecs.MountPoint(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContainerPath': (<type 'basestring'>, True), 'ReadOnly': (<function boolean at 0x7fa8df38ca28>, False), 'SourceVolume': (<type 'basestring'>, True)}
class troposphere.ecs.NetworkConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AwsvpcConfiguration': (<class 'troposphere.ecs.AwsvpcConfiguration'>, False)}
class troposphere.ecs.PlacementConstraint(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Expression': (<type 'basestring'>, False), 'Type': (<function placement_constraint_validator at 0x7fa8df05caa0>, True)}
class troposphere.ecs.PlacementStrategy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Field': (<type 'basestring'>, False), 'Type': (<function placement_strategy_validator at 0x7fa8df05ca28>, True)}
class troposphere.ecs.PortMapping(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContainerPort': (<function network_port at 0x7fa8df38cde8>, True), 'HostPort': (<function network_port at 0x7fa8df38cde8>, False), 'Protocol': (<type 'basestring'>, False)}
class troposphere.ecs.RepositoryCredentials(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CredentialsParameter': (<type 'basestring'>, False)}
class troposphere.ecs.Service(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Cluster': (<type 'basestring'>, False), 'DeploymentConfiguration': (<class 'troposphere.ecs.DeploymentConfiguration'>, False), 'DesiredCount': (<function positive_integer at 0x7fa8df38cb18>, False), 'HealthCheckGracePeriodSeconds': (<function positive_integer at 0x7fa8df38cb18>, False), 'LaunchType': (<function launch_type_validator at 0x7fa8df05cb90>, False), 'LoadBalancers': ([<class 'troposphere.ecs.LoadBalancer'>], False), 'NetworkConfiguration': (<class 'troposphere.ecs.NetworkConfiguration'>, False), 'PlacementConstraints': ([<class 'troposphere.ecs.PlacementConstraint'>], False), 'PlacementStrategies': ([<class 'troposphere.ecs.PlacementStrategy'>], False), 'PlatformVersion': (<type 'basestring'>, False), 'Role': (<type 'basestring'>, False), 'SchedulingStrategy': (<type 'basestring'>, False), 'ServiceName': (<type 'basestring'>, False), 'ServiceRegistries': ([<class 'troposphere.ecs.ServiceRegistry'>], False), 'TaskDefinition': (<type 'basestring'>, True)}
resource_type = 'AWS::ECS::Service'
class troposphere.ecs.ServiceRegistry(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContainerName': (<type 'basestring'>, False), 'ContainerPort': (<function integer at 0x7fa8df38caa0>, False), 'Port': (<function integer at 0x7fa8df38caa0>, False), 'RegistryArn': (<type 'basestring'>, False)}
class troposphere.ecs.TaskDefinition(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ContainerDefinitions': ([<class 'troposphere.ecs.ContainerDefinition'>], True), 'Cpu': (<type 'basestring'>, False), 'ExecutionRoleArn': (<type 'basestring'>, False), 'Family': (<type 'basestring'>, False), 'Memory': (<type 'basestring'>, False), 'NetworkMode': (<type 'basestring'>, False), 'PlacementConstraints': ([<class 'troposphere.ecs.PlacementConstraint'>], False), 'RequiresCompatibilities': ([<type 'basestring'>], False), 'TaskRoleArn': (<type 'basestring'>, False), 'Volumes': ([<class 'troposphere.ecs.Volume'>], False)}
resource_type = 'AWS::ECS::TaskDefinition'
class troposphere.ecs.Ulimit(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'HardLimit': (<function integer at 0x7fa8df38caa0>, True), 'Name': (<type 'basestring'>, False), 'SoftLimit': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.ecs.Volume(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DockerVolumeConfiguration': (<class 'troposphere.ecs.DockerVolumeConfiguration'>, False), 'Host': (<class 'troposphere.ecs.Host'>, False), 'Name': (<type 'basestring'>, True)}
class troposphere.ecs.VolumesFrom(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ReadOnly': (<function boolean at 0x7fa8df38ca28>, False), 'SourceContainer': (<type 'basestring'>, True)}
troposphere.ecs.launch_type_validator(x)[source]
troposphere.ecs.placement_constraint_validator(x)[source]
troposphere.ecs.placement_strategy_validator(x)[source]
troposphere.ecs.scope_validator(x)[source]

troposphere.efs module

class troposphere.efs.FileSystem(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Encrypted': (<function boolean at 0x7fa8df38ca28>, False), 'FileSystemTags': (<class 'troposphere.Tags'>, False), 'KmsKeyId': (<type 'basestring'>, False), 'PerformanceMode': (<type 'basestring'>, False), 'ProvisionedThroughputInMibps': (<type 'float'>, False), 'ThroughputMode': (<function throughput_mode_validator at 0x7fa8deff8f50>, False)}
resource_type = 'AWS::EFS::FileSystem'
class troposphere.efs.MountTarget(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'FileSystemId': (<type 'basestring'>, True), 'IpAddress': (<type 'basestring'>, False), 'SecurityGroups': ([<type 'basestring'>], True), 'SubnetId': (<type 'basestring'>, True)}
resource_type = 'AWS::EFS::MountTarget'
troposphere.efs.provisioned_throughput_validator(throughput)[source]
troposphere.efs.throughput_mode_validator(mode)[source]

troposphere.eks module

class troposphere.eks.Cluster(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Name': (<type 'basestring'>, False), 'ResourcesVpcConfig': (<class 'troposphere.eks.ResourcesVpcConfig'>, True), 'RoleArn': (<type 'basestring'>, True), 'Version': (<type 'basestring'>, False)}
resource_type = 'AWS::EKS::Cluster'
class troposphere.eks.ResourcesVpcConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SecurityGroupIds': ([<type 'basestring'>], False), 'SubnetIds': ([<type 'basestring'>], True)}

troposphere.elasticache module

class troposphere.elasticache.CacheCluster(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AZMode': (<type 'basestring'>, False), 'AutoMinorVersionUpgrade': (<function boolean at 0x7fa8df38ca28>, False), 'CacheNodeType': (<type 'basestring'>, True), 'CacheParameterGroupName': (<type 'basestring'>, False), 'CacheSecurityGroupNames': ([<type 'basestring'>], False), 'CacheSubnetGroupName': (<type 'basestring'>, False), 'ClusterName': (<type 'basestring'>, False), 'Engine': (<type 'basestring'>, True), 'EngineVersion': (<type 'basestring'>, False), 'NotificationTopicArn': (<type 'basestring'>, False), 'NumCacheNodes': (<function integer at 0x7fa8df38caa0>, True), 'Port': (<function integer at 0x7fa8df38caa0>, False), 'PreferredAvailabilityZone': (<type 'basestring'>, False), 'PreferredAvailabilityZones': ([<type 'basestring'>], False), 'PreferredMaintenanceWindow': (<type 'basestring'>, False), 'SnapshotArns': ([<type 'basestring'>], False), 'SnapshotName': (<type 'basestring'>, False), 'SnapshotRetentionLimit': (<function integer at 0x7fa8df38caa0>, False), 'SnapshotWindow': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'VpcSecurityGroupIds': ([<type 'basestring'>], False)}
resource_type = 'AWS::ElastiCache::CacheCluster'
validate()[source]
class troposphere.elasticache.NodeGroupConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'NodeGroupId': (<function validate_node_group_id at 0x7fa8de46b668>, False), 'PrimaryAvailabilityZone': (<type 'basestring'>, False), 'ReplicaAvailabilityZones': (<type 'basestring'>, False), 'ReplicaCount': (<function integer at 0x7fa8df38caa0>, False), 'Slots': (<type 'basestring'>, False)}
class troposphere.elasticache.ParameterGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CacheParameterGroupFamily': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, True), 'Properties': (<type 'dict'>, True)}
resource_type = 'AWS::ElastiCache::ParameterGroup'
class troposphere.elasticache.ReplicationGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AtRestEncryptionEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'AuthToken': (<type 'basestring'>, False), 'AutoMinorVersionUpgrade': (<function boolean at 0x7fa8df38ca28>, False), 'AutomaticFailoverEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'CacheNodeType': (<type 'basestring'>, True), 'CacheParameterGroupName': (<type 'basestring'>, False), 'CacheSecurityGroupNames': ([<type 'basestring'>], False), 'CacheSubnetGroupName': (<type 'basestring'>, False), 'Engine': (<type 'basestring'>, True), 'EngineVersion': (<type 'basestring'>, False), 'NodeGroupConfiguration': (<type 'list'>, False), 'NotificationTopicArn': (<type 'basestring'>, False), 'NumCacheClusters': (<function integer at 0x7fa8df38caa0>, False), 'NumNodeGroups': (<function integer at 0x7fa8df38caa0>, False), 'Port': (<function network_port at 0x7fa8df38cde8>, False), 'PreferredCacheClusterAZs': ([<type 'basestring'>], False), 'PreferredMaintenanceWindow': (<type 'basestring'>, False), 'PrimaryClusterId': (<type 'basestring'>, False), 'ReplicasPerNodeGroup': (<function integer at 0x7fa8df38caa0>, False), 'ReplicationGroupDescription': (<type 'basestring'>, True), 'ReplicationGroupId': (<type 'basestring'>, False), 'SecurityGroupIds': ([<type 'basestring'>], False), 'SnapshotArns': ([<type 'basestring'>], False), 'SnapshotName': (<type 'basestring'>, False), 'SnapshotRetentionLimit': (<function integer at 0x7fa8df38caa0>, False), 'SnapshotWindow': (<type 'basestring'>, False), 'SnapshottingClusterId': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'TransitEncryptionEnabled': (<function boolean at 0x7fa8df38ca28>, False)}
resource_type = 'AWS::ElastiCache::ReplicationGroup'
validate()[source]
class troposphere.elasticache.SecurityGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False)}
resource_type = 'AWS::ElastiCache::SecurityGroup'
class troposphere.elasticache.SecurityGroupIngress(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CacheSecurityGroupName': (<type 'basestring'>, True), 'EC2SecurityGroupName': (<type 'basestring'>, True), 'EC2SecurityGroupOwnerId': (<type 'basestring'>, False)}
resource_type = 'AWS::ElastiCache::SecurityGroupIngress'
class troposphere.elasticache.SubnetGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CacheSubnetGroupName': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, True), 'SubnetIds': (<type 'list'>, True)}
resource_type = 'AWS::ElastiCache::SubnetGroup'
troposphere.elasticache.validate_node_group_id(node_group_id)[source]

troposphere.elasticbeanstalk module

class troposphere.elasticbeanstalk.Application(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationName': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'ResourceLifecycleConfig': (<class 'troposphere.elasticbeanstalk.ApplicationResourceLifecycleConfig'>, False)}
resource_type = 'AWS::ElasticBeanstalk::Application'
class troposphere.elasticbeanstalk.ApplicationResourceLifecycleConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ServiceRole': (<type 'basestring'>, False), 'VersionLifecycleConfig': (<class 'troposphere.elasticbeanstalk.ApplicationVersionLifecycleConfig'>, False)}
class troposphere.elasticbeanstalk.ApplicationVersion(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationName': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'SourceBundle': (<class 'troposphere.elasticbeanstalk.SourceBundle'>, False)}
resource_type = 'AWS::ElasticBeanstalk::ApplicationVersion'
class troposphere.elasticbeanstalk.ApplicationVersionLifecycleConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaxAgeRule': (<class 'troposphere.elasticbeanstalk.MaxAgeRule'>, False), 'MaxCountRule': (<class 'troposphere.elasticbeanstalk.MaxCountRule'>, False)}
class troposphere.elasticbeanstalk.ConfigurationTemplate(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationName': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'EnvironmentId': (<type 'basestring'>, False), 'OptionSettings': ([<class 'troposphere.elasticbeanstalk.OptionSettings'>], False), 'PlatformArn': (<type 'basestring'>, False), 'SolutionStackName': (<type 'basestring'>, False), 'SourceConfiguration': (<class 'troposphere.elasticbeanstalk.SourceConfiguration'>, False)}
resource_type = 'AWS::ElasticBeanstalk::ConfigurationTemplate'
class troposphere.elasticbeanstalk.Environment(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ApplicationName': (<type 'basestring'>, True), 'CNAMEPrefix': (<type 'basestring'>, False), 'Description': (<type 'basestring'>, False), 'EnvironmentName': (<type 'basestring'>, False), 'OptionSettings': ([<class 'troposphere.elasticbeanstalk.OptionSettings'>], False), 'PlatformArn': (<type 'basestring'>, False), 'SolutionStackName': (<type 'basestring'>, False), 'Tags': (<class 'troposphere.Tags'>, False), 'TemplateName': (<type 'basestring'>, False), 'Tier': (<class 'troposphere.elasticbeanstalk.Tier'>, False), 'VersionLabel': (<type 'basestring'>, False)}
resource_type = 'AWS::ElasticBeanstalk::Environment'
class troposphere.elasticbeanstalk.MaxAgeRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeleteSourceFromS3': (<function boolean at 0x7fa8df38ca28>, False), 'Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'MaxAgeInDays': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.elasticbeanstalk.MaxCountRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeleteSourceFromS3': (<function boolean at 0x7fa8df38ca28>, False), 'Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'MaxCount': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.elasticbeanstalk.OptionSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Namespace': (<type 'basestring'>, True), 'OptionName': (<type 'basestring'>, True), 'ResourceName': (<type 'basestring'>, False), 'Value': (<type 'basestring'>, True)}
class troposphere.elasticbeanstalk.SourceBundle(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'S3Bucket': (<type 'basestring'>, True), 'S3Key': (<type 'basestring'>, True)}
class troposphere.elasticbeanstalk.SourceConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ApplicationName': (<type 'basestring'>, True), 'TemplateName': (<type 'basestring'>, True)}
class troposphere.elasticbeanstalk.Tier(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<function validate_tier_name at 0x7fa8ddeb32a8>, False), 'Type': (<function validate_tier_type at 0x7fa8ddeb3410>, False), 'Version': (<type 'basestring'>, False)}
troposphere.elasticbeanstalk.validate_tier_name(name)[source]
troposphere.elasticbeanstalk.validate_tier_type(tier_type)[source]

troposphere.elasticloadbalancing module

class troposphere.elasticloadbalancing.AccessLoggingPolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EmitInterval': (<function integer at 0x7fa8df38caa0>, False), 'Enabled': (<type 'bool'>, True), 'S3BucketName': (<type 'basestring'>, False), 'S3BucketPrefix': (<type 'basestring'>, False)}
class troposphere.elasticloadbalancing.AppCookieStickinessPolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CookieName': (<type 'basestring'>, True), 'PolicyName': (<type 'basestring'>, True)}
class troposphere.elasticloadbalancing.ConnectionDrainingPolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Enabled': (<type 'bool'>, True), 'Timeout': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.elasticloadbalancing.ConnectionSettings(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'IdleTimeout': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.elasticloadbalancing.HealthCheck(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'HealthyThreshold': (<function integer_range_checker at 0x7fa8df24af50>, True), 'Interval': (<function positive_integer at 0x7fa8df38cb18>, True), 'Target': (<type 'basestring'>, True), 'Timeout': (<function positive_integer at 0x7fa8df38cb18>, True), 'UnhealthyThreshold': (<function integer_range_checker at 0x7fa8df1b8a28>, True)}
class troposphere.elasticloadbalancing.LBCookieStickinessPolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CookieExpirationPeriod': (<type 'basestring'>, False), 'PolicyName': (<type 'basestring'>, False)}
class troposphere.elasticloadbalancing.Listener(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InstancePort': (<function network_port at 0x7fa8df38cde8>, True), 'InstanceProtocol': (<type 'basestring'>, False), 'LoadBalancerPort': (<function network_port at 0x7fa8df38cde8>, True), 'PolicyNames': (<type 'list'>, False), 'Protocol': (<type 'basestring'>, True), 'SSLCertificateId': (<type 'basestring'>, False)}
class troposphere.elasticloadbalancing.LoadBalancer(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AccessLoggingPolicy': (<class 'troposphere.elasticloadbalancing.AccessLoggingPolicy'>, False), 'AppCookieStickinessPolicy': (<type 'list'>, False), 'AvailabilityZones': (<type 'list'>, False), 'ConnectionDrainingPolicy': (<class 'troposphere.elasticloadbalancing.ConnectionDrainingPolicy'>, False), 'ConnectionSettings': (<class 'troposphere.elasticloadbalancing.ConnectionSettings'>, False), 'CrossZone': (<function boolean at 0x7fa8df38ca28>, False), 'HealthCheck': (<class 'troposphere.elasticloadbalancing.HealthCheck'>, False), 'Instances': (<type 'list'>, False), 'LBCookieStickinessPolicy': (<type 'list'>, False), 'Listeners': (<type 'list'>, True), 'LoadBalancerName': (<function elb_name at 0x7fa8df38cf50>, False), 'Policies': (<type 'list'>, False), 'Scheme': (<type 'basestring'>, False), 'SecurityGroups': (<type 'list'>, False), 'Subnets': (<type 'list'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False)}
resource_type = 'AWS::ElasticLoadBalancing::LoadBalancer'
class troposphere.elasticloadbalancing.Policy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Attributes': ([<type 'dict'>], False), 'InstancePorts': (<type 'list'>, False), 'LoadBalancerPorts': (<type 'list'>, False), 'PolicyName': (<type 'basestring'>, True), 'PolicyType': (<type 'basestring'>, True)}

troposphere.elasticloadbalancingv2 module

class troposphere.elasticloadbalancingv2.Action(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'FixedResponseConfig': (<class 'troposphere.elasticloadbalancingv2.FixedResponseConfig'>, False), 'RedirectConfig': (<class 'troposphere.elasticloadbalancingv2.RedirectConfig'>, False), 'TargetGroupArn': (<type 'basestring'>, False), 'Type': (<type 'basestring'>, True)}
validate()[source]
class troposphere.elasticloadbalancingv2.Certificate(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CertificateArn': (<type 'basestring'>, False)}
class troposphere.elasticloadbalancingv2.Condition(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Field': (<type 'basestring'>, True), 'Values': ([<type 'basestring'>], True)}
class troposphere.elasticloadbalancingv2.FixedResponseConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ContentType': (<type 'basestring'>, False), 'MessageBody': (<type 'basestring'>, False), 'StatusCode': (<type 'basestring'>, False)}
validate()[source]
class troposphere.elasticloadbalancingv2.Listener(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Certificates': ([<class 'troposphere.elasticloadbalancingv2.Certificate'>], False), 'DefaultActions': ([<class 'troposphere.elasticloadbalancingv2.Action'>], True), 'LoadBalancerArn': (<type 'basestring'>, True), 'Port': (<function network_port at 0x7fa8df38cde8>, True), 'Protocol': (<type 'basestring'>, True), 'SslPolicy': (<type 'basestring'>, False)}
resource_type = 'AWS::ElasticLoadBalancingV2::Listener'
class troposphere.elasticloadbalancingv2.ListenerCertificate(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Certificates': ([<class 'troposphere.elasticloadbalancingv2.Certificate'>], True), 'ListenerArn': (<type 'basestring'>, True)}
resource_type = 'AWS::ElasticLoadBalancingV2::ListenerCertificate'
class troposphere.elasticloadbalancingv2.ListenerRule(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Actions': ([<class 'troposphere.elasticloadbalancingv2.Action'>], True), 'Conditions': ([<class 'troposphere.elasticloadbalancingv2.Condition'>], True), 'ListenerArn': (<type 'basestring'>, True), 'Priority': (<function integer at 0x7fa8df38caa0>, True)}
resource_type = 'AWS::ElasticLoadBalancingV2::ListenerRule'
class troposphere.elasticloadbalancingv2.LoadBalancer(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'IpAddressType': (<type 'basestring'>, False), 'LoadBalancerAttributes': ([<class 'troposphere.elasticloadbalancingv2.LoadBalancerAttributes'>], False), 'Name': (<function elb_name at 0x7fa8df38cf50>, False), 'Scheme': (<type 'basestring'>, False), 'SecurityGroups': (<type 'list'>, False), 'SubnetMappings': ([<class 'troposphere.elasticloadbalancingv2.SubnetMapping'>], False), 'Subnets': (<type 'list'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'Type': (<type 'basestring'>, False)}
resource_type = 'AWS::ElasticLoadBalancingV2::LoadBalancer'
validate()[source]
class troposphere.elasticloadbalancingv2.LoadBalancerAttributes(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, False), 'Value': (<type 'basestring'>, False)}
class troposphere.elasticloadbalancingv2.Matcher(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'HttpCode': (<type 'basestring'>, False)}
class troposphere.elasticloadbalancingv2.RedirectConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Host': (<type 'basestring'>, False), 'Path': (<type 'basestring'>, False), 'Port': (<type 'basestring'>, False), 'Protocol': (<type 'basestring'>, False), 'Query': (<type 'basestring'>, False), 'StatusCode': (<type 'basestring'>, True)}
validate()[source]
class troposphere.elasticloadbalancingv2.SubnetMapping(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AllocationId': (<type 'basestring'>, True), 'SubnetId': (<type 'basestring'>, True)}
class troposphere.elasticloadbalancingv2.TargetDescription(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AvailabilityZone': (<type 'basestring'>, False), 'Id': (<type 'basestring'>, True), 'Port': (<function network_port at 0x7fa8df38cde8>, False)}
class troposphere.elasticloadbalancingv2.TargetGroup(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'HealthCheckIntervalSeconds': (<function integer at 0x7fa8df38caa0>, False), 'HealthCheckPath': (<type 'basestring'>, False), 'HealthCheckPort': (<function tg_healthcheck_port at 0x7fa8df38ce60>, False), 'HealthCheckProtocol': (<type 'basestring'>, False), 'HealthCheckTimeoutSeconds': (<function integer at 0x7fa8df38caa0>, False), 'HealthyThresholdCount': (<function integer at 0x7fa8df38caa0>, False), 'Matcher': (<class 'troposphere.elasticloadbalancingv2.Matcher'>, False), 'Name': (<type 'basestring'>, False), 'Port': (<function network_port at 0x7fa8df38cde8>, True), 'Protocol': (<type 'basestring'>, True), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'TargetGroupAttributes': ([<class 'troposphere.elasticloadbalancingv2.TargetGroupAttribute'>], False), 'TargetType': (<type 'basestring'>, False), 'Targets': ([<class 'troposphere.elasticloadbalancingv2.TargetDescription'>], False), 'UnhealthyThresholdCount': (<function integer at 0x7fa8df38caa0>, False), 'VpcId': (<type 'basestring'>, True)}
resource_type = 'AWS::ElasticLoadBalancingV2::TargetGroup'
class troposphere.elasticloadbalancingv2.TargetGroupAttribute(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, False), 'Value': (<type 'basestring'>, False)}

troposphere.elasticsearch module

class troposphere.elasticsearch.Domain(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AccessPolicies': ((<type 'dict'>, <class 'awacs.aws.Policy'>), False), 'AdvancedOptions': (<type 'dict'>, False), 'DomainName': (<type 'basestring'>, False), 'EBSOptions': (<class 'troposphere.elasticsearch.EBSOptions'>, False), 'ElasticsearchClusterConfig': (<class 'troposphere.elasticsearch.ElasticsearchClusterConfig'>, False), 'ElasticsearchVersion': (<type 'basestring'>, False), 'EncryptionAtRestOptions': (<class 'troposphere.elasticsearch.EncryptionAtRestOptions'>, False), 'SnapshotOptions': (<class 'troposphere.elasticsearch.SnapshotOptions'>, False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VPCOptions': (<class 'troposphere.elasticsearch.VPCOptions'>, False)}
resource_type = 'AWS::Elasticsearch::Domain'
class troposphere.elasticsearch.EBSOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EBSEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'Iops': (<function positive_integer at 0x7fa8df38cb18>, False), 'VolumeSize': (<function integer at 0x7fa8df38caa0>, False), 'VolumeType': (<function validate_volume_type at 0x7fa8ddeb3230>, False)}
validate()[source]
class troposphere.elasticsearch.ElasticsearchClusterConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DedicatedMasterCount': (<function integer at 0x7fa8df38caa0>, False), 'DedicatedMasterEnabled': (<function boolean at 0x7fa8df38ca28>, False), 'DedicatedMasterType': (<type 'basestring'>, False), 'InstanceCount': (<function integer at 0x7fa8df38caa0>, False), 'InstanceType': (<type 'basestring'>, False), 'ZoneAwarenessEnabled': (<function boolean at 0x7fa8df38ca28>, False)}
troposphere.elasticsearch.ElasticsearchDomain

alias of troposphere.elasticsearch.Domain

class troposphere.elasticsearch.EncryptionAtRestOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'KmsKeyId': (<type 'basestring'>, False)}
class troposphere.elasticsearch.SnapshotOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AutomatedSnapshotStartHour': (<function integer_range_checker at 0x7fa8dddd3758>, False)}
class troposphere.elasticsearch.VPCOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SecurityGroupIds': ([<type 'basestring'>], False), 'SubnetIds': ([<type 'basestring'>], False)}
troposphere.elasticsearch.validate_volume_type(volume_type)[source]

Validate VolumeType for ElasticsearchDomain

troposphere.emr module

class troposphere.emr.Application(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AdditionalInfo': (<function additional_info_validator at 0x7fa8df1a3aa0>, False), 'Args': ([<type 'basestring'>], False), 'Name': (<type 'basestring'>, False), 'Version': (<type 'basestring'>, False)}
class troposphere.emr.AutoScalingPolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Constraints': (<class 'troposphere.emr.ScalingConstraints'>, True), 'Rules': ([<class 'troposphere.emr.ScalingRule'>], False)}
class troposphere.emr.BootstrapActionConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, True), 'ScriptBootstrapAction': (<class 'troposphere.emr.ScriptBootstrapActionConfig'>, True)}
class troposphere.emr.CloudWatchAlarmDefinition(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ComparisonOperator': (<type 'basestring'>, True), 'Dimensions': ([<class 'troposphere.emr.KeyValue'>], False), 'EvaluationPeriods': (<function positive_integer at 0x7fa8df38cb18>, False), 'MetricName': (<type 'basestring'>, True), 'Namespace': (<type 'basestring'>, False), 'Period': (<function positive_integer at 0x7fa8df38cb18>, True), 'Statistic': (<type 'basestring'>, False), 'Threshold': (<function positive_integer at 0x7fa8df38cb18>, True), 'Unit': (<type 'basestring'>, False)}
class troposphere.emr.Cluster(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AdditionalInfo': (<type 'dict'>, False), 'Applications': ([<class 'troposphere.emr.Application'>], False), 'AutoScalingRole': (<type 'basestring'>, False), 'BootstrapActions': ([<class 'troposphere.emr.BootstrapActionConfig'>], False), 'Configurations': ([<class 'troposphere.emr.Configuration'>], False), 'CustomAmiId': (<type 'basestring'>, False), 'EbsRootVolumeSize': (<function positive_integer at 0x7fa8df38cb18>, False), 'Instances': (<class 'troposphere.emr.JobFlowInstancesConfig'>, True), 'JobFlowRole': (<type 'basestring'>, True), 'KerberosAttributes': (<class 'troposphere.emr.KerberosAttributes'>, False), 'LogUri': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'ReleaseLabel': (<type 'basestring'>, False), 'ScaleDownBehavior': (<type 'basestring'>, False), 'SecurityConfiguration': (<type 'basestring'>, False), 'ServiceRole': (<type 'basestring'>, True), 'Steps': ([<class 'troposphere.emr.StepConfig'>], False), 'Tags': ((<class 'troposphere.Tags'>, <type 'list'>), False), 'VisibleToAllUsers': (<function boolean at 0x7fa8df38ca28>, False)}
resource_type = 'AWS::EMR::Cluster'
class troposphere.emr.Configuration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Classification': (<type 'basestring'>, False), 'ConfigurationProperties': (<function properties_validator at 0x7fa8df1a3b90>, False), 'Configurations': ([<class 'troposphere.emr.Configuration'>], False)}
class troposphere.emr.EbsBlockDeviceConfigs(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'VolumeSpecification': (<class 'troposphere.emr.VolumeSpecification'>, True), 'VolumesPerInstance': (<function integer at 0x7fa8df38caa0>, False)}
class troposphere.emr.EbsConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'EbsBlockDeviceConfigs': ([<class 'troposphere.emr.EbsBlockDeviceConfigs'>], False), 'EbsOptimized': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.emr.HadoopJarStepConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Args': ([<type 'basestring'>], False), 'Jar': (<type 'basestring'>, True), 'MainClass': (<type 'basestring'>, False), 'StepProperties': ([<class 'troposphere.emr.KeyValue'>], False)}
class troposphere.emr.InstanceFleetConfig(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ClusterId': (<type 'basestring'>, True), 'InstanceFleetType': (<type 'basestring'>, True), 'InstanceTypeConfigs': ([<class 'troposphere.emr.InstanceTypeConfig'>], False), 'LaunchSpecifications': (<class 'troposphere.emr.InstanceFleetProvisioningSpecifications'>, False), 'Name': (<type 'basestring'>, False), 'TargetOnDemandCapacity': (<function positive_integer at 0x7fa8df38cb18>, False), 'TargetSpotCapacity': (<function positive_integer at 0x7fa8df38cb18>, False)}
resource_type = 'AWS::EMR::InstanceFleetConfig'
class troposphere.emr.InstanceFleetConfigProperty(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InstanceTypeConfigs': ([<class 'troposphere.emr.InstanceTypeConfig'>], False), 'LaunchSpecifications': (<class 'troposphere.emr.InstanceFleetProvisioningSpecifications'>, False), 'Name': (<type 'basestring'>, False), 'TargetOnDemandCapacity': (<function positive_integer at 0x7fa8df38cb18>, False), 'TargetSpotCapacity': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.emr.InstanceFleetProvisioningSpecifications(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SpotSpecification': (<class 'troposphere.emr.SpotProvisioningSpecification'>, True)}
class troposphere.emr.InstanceGroupConfig(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AutoScalingPolicy': (<class 'troposphere.emr.AutoScalingPolicy'>, False), 'BidPrice': (<type 'basestring'>, False), 'Configurations': ([<class 'troposphere.emr.Configuration'>], False), 'EbsConfiguration': (<class 'troposphere.emr.EbsConfiguration'>, False), 'InstanceCount': (<function integer at 0x7fa8df38caa0>, True), 'InstanceRole': (<type 'basestring'>, True), 'InstanceType': (<type 'basestring'>, True), 'JobFlowId': (<type 'basestring'>, True), 'Market': (<function market_validator at 0x7fa8df1a3c08>, False), 'Name': (<type 'basestring'>, False)}
resource_type = 'AWS::EMR::InstanceGroupConfig'
class troposphere.emr.InstanceGroupConfigProperty(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AutoScalingPolicy': (<class 'troposphere.emr.AutoScalingPolicy'>, False), 'BidPrice': (<type 'basestring'>, False), 'Configurations': ([<class 'troposphere.emr.Configuration'>], False), 'EbsConfiguration': (<class 'troposphere.emr.EbsConfiguration'>, False), 'InstanceCount': (<function positive_integer at 0x7fa8df38cb18>, True), 'InstanceType': (<type 'basestring'>, True), 'Market': (<function market_validator at 0x7fa8df1a3c08>, False), 'Name': (<type 'basestring'>, False)}
class troposphere.emr.InstanceTypeConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BidPrice': (<type 'basestring'>, False), 'BidPriceAsPercentageOfOnDemandPrice': (<type 'basestring'>, False), 'Configurations': ([<class 'troposphere.emr.Configuration'>], False), 'EbsConfiguration': (<class 'troposphere.emr.EbsConfiguration'>, False), 'InstanceType': (<type 'basestring'>, True), 'WeightedCapacity': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.emr.JobFlowInstancesConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AdditionalMasterSecurityGroups': ([<type 'basestring'>], False), 'AdditionalSlaveSecurityGroups': ([<type 'basestring'>], False), 'CoreInstanceFleet': (<class 'troposphere.emr.InstanceFleetConfigProperty'>, False), 'CoreInstanceGroup': (<class 'troposphere.emr.InstanceGroupConfigProperty'>, False), 'Ec2KeyName': (<type 'basestring'>, False), 'Ec2SubnetId': (<type 'basestring'>, False), 'EmrManagedMasterSecurityGroup': (<type 'basestring'>, False), 'EmrManagedSlaveSecurityGroup': (<type 'basestring'>, False), 'HadoopVersion': (<type 'basestring'>, False), 'KeepJobFlowAliveWhenNoSteps': (<function boolean at 0x7fa8df38ca28>, False), 'MasterInstanceFleet': (<class 'troposphere.emr.InstanceFleetConfigProperty'>, False), 'MasterInstanceGroup': (<class 'troposphere.emr.InstanceGroupConfigProperty'>, False), 'Placement': (<class 'troposphere.emr.PlacementType'>, False), 'ServiceAccessSecurityGroup': (<type 'basestring'>, False), 'TerminationProtected': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.emr.KerberosAttributes(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ADDomainJoinPassword': (<type 'basestring'>, False), 'ADDomainJoinUser': (<type 'basestring'>, False), 'CrossRealmTrustPrincipalPassword': (<type 'basestring'>, False), 'KdcAdminPassword': (<type 'basestring'>, True), 'Realm': (<type 'basestring'>, True)}
class troposphere.emr.KeyValue(key=None, value=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'Value': (<type 'basestring'>, True)}
troposphere.emr.MetricDimension

alias of troposphere.emr.KeyValue

class troposphere.emr.PlacementType(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AvailabilityZone': (<type 'basestring'>, True)}
class troposphere.emr.ScalingAction(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Market': (<function market_validator at 0x7fa8df1a3c08>, False), 'SimpleScalingPolicyConfiguration': (<class 'troposphere.emr.SimpleScalingPolicyConfiguration'>, True)}
class troposphere.emr.ScalingConstraints(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaxCapacity': (<function integer at 0x7fa8df38caa0>, True), 'MinCapacity': (<function integer at 0x7fa8df38caa0>, True)}
class troposphere.emr.ScalingRule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Action': (<class 'troposphere.emr.ScalingAction'>, True), 'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'Trigger': (<class 'troposphere.emr.ScalingTrigger'>, True)}
class troposphere.emr.ScalingTrigger(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CloudWatchAlarmDefinition': (<class 'troposphere.emr.CloudWatchAlarmDefinition'>, True)}
class troposphere.emr.ScriptBootstrapActionConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Args': ([<type 'basestring'>], False), 'Path': (<type 'basestring'>, True)}
class troposphere.emr.SecurityConfiguration(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Name': (<type 'basestring'>, False), 'SecurityConfiguration': (<type 'dict'>, True)}
resource_type = 'AWS::EMR::SecurityConfiguration'
class troposphere.emr.SimpleScalingPolicyConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AdjustmentType': (<type 'basestring'>, False), 'CoolDown': (<function positive_integer at 0x7fa8df38cb18>, False), 'ScalingAdjustment': (<function defer at 0x7fa8df38cd70>, True)}
validate()[source]
class troposphere.emr.SpotProvisioningSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BlockDurationMinutes': (<function positive_integer at 0x7fa8df38cb18>, False), 'TimeoutAction': (<type 'basestring'>, True), 'TimeoutDurationMinutes': (<function positive_integer at 0x7fa8df38cb18>, True)}
class troposphere.emr.Step(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'ActionOnFailure': (<function action_on_failure_validator at 0x7fa8df1a3cf8>, True), 'HadoopJarStep': (<class 'troposphere.emr.HadoopJarStepConfig'>, True), 'JobFlowId': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, True)}
resource_type = 'AWS::EMR::Step'
class troposphere.emr.StepConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ActionOnFailure': (<function validate_action_on_failure at 0x7fa8df1a3a28>, False), 'HadoopJarStep': (<class 'troposphere.emr.HadoopJarStepConfig'>, True), 'Name': (<type 'basestring'>, True)}
class troposphere.emr.VolumeSpecification(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Iops': (<function integer at 0x7fa8df38caa0>, False), 'SizeInGB': (<function integer at 0x7fa8df38caa0>, True), 'VolumeType': (<function volume_type_validator at 0x7fa8df1a3c80>, True)}
troposphere.emr.action_on_failure_validator(x)[source]
troposphere.emr.additional_info_validator(xs)[source]
troposphere.emr.market_validator(x)[source]
troposphere.emr.properties_validator(xs)[source]
troposphere.emr.validate_action_on_failure(action_on_failure)[source]

Validate action on failure for EMR StepConfig

troposphere.emr.volume_type_validator(x)[source]

troposphere.events module

class troposphere.events.EcsParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'TaskCount': (<type 'int'>, False), 'TaskDefinitionArn': (<type 'basestring'>, True)}
class troposphere.events.InputTransformer(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'InputPathsMap': (<type 'dict'>, False), 'InputTemplate': (<type 'basestring'>, True)}
class troposphere.events.KinesisParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'PartitionKeyPath': (<type 'basestring'>, True)}
class troposphere.events.Rule(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Description': (<type 'basestring'>, False), 'EventPattern': (<type 'dict'>, False), 'Name': (<type 'basestring'>, False), 'ScheduleExpression': (<type 'basestring'>, False), 'State': (<type 'basestring'>, False), 'Targets': ([<class 'troposphere.events.Target'>], False)}
resource_type = 'AWS::Events::Rule'
class troposphere.events.RunCommandParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'RunCommandTargets': ([<class 'troposphere.events.RunCommandTarget'>], True)}
class troposphere.events.RunCommandTarget(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Key': (<type 'basestring'>, True), 'Values': ([<type 'basestring'>], True)}
class troposphere.events.SqsParameters(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MessageGroupId': (<type 'basestring'>, True)}
class troposphere.events.Target(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Arn': (<type 'basestring'>, True), 'EcsParameters': (<class 'troposphere.events.EcsParameters'>, False), 'Id': (<type 'basestring'>, True), 'Input': (<type 'basestring'>, False), 'InputPath': (<type 'basestring'>, False), 'InputTransformer': (<class 'troposphere.events.InputTransformer'>, False), 'KinesisParameters': (<class 'troposphere.events.KinesisParameters'>, False), 'RoleArn': (<type 'basestring'>, False), 'RunCommandParameters': (<class 'troposphere.events.RunCommandParameters'>, False), 'SqsParameters': (<class 'troposphere.events.SqsParameters'>, False)}

troposphere.firehose module

class troposphere.firehose.BufferingHints(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'IntervalInSeconds': (<function positive_integer at 0x7fa8df38cb18>, True), 'SizeInMBs': (<function positive_integer at 0x7fa8df38cb18>, True)}
class troposphere.firehose.CloudWatchLoggingOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Enabled': (<function boolean at 0x7fa8df38ca28>, False), 'LogGroupName': (<type 'basestring'>, False), 'LogStreamName': (<type 'basestring'>, False)}
class troposphere.firehose.CopyCommand(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CopyOptions': (<type 'basestring'>, False), 'DataTableColumns': (<type 'basestring'>, False), 'DataTableName': (<type 'basestring'>, True)}
class troposphere.firehose.DeliveryStream(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DeliveryStreamName': (<type 'basestring'>, False), 'DeliveryStreamType': (<function delivery_stream_type_validator at 0x7fa8dddd3b18>, False), 'ElasticsearchDestinationConfiguration': (<class 'troposphere.firehose.ElasticsearchDestinationConfiguration'>, False), 'ExtendedS3DestinationConfiguration': (<class 'troposphere.firehose.ExtendedS3DestinationConfiguration'>, False), 'KinesisStreamSourceConfiguration': (<class 'troposphere.firehose.KinesisStreamSourceConfiguration'>, False), 'RedshiftDestinationConfiguration': (<class 'troposphere.firehose.RedshiftDestinationConfiguration'>, False), 'S3DestinationConfiguration': (<class 'troposphere.firehose.S3DestinationConfiguration'>, False), 'SplunkDestinationConfiguration': (<class 'troposphere.firehose.SplunkDestinationConfiguration'>, False)}
resource_type = 'AWS::KinesisFirehose::DeliveryStream'
class troposphere.firehose.ElasticsearchDestinationConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BufferingHints': (<class 'troposphere.firehose.BufferingHints'>, True), 'CloudWatchLoggingOptions': (<class 'troposphere.firehose.CloudWatchLoggingOptions'>, False), 'DomainARN': (<type 'basestring'>, True), 'IndexName': (<type 'basestring'>, True), 'IndexRotationPeriod': (<function index_rotation_period_validator at 0x7fa8dddcfed8>, True), 'ProcessingConfiguration': (<class 'troposphere.firehose.ProcessingConfiguration'>, False), 'RetryOptions': (<class 'troposphere.firehose.RetryOptions'>, False), 'RoleARN': (<type 'basestring'>, True), 'S3BackupMode': (<function s3_backup_mode_elastic_search_validator at 0x7fa8dddcfe60>, True), 'S3Configuration': (<class 'troposphere.firehose.S3Configuration'>, False), 'TypeName': (<type 'basestring'>, True)}
class troposphere.firehose.EncryptionConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'KMSEncryptionConfig': (<class 'troposphere.firehose.KMSEncryptionConfig'>, False), 'NoEncryptionConfig': (<type 'basestring'>, False)}
class troposphere.firehose.ExtendedS3DestinationConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BucketARN': (<type 'basestring'>, True), 'BufferingHints': (<class 'troposphere.firehose.BufferingHints'>, True), 'CloudWatchLoggingOptions': (<class 'troposphere.firehose.CloudWatchLoggingOptions'>, False), 'CompressionFormat': (<type 'basestring'>, True), 'EncryptionConfiguration': (<class 'troposphere.firehose.EncryptionConfiguration'>, False), 'Prefix': (<type 'basestring'>, True), 'ProcessingConfiguration': (<class 'troposphere.firehose.ProcessingConfiguration'>, False), 'RoleARN': (<type 'basestring'>, True), 'S3BackupConfiguration': (<class 'troposphere.firehose.S3DestinationConfiguration'>, False), 'S3BackupMode': (<function s3_backup_mode_extended_s3_validator at 0x7fa8dddcff50>, False)}
class troposphere.firehose.KMSEncryptionConfig(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AWSKMSKeyARN': (<type 'basestring'>, True)}
class troposphere.firehose.KinesisStreamSourceConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'KinesisStreamARN': (<type 'basestring'>, True), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.firehose.ProcessingConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Enabled': (<function boolean at 0x7fa8df38ca28>, True), 'Processors': ([<class 'troposphere.firehose.Processor'>], True)}
class troposphere.firehose.Processor(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Parameters': ([<class 'troposphere.firehose.ProcessorParameter'>], True), 'Type': (<function processor_type_validator at 0x7fa8ddeb3d70>, True)}
class troposphere.firehose.ProcessorParameter(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ParameterName': (<type 'basestring'>, True), 'ParameterValue': (<type 'basestring'>, True)}
class troposphere.firehose.RedshiftDestinationConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CloudWatchLoggingOptions': (<class 'troposphere.firehose.CloudWatchLoggingOptions'>, False), 'ClusterJDBCURL': (<type 'basestring'>, True), 'CopyCommand': (<class 'troposphere.firehose.CopyCommand'>, True), 'Password': (<type 'basestring'>, True), 'ProcessingConfiguration': (<class 'troposphere.firehose.ProcessingConfiguration'>, False), 'RoleARN': (<type 'basestring'>, True), 'S3Configuration': (<class 'troposphere.firehose.S3Configuration'>, True), 'Username': (<type 'basestring'>, True)}
class troposphere.firehose.RetryOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DurationInSeconds': (<function positive_integer at 0x7fa8df38cb18>, True)}
class troposphere.firehose.S3Configuration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BucketARN': (<type 'basestring'>, True), 'BufferingHints': (<class 'troposphere.firehose.BufferingHints'>, True), 'CloudWatchLoggingOptions': (<class 'troposphere.firehose.CloudWatchLoggingOptions'>, False), 'CompressionFormat': (<type 'basestring'>, True), 'EncryptionConfiguration': (<class 'troposphere.firehose.EncryptionConfiguration'>, False), 'Prefix': (<type 'basestring'>, False), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.firehose.S3DestinationConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BucketARN': (<type 'basestring'>, True), 'BufferingHints': (<class 'troposphere.firehose.BufferingHints'>, True), 'CloudWatchLoggingOptions': (<class 'troposphere.firehose.CloudWatchLoggingOptions'>, False), 'CompressionFormat': (<type 'basestring'>, True), 'EncryptionConfiguration': (<class 'troposphere.firehose.EncryptionConfiguration'>, False), 'Prefix': (<type 'basestring'>, False), 'RoleARN': (<type 'basestring'>, True)}
class troposphere.firehose.SplunkDestinationConfiguration(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'CloudWatchLoggingOptions': (<class 'troposphere.firehose.CloudWatchLoggingOptions'>, False), 'HECAcknowledgmentTimeoutInSeconds': (<function positive_integer at 0x7fa8df38cb18>, False), 'HECEndpoint': (<type 'basestring'>, True), 'HECEndpointType': (<type 'basestring'>, True), 'HECToken': (<type 'basestring'>, True), 'ProcessingConfiguration': (<class 'troposphere.firehose.ProcessingConfiguration'>, False), 'RetryOptions': (<class 'troposphere.firehose.SplunkRetryOptions'>, False), 'S3BackupMode': (<type 'basestring'>, False), 'S3Configuration': (<class 'troposphere.firehose.S3DestinationConfiguration'>, True)}
class troposphere.firehose.SplunkRetryOptions(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DurationInSeconds': (<function positive_integer at 0x7fa8df38cb18>, True)}
troposphere.firehose.delivery_stream_type_validator(x)[source]
troposphere.firehose.index_rotation_period_validator(x)[source]
troposphere.firehose.processor_type_validator(x)[source]
troposphere.firehose.s3_backup_mode_elastic_search_validator(x)[source]
troposphere.firehose.s3_backup_mode_extended_s3_validator(x)[source]

troposphere.glue module

class troposphere.glue.Action(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Arguments': (<type 'dict'>, False), 'JobName': (<type 'basestring'>, False)}
class troposphere.glue.Classifier(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'GrokClassifier': (<class 'troposphere.glue.GrokClassifier'>, False), 'JsonClassifier': (<class 'troposphere.glue.JsonClassifier'>, False), 'XMLClassifier': (<class 'troposphere.glue.XMLClassifier'>, False)}
resource_type = 'AWS::Glue::Classifier'
class troposphere.glue.Column(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Comment': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'Type': (<type 'basestring'>, False)}
class troposphere.glue.Condition(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'JobName': (<type 'basestring'>, False), 'LogicalOperator': (<type 'basestring'>, False), 'State': (<type 'basestring'>, False)}
class troposphere.glue.Connection(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CatalogId': (<type 'basestring'>, True), 'ConnectionInput': (<class 'troposphere.glue.ConnectionInput'>, True)}
resource_type = 'AWS::Glue::Connection'
class troposphere.glue.ConnectionInput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ConnectionProperties': (<type 'dict'>, True), 'ConnectionType': (<function connection_type_validator at 0x7fa8ddbaf140>, True), 'Description': (<type 'basestring'>, False), 'MatchCriteria': ([<type 'basestring'>], True), 'Name': (<type 'basestring'>, False), 'PhysicalConnectionRequirements': (<class 'troposphere.glue.PhysicalConnectionRequirements'>, True)}
class troposphere.glue.ConnectionsList(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Connections': ([<type 'basestring'>], False)}
class troposphere.glue.Crawler(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Classifiers': ([<type 'basestring'>], False), 'Configuration': (<type 'basestring'>, False), 'DatabaseName': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'Role': (<type 'basestring'>, True), 'Schedule': (<class 'troposphere.glue.Schedule'>, False), 'SchemaChangePolicy': (<class 'troposphere.glue.SchemaChangePolicy'>, False), 'TablePrefix': (<type 'basestring'>, False), 'Targets': (<class 'troposphere.glue.Targets'>, True)}
resource_type = 'AWS::Glue::Crawler'
class troposphere.glue.Database(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CatalogId': (<type 'basestring'>, True), 'DatabaseInput': (<class 'troposphere.glue.DatabaseInput'>, True)}
resource_type = 'AWS::Glue::Database'
class troposphere.glue.DatabaseInput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Description': (<type 'basestring'>, False), 'LocationUri': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'Parameters': (<type 'dict'>, False)}
class troposphere.glue.DevEndpoint(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'EndpointName': (<type 'basestring'>, False), 'ExtraJarsS3Path': (<type 'basestring'>, False), 'ExtraPythonLibsS3Path': (<type 'basestring'>, False), 'NumberOfNodes': (<function positive_integer at 0x7fa8df38cb18>, False), 'PublicKey': (<type 'basestring'>, True), 'RoleArn': (<type 'basestring'>, True), 'SecurityGroupIds': ([<type 'basestring'>], False), 'SubnetId': (<type 'basestring'>, False)}
resource_type = 'AWS::Glue::DevEndpoint'
class troposphere.glue.ExecutionProperty(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'MaxConcurrentRuns': (<function positive_integer at 0x7fa8df38cb18>, False)}
class troposphere.glue.GrokClassifier(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Classification': (<type 'basestring'>, True), 'CustomPatterns': (<type 'basestring'>, False), 'GrokPattern': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False)}
class troposphere.glue.JdbcTarget(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ConnectionName': (<type 'basestring'>, False), 'Exclusions': ([<type 'basestring'>], False), 'Path': (<type 'basestring'>, False)}
class troposphere.glue.Job(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'AllocatedCapacity': (<function double at 0x7fa8df38cc80>, False), 'Command': (<class 'troposphere.glue.JobCommand'>, True), 'Connections': (<class 'troposphere.glue.ConnectionsList'>, False), 'DefaultArguments': (<type 'dict'>, False), 'Description': (<type 'basestring'>, False), 'ExecutionProperty': (<class 'troposphere.glue.ExecutionProperty'>, False), 'LogUri': (<type 'basestring'>, False), 'MaxRetries': (<function double at 0x7fa8df38cc80>, False), 'Name': (<type 'basestring'>, False), 'Role': (<type 'basestring'>, True)}
resource_type = 'AWS::Glue::Job'
class troposphere.glue.JobCommand(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, False), 'ScriptLocation': (<type 'basestring'>, False)}
class troposphere.glue.JsonClassifier(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'JsonPath': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False)}
class troposphere.glue.Order(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Column': (<type 'basestring'>, True), 'SortOrder': (<function integer_range_checker at 0x7fa8ddbaf7d0>, False)}
class troposphere.glue.Partition(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CatalogId': (<type 'basestring'>, True), 'DatabaseName': (<type 'basestring'>, True), 'PartitionInput': (<class 'troposphere.glue.PartitionInput'>, True), 'TableName': (<type 'basestring'>, True)}
resource_type = 'AWS::Glue::Partition'
class troposphere.glue.PartitionInput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Parameters': (<type 'dict'>, False), 'StorageDescriptor': (<class 'troposphere.glue.StorageDescriptor'>, False), 'Values': ([<type 'basestring'>], True)}
class troposphere.glue.PhysicalConnectionRequirements(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'AvailabilityZone': (<type 'basestring'>, True), 'SecurityGroupIdList': ([<type 'basestring'>], True), 'SubnetId': (<type 'basestring'>, True)}
class troposphere.glue.Predicate(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Conditions': ([<class 'troposphere.glue.Condition'>], False), 'Logical': (<type 'basestring'>, False)}
class troposphere.glue.S3Target(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Exclusions': ([<type 'basestring'>], False), 'Path': (<type 'basestring'>, False)}
class troposphere.glue.Schedule(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'ScheduleExpression': (<type 'basestring'>, False)}
class troposphere.glue.SchemaChangePolicy(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'DeleteBehavior': (<function delete_behavior_validator at 0x7fa8ddbaf398>, False), 'UpdateBehavior': (<function update_behavior_validator at 0x7fa8ddbaf6e0>, False)}
class troposphere.glue.SerdeInfo(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Name': (<type 'basestring'>, False), 'Parameters': (<type 'dict'>, False), 'SerializationLibrary': (<type 'basestring'>, False)}
class troposphere.glue.SkewedInfo(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'SkewedColumnNames': ([<type 'basestring'>], False), 'SkewedColumnValueLocationMaps': (<type 'dict'>, False), 'SkewedColumnValues': ([<type 'basestring'>], False)}
class troposphere.glue.StorageDescriptor(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'BucketColumns': ([<type 'basestring'>], False), 'Columns': ([<class 'troposphere.glue.Column'>], False), 'Compressed': (<function boolean at 0x7fa8df38ca28>, False), 'InputFormat': (<type 'basestring'>, False), 'Location': (<type 'basestring'>, False), 'NumberOfBuckets': (<function positive_integer at 0x7fa8df38cb18>, False), 'OutputFormat': (<type 'basestring'>, False), 'Parameters': (<type 'dict'>, False), 'SerdeInfo': (<class 'troposphere.glue.SerdeInfo'>, False), 'SkewedInfo': (<class 'troposphere.glue.SkewedInfo'>, False), 'SortColumns': ([<class 'troposphere.glue.Order'>], False), 'StoredAsSubDirectories': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.glue.Table(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'CatalogId': (<type 'basestring'>, True), 'DatabaseName': (<type 'basestring'>, True), 'TableInput': (<class 'troposphere.glue.TableInput'>, True)}
resource_type = 'AWS::Glue::Table'
class troposphere.glue.TableInput(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, True), 'Owner': (<type 'basestring'>, False), 'Parameters': (<type 'dict'>, False), 'PartitionKeys': ([<class 'troposphere.glue.Column'>], False), 'Retention': (<function positive_integer at 0x7fa8df38cb18>, False), 'StorageDescriptor': (<class 'troposphere.glue.StorageDescriptor'>, False), 'TableType': (<function table_type_validator at 0x7fa8ddbaf758>, False), 'ViewExpandedText': (<type 'basestring'>, False), 'ViewOriginalText': (<type 'basestring'>, False)}
class troposphere.glue.Targets(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'JdbcTargets': ([<class 'troposphere.glue.JdbcTarget'>], False), 'S3Targets': ([<class 'troposphere.glue.S3Target'>], False)}
class troposphere.glue.Trigger(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Actions': ([<class 'troposphere.glue.Action'>], True), 'Description': (<type 'basestring'>, False), 'Name': (<type 'basestring'>, False), 'Predicate': (<class 'troposphere.glue.Predicate'>, False), 'Schedule': (<type 'basestring'>, False), 'Type': (<function trigger_type_validator at 0x7fa8ddbaf848>, True)}
resource_type = 'AWS::Glue::Trigger'
class troposphere.glue.XMLClassifier(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Classification': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False), 'RowTag': (<type 'basestring'>, True)}
troposphere.glue.connection_type_validator(type)[source]
troposphere.glue.delete_behavior_validator(value)[source]
troposphere.glue.table_type_validator(type)[source]
troposphere.glue.trigger_type_validator(type)[source]
troposphere.glue.update_behavior_validator(value)[source]

troposphere.guardduty module

class troposphere.guardduty.Condition(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Eq': ([<type 'basestring'>], False), 'Gte': (<function integer at 0x7fa8df38caa0>, False), 'Lt': (<function integer at 0x7fa8df38caa0>, False), 'Lte': (<function integer at 0x7fa8df38caa0>, False), 'Neq': ([<type 'basestring'>], False)}
class troposphere.guardduty.Detector(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Enable': (<function boolean at 0x7fa8df38ca28>, True)}
resource_type = 'AWS::GuardDuty::Detector'
class troposphere.guardduty.Filter(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Action': (<type 'basestring'>, True), 'Description': (<type 'basestring'>, True), 'DetectorId': (<type 'basestring'>, True), 'FindingCriteria': (<class 'troposphere.guardduty.FindingCriteria'>, True), 'Name': (<type 'basestring'>, False), 'Rank': (<function integer at 0x7fa8df38caa0>, True)}
resource_type = 'AWS::GuardDuty::Filter'
class troposphere.guardduty.FindingCriteria(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Criterion': (<type 'dict'>, False), 'ItemType': (<class 'troposphere.guardduty.Condition'>, False)}
class troposphere.guardduty.IPSet(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Activate': (<function boolean at 0x7fa8df38ca28>, True), 'DetectorId': (<type 'basestring'>, True), 'Format': (<type 'basestring'>, True), 'Location': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False)}
resource_type = 'AWS::GuardDuty::IPSet'
class troposphere.guardduty.Master(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DetectorId': (<type 'basestring'>, True), 'InvitationId': (<type 'basestring'>, False), 'MasterId': (<type 'basestring'>, True)}
resource_type = 'AWS::GuardDuty::Master'
class troposphere.guardduty.Member(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'DetectorId': (<type 'basestring'>, True), 'DisableEmailNotification': (<type 'bool'>, False), 'Email': (<type 'basestring'>, True), 'MemberId': (<type 'basestring'>, True), 'Message': (<type 'basestring'>, False), 'Status': (<type 'basestring'>, False)}
resource_type = 'AWS::GuardDuty::Member'
class troposphere.guardduty.ThreatIntelSet(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Activate': (<function boolean at 0x7fa8df38ca28>, True), 'DetectorId': (<type 'basestring'>, True), 'Format': (<type 'basestring'>, True), 'Location': (<type 'basestring'>, True), 'Name': (<type 'basestring'>, False)}
resource_type = 'AWS::GuardDuty::ThreatIntelSet'

troposphere.iam module

class troposphere.iam.AccessKey(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'Serial': (<function integer at 0x7fa8df38caa0>, False), 'Status': (<function status at 0x7fa8df39b0c8>, False), 'UserName': (<type 'basestring'>, True)}
resource_type = 'AWS::IAM::AccessKey'
class troposphere.iam.Group(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'GroupName': (<function iam_group_name at 0x7fa8df39b398>, False), 'ManagedPolicyArns': ([<type 'basestring'>], False), 'Path': (<function iam_path at 0x7fa8df39b2a8>, False), 'Policies': ([<class 'troposphere.iam.Policy'>], False)}
resource_type = 'AWS::IAM::Group'
class troposphere.iam.InstanceProfile(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject

props = {'InstanceProfileName': (<type 'basestring'>, False), 'Path': (<function iam_path at 0x7fa8df39b2a8>, False), 'Roles': (<type 'list'>, True)}
resource_type = 'AWS::IAM::InstanceProfile'
class troposphere.iam.LoginProfile(title=None, **kwargs)[source]

Bases: troposphere.AWSProperty

props = {'Password': (<type 'basestring'>, True), 'PasswordResetRequired': (<function boolean at 0x7fa8df38ca28>, False)}
class troposphere.iam.ManagedPolicy(title, template=None, validation=True, **kwargs)[source]

Bases: troposphere.AWSObject