Documentation ¶
Index ¶
- func ValidateAPIEvent(template *cloudformation.Template, event *serverless.Function_ApiEvent) error
- func ValidateAWSCloudFrontDistribution(projectName, configName, resourceName string, ...) error
- func ValidateAWSCloudWatchAlarm(projectName, configName, resourceName string, ...) error
- func ValidateAWSElasticLoadBalancingV2Listener(projectName, configName, resourceName string, ...) error
- func ValidateAWSElasticLoadBalancingV2ListenerRule(projectName, configName, resourceName string, ...) error
- func ValidateAWSElasticLoadBalancingV2LoadBalancer(projectName, configName, resourceName string, ...) error
- func ValidateAWSElasticLoadBalancingV2TargetGroup(projectName, configName, resourceName string, ...) error
- func ValidateAWSLambdaPermission(projectName, configName, resourceName string, ...) error
- func ValidateAWSSQSQueue(projectName, configName, resourceName string, ...) error
- func ValidateAWSServerlessApi(projectName, configName, resourceName string, ...) error
- func ValidateAWSServerlessFunction(projectName, configName, region, accountId, resourceName string, ...) error
- func ValidateAWSServerlessLayerVersion(projectName, configName, resourceName string, ...) error
- func ValidateAWSServerlessSimpleTable(projectName, configName, resourceName string, ...) error
- func ValidateCloudWatchEventEvent(event *serverless.Function_CloudWatchEventEvent) error
- func ValidateCloudWatchLogsEvent(projectName, configName string, event *serverless.Function_CloudWatchLogsEvent, ...) error
- func ValidateDynamoDBEvent(projectName, configName string, event *serverless.Function_DynamoDBEvent, ...) error
- func ValidateFunctionEvents(template *cloudformation.Template, ...) error
- func ValidateFunctionIAM(projectName, configName, accountId, resourceName string, ...) error
- func ValidateKinesisEvent(projectName, configName, region, accountId string, ...) error
- func ValidateLoadbalancerSecurityGroups(projectName, configName, resourceName string, ...) error
- func ValidateLoadbalancerSubnets(projectName, configName, resourceName string, ...) error
- func ValidateResource(prefix, projectName, configName, serviceName string, res interface{ ... }) error
- func ValidateS3Event(projectName, configName string, event *serverless.Function_S3Event, ...) error
- func ValidateSNSEvent(projectName, configName, region, accountId string, ...) error
- func ValidateSQSEvent(projectName, configName, region, accountId string, ...) error
- func ValidateScheduleEvent(event *serverless.Function_ScheduleEvent) error
- func ValidateSubnet(sub *subnet.Subnet) error
- func ValidateTemplateResources(projectName, configName, region, accountId string, ...) error
- func ValidateVPCConfig(projectName, configName, resourceName string, fun *serverless.Function, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAPIEvent ¶
func ValidateAPIEvent(template *cloudformation.Template, event *serverless.Function_ApiEvent) error
func ValidateAWSCloudFrontDistribution ¶
func ValidateAWSCloudFrontDistribution( projectName, configName, resourceName string, template *cloudformation.Template, res *cloudfront.Distribution, ) error
func ValidateAWSCloudWatchAlarm ¶
func ValidateAWSCloudWatchAlarm( projectName, configName, resourceName string, template *cloudformation.Template, res *cloudwatch.Alarm, ) error
func ValidateAWSElasticLoadBalancingV2Listener ¶
func ValidateAWSElasticLoadBalancingV2Listener( projectName, configName, resourceName string, template *cloudformation.Template, res *elasticloadbalancingv2.Listener, ) error
func ValidateAWSElasticLoadBalancingV2ListenerRule ¶
func ValidateAWSElasticLoadBalancingV2ListenerRule( projectName, configName, resourceName string, template *cloudformation.Template, res *elasticloadbalancingv2.ListenerRule, ) error
func ValidateAWSElasticLoadBalancingV2LoadBalancer ¶
func ValidateAWSElasticLoadBalancingV2LoadBalancer( projectName, configName, resourceName string, template *cloudformation.Template, ec2c aws.EC2API, res *elasticloadbalancingv2.LoadBalancer, ) error
func ValidateAWSElasticLoadBalancingV2TargetGroup ¶
func ValidateAWSElasticLoadBalancingV2TargetGroup( projectName, configName, resourceName string, template *cloudformation.Template, lambdac aws.LambdaAPI, res *elasticloadbalancingv2.TargetGroup, ) error
func ValidateAWSLambdaPermission ¶
func ValidateAWSLambdaPermission( projectName, configName, resourceName string, template *cloudformation.Template, res *lambda.Permission, ) error
func ValidateAWSSQSQueue ¶
func ValidateAWSServerlessApi ¶
func ValidateAWSServerlessApi( projectName, configName, resourceName string, template *cloudformation.Template, res *serverless.Api, s3shas map[string]string, ) error
func ValidateAWSServerlessFunction ¶
func ValidateAWSServerlessFunction( projectName, configName, region, accountId, resourceName string, template *cloudformation.Template, fun *serverless.Function, s3shas map[string]string, iamc aws.IAMAPI, ec2c aws.EC2API, s3c aws.S3API, kinc aws.KINAPI, ddbc aws.DDBAPI, sqsc aws.SQSAPI, snsc aws.SNSAPI, kmsc aws.KMSAPI, cwlc aws.CWLAPI, ) error
func ValidateAWSServerlessLayerVersion ¶
func ValidateAWSServerlessLayerVersion( projectName, configName, resourceName string, template *cloudformation.Template, res *serverless.LayerVersion, s3shas map[string]string, ) error
func ValidateAWSServerlessSimpleTable ¶
func ValidateAWSServerlessSimpleTable( projectName, configName, resourceName string, template *cloudformation.Template, res *serverless.SimpleTable, ) error
func ValidateCloudWatchEventEvent ¶
func ValidateCloudWatchEventEvent(event *serverless.Function_CloudWatchEventEvent) error
func ValidateCloudWatchLogsEvent ¶
func ValidateCloudWatchLogsEvent(projectName, configName string, event *serverless.Function_CloudWatchLogsEvent, cwlc aws.CWLAPI) error
func ValidateDynamoDBEvent ¶
func ValidateDynamoDBEvent(projectName, configName string, event *serverless.Function_DynamoDBEvent, ddbc aws.DDBAPI) error
func ValidateFunctionEvents ¶
func ValidateFunctionIAM ¶
func ValidateKinesisEvent ¶
func ValidateKinesisEvent(projectName, configName, region, accountId string, event *serverless.Function_KinesisEvent, kinc aws.KINAPI) error
func ValidateLoadbalancerSecurityGroups ¶
func ValidateLoadbalancerSecurityGroups( projectName, configName, resourceName string, res *elasticloadbalancingv2.LoadBalancer, ec2c aws.EC2API, ) error
func ValidateLoadbalancerSubnets ¶
func ValidateLoadbalancerSubnets( projectName, configName, resourceName string, res *elasticloadbalancingv2.LoadBalancer, ec2c aws.EC2API, ) error
func ValidateResource ¶
func ValidateResource(prefix, projectName, configName, serviceName string, res interface { ProjectName() *string ConfigName() *string ServiceName() *string }) error
UTILS
func ValidateS3Event ¶
func ValidateS3Event(projectName, configName string, event *serverless.Function_S3Event, s3c aws.S3API) error
func ValidateSNSEvent ¶
func ValidateSNSEvent(projectName, configName, region, accountId string, event *serverless.Function_SNSEvent, snsc aws.SNSAPI) error
func ValidateSQSEvent ¶
func ValidateSQSEvent(projectName, configName, region, accountId string, event *serverless.Function_SQSEvent, sqsc aws.SQSAPI) error
func ValidateScheduleEvent ¶
func ValidateScheduleEvent(event *serverless.Function_ScheduleEvent) error
func ValidateSubnet ¶
func ValidateTemplateResources ¶
func ValidateTemplateResources( projectName, configName, region, accountId string, template *cloudformation.Template, s3shas map[string]string, iamc aws.IAMAPI, ec2c aws.EC2API, s3c aws.S3API, kinc aws.KINAPI, ddbc aws.DDBAPI, sqsc aws.SQSAPI, snsc aws.SNSAPI, kmsc aws.KMSAPI, lambdac aws.LambdaAPI, cwlc aws.CWLAPI, ) error
func ValidateVPCConfig ¶
Types ¶
This section is empty.
Source Files ¶
- aws_cloudfront_distribution.go
- aws_cloudwatch_alarm.go
- aws_elasticloadbalancingv2_listener.go
- aws_elasticloadbalancingv2_listenerrule.go
- aws_elasticloadbalancingv2_loadbalancer.go
- aws_elasticloadbalancingv2_targetgroup.go
- aws_lambda_permission.go
- aws_serverless_api.go
- aws_serverless_function.go
- aws_serverless_function_events.go
- aws_serverless_layerversion.go
- aws_serverless_simpletable.go
- aws_sqs_queue.go
- intrinsics.go
- validations.go
Click to show internal directories.
Click to hide internal directories.