Documentation ¶
Overview ¶
Package awscmd contains all commands for the aws section of the fusion cli
Commands ¶
AWS commands can be executed with
fusion new aws
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrGenLambda = "failed to generate terraform for lamba" ErrHighlight = "error highlighting terraform" )
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct { Stack struct { ServerlessWebsite NewAWSServerlessWebsiteCmd `cmd:"" help:"Create new AWS static website w/ serverless backend"` } `cmd:"" help:"Create new stacks of resources"` Resource struct { SecurityGroup NewSecurityGroupCmd `cmd:"" help:"Create new AWS Security Group"` S3Bucket NewS3BucketCmd `cmd:"" help:"Create new AWS S3 bucket" name:"s3_bucket"` Cloudfront NewCloudfrontCmd `cmd:"" help:"Create new AWS cloudfront distribution"` Route53 NewRoute53ZoneCmd `cmd:"" help:"Create new AWS route53 hosted zone"` Lambda NewLambdaCommand `cmd:"" help:"Create new AWS lambda function"` IamPolicy NewIamPolicyCmd `cmd:"" help:"Create new AWS IAM policy"` ApiGateway NewAPIGatewayCmd `cmd:"" help:"Create new AWS API gateway v2"` VpcStack NewVpcStackCmd `cmd:"" help:"Create new VPC with public & private subnets, igws, & NAT gateways"` } `cmd:"" help:"Create new single resource"` }
type NewAPIGatewayCmd ¶
type NewAPIGatewayCmd struct { Globals *aws.APIGateway `embed:""` }
NewAPIGatewayv2Cmd creates a new api_gatewayv2
type NewAWSServerlessWebsiteCmd ¶
type NewAWSServerlessWebsiteCmd struct { Globals *stacks.ServerlessWebsite `embed:""` }
NewAWSServerlessWebsiteCmd creates a new ServerlessWebsite
type NewCloudfrontCmd ¶
type NewCloudfrontCmd struct { Globals *aws.CloudfrontDistribution `embed:""` }
NewCloudfrontCmd creates a new CloudFront
type NewIamPolicyCmd ¶
NewIamPolicyCmd creates a new iam_policy
type NewLambdaCommand ¶
type NewLambdaCommand struct { Globals Graph bool `help:"Generate graphviz of terraform resource" default:"false"` *aws.LambdaFunction `embed:""` }
type NewRoute53ZoneCmd ¶
type NewRoute53ZoneCmd struct { Globals *aws.Route53HostedZone `embed:""` }
NewRoute53ZoneCmd creates a new route53_zone
type NewS3BucketCmd ¶
NewS3BucketCmd creates a new s3_bucket
type NewSecurityGroupCmd ¶
type NewSecurityGroupCmd struct { Globals *aws.SecurityGroup `embed:""` }
NewSecurityGroupCmd creates a new SecurityGroup
Click to show internal directories.
Click to hide internal directories.