package
0.7.0
Repository: https://github.com/aws/copilot-cli.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

DDBAttributeFromKey parses the DDB type and name out of keys specified in the form "Email:S".
New creates an Addons object given a workload name.
NewDynamoDB creates a DynamoDB cloudformation template specifying attributes, primary key schema, and local secondary index configuration.
NewS3 creates a new S3 marshaler which can be used to write CF via addonWriter.
Outputs parses the Outputs section of a CloudFormation template to extract logical IDs and returns them.

# Constants

StackName is the name of the addons nested stack resource.

# Structs

Addons represents additional resources for a workload.
DDBAttribute holds the attribute definition of a DynamoDB attribute (keys, local secondary indices).
DDBLocalSecondaryIndex holds a representation of an LSI.
DynamoDB contains configuration options which fully descibe a DynamoDB table.
DynamoDBProps contains DynamoDB-specific properties for addon.NewDynamoDB().
ErrAddonsDirNotExist occurs when an addons directory for a workload does not exist.
Output represents an output from a CloudFormation template.
S3 contains configuration options which fully describe an S3 bucket.
S3Props contains S3-specific properties for addon.NewS3().
StorageProps holds basic input properties for addon.NewDynamoDB() or addon.NewS3().