Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { // AccessLogSetting AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi AccessLogSetting *serverless.Api_AccessLogSetting `json:"AccessLogSetting,omitempty"` // Auth AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi Auth *serverless.Api_Auth `json:"Auth,omitempty"` // BinaryMediaTypes AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi BinaryMediaTypes *[]string `json:"BinaryMediaTypes,omitempty"` // CacheClusterEnabled AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi CacheClusterEnabled *bool `json:"CacheClusterEnabled,omitempty"` // CacheClusterSize AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi CacheClusterSize *string `json:"CacheClusterSize,omitempty"` // CanarySetting AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-canarysetting CanarySetting *serverless.Api_CanarySetting `json:"CanarySetting,omitempty"` // Cors AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi Cors *serverless.Api_Cors `json:"Cors,omitempty"` // DefinitionUri AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi DefinitionUri *serverless.Api_DefinitionUri `json:"DefinitionUri,omitempty"` // Description AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-description Description *string `json:"Description,omitempty"` // DisableExecuteApiEndpoint AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-disableexecuteapiendpoint DisableExecuteApiEndpoint *bool `json:"DisableExecuteApiEndpoint,omitempty"` // Domain AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-domain Domain *serverless.Api_DomainConfiguration `json:"Domain,omitempty"` // EndpointConfiguration AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi EndpointConfiguration *serverless.Api_EndpointConfiguration `json:"EndpointConfiguration,omitempty"` // GatewayResponses AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-gatewayresponses GatewayResponses *map[string]string `json:"GatewayResponses,omitempty"` // MethodSettings AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi MethodSettings *[]interface{} `json:"MethodSettings,omitempty"` // MinimumCompressionSize AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-minimumcompressionsize MinimumCompressionSize *int `json:"MinimumCompressionSize,omitempty"` // Models AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.html#sam-api-models Models *map[string]interface{} `json:"Models,omitempty"` // Name AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi Name *string `json:"Name,omitempty"` // OpenApiVersion AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi OpenApiVersion *string `json:"OpenApiVersion,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi Tags *map[string]string `json:"Tags,omitempty"` // TracingEnabled AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi TracingEnabled *bool `json:"TracingEnabled,omitempty"` // Variables AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi Variables *map[string]string `json:"Variables,omitempty"` }
Api AWS CloudFormation Resource (Api) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi
func (*Api) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function ¶
type Function struct { // Architectures AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-architectures Architectures *[]string `json:"Architectures,omitempty"` // AssumeRolePolicyDocument AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-assumerolepolicydocument AssumeRolePolicyDocument *interface{} `json:"AssumeRolePolicyDocument,omitempty"` // AutoPublishAlias AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction AutoPublishAlias *string `json:"AutoPublishAlias,omitempty"` // AutoPublishCodeSha256 AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-autopublishcodesha256 AutoPublishCodeSha256 *string `json:"AutoPublishCodeSha256,omitempty"` // CodeSigningConfigArn AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-codesigningconfigarn CodeSigningConfigArn *string `json:"CodeSigningConfigArn,omitempty"` // CodeUri AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction CodeUri *serverless.Function_CodeUri `json:"CodeUri,omitempty"` // DeadLetterQueue AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction DeadLetterQueue *serverless.Function_DeadLetterQueue `json:"DeadLetterQueue,omitempty"` // DeploymentPreference AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction DeploymentPreference *serverless.Function_DeploymentPreference `json:"DeploymentPreference,omitempty"` // Description AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Description *string `json:"Description,omitempty"` // Environment AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Environment *serverless.Function_FunctionEnvironment `json:"Environment,omitempty"` // EventInvokeConfig AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction EventInvokeConfig *serverless.Function_EventInvokeConfig `json:"EventInvokeConfig,omitempty"` // Handler AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Handler *string `json:"Handler,omitempty"` // ImageConfig AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-imageconfig ImageConfig *serverless.Function_ImageConfig `json:"ImageConfig,omitempty"` // ImageUri AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-imageuri ImageUri *string `json:"ImageUri,omitempty"` // InlineCode AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction InlineCode *string `json:"InlineCode,omitempty"` // KmsKeyArn AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction KmsKeyArn *string `json:"KmsKeyArn,omitempty"` // Layers AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Layers *[]string `json:"Layers,omitempty"` // MemorySize AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction MemorySize *int `json:"MemorySize,omitempty"` // PackageType AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-packagetype PackageType *string `json:"PackageType,omitempty"` // PermissionsBoundary AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction PermissionsBoundary *string `json:"PermissionsBoundary,omitempty"` // ReservedConcurrentExecutions AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction ReservedConcurrentExecutions *int `json:"ReservedConcurrentExecutions,omitempty"` // Runtime AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Runtime *string `json:"Runtime,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Tags *map[string]string `json:"Tags,omitempty"` // Timeout AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Timeout *int `json:"Timeout,omitempty"` // Tracing AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Tracing *string `json:"Tracing,omitempty"` // VersionDescription AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction VersionDescription *string `json:"VersionDescription,omitempty"` // VpcConfig AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction VpcConfig *serverless.Function_VpcConfig `json:"VpcConfig,omitempty"` }
Function AWS CloudFormation Resource (Function) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
func (*Function) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
type HttpApi ¶
type HttpApi struct { // AccessLogSetting AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi AccessLogSetting *serverless.HttpApi_AccessLogSetting `json:"AccessLogSetting,omitempty"` // Auth AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi Auth *serverless.HttpApi_HttpApiAuth `json:"Auth,omitempty"` // CorsConfiguration AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi CorsConfiguration *serverless.HttpApi_CorsConfiguration `json:"CorsConfiguration,omitempty"` // DefaultRouteSettings AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi DefaultRouteSettings *serverless.HttpApi_RouteSettings `json:"DefaultRouteSettings,omitempty"` // Description AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi Description *string `json:"Description,omitempty"` // DisableExecuteApiEndpoint AWS CloudFormation Property // Required: false // See: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-httpapi.html#sam-httpapi-disableexecuteapiendpoint DisableExecuteApiEndpoint *bool `json:"DisableExecuteApiEndpoint,omitempty"` // Domain AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi Domain *serverless.HttpApi_HttpApiDomainConfiguration `json:"Domain,omitempty"` // FailOnWarnings AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi FailOnWarnings *bool `json:"FailOnWarnings,omitempty"` // RouteSettings AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi RouteSettings *serverless.HttpApi_RouteSettings `json:"RouteSettings,omitempty"` // StageVariables AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi StageVariables *map[string]string `json:"StageVariables,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi Tags *map[string]string `json:"Tags,omitempty"` }
HttpApi AWS CloudFormation Resource (HttpApi) See: https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesshttpapi
func (*HttpApi) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
type SimpleTable ¶
type SimpleTable struct { // SSESpecification AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable SSESpecification *serverless.SimpleTable_SSESpecification `json:"SSESpecification,omitempty"` }
SimpleTable AWS CloudFormation Resource (SimpleTable) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable
func (*SimpleTable) AWSCloudFormationType ¶
func (r *SimpleTable) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type