stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.DynamoDBAttributeDefinition

Description

A list of attribute definitions for the AWS::DynamoDB::Table resource. Each element is composed of an AttributeName and AttributeType.

Synopsis

Documentation

data DynamoDBAttributeDefinition Source #

Full data type definition for DynamoDBAttributeDefinition. See dynamoDBAttributeDefinition for a more convenient constructor.

Instances

Show DynamoDBAttributeDefinition Source # 
Generic DynamoDBAttributeDefinition Source # 
ToJSON DynamoDBAttributeDefinition Source # 
FromJSON DynamoDBAttributeDefinition Source # 
type Rep DynamoDBAttributeDefinition Source # 
type Rep DynamoDBAttributeDefinition = D1 (MetaData "DynamoDBAttributeDefinition" "Stratosphere.ResourceProperties.DynamoDBAttributeDefinition" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "DynamoDBAttributeDefinition" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dynamoDBAttributeDefinitionAttributeName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_dynamoDBAttributeDefinitionAttributeType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AttributeType))))

ddbadAttributeName :: Lens' DynamoDBAttributeDefinition (Val Text) Source #

The name of an attribute. Attribute names can be 1 – 255 characters long and have no character restrictions.

ddbadAttributeType :: Lens' DynamoDBAttributeDefinition AttributeType Source #

The data type for the attribute. You can specify S for string data, N for numeric data, or B for binary data.