Documentation
¶
Index ¶
- type Api
- type Api_AccessLogSetting
- type Api_Auth
- type Api_Cors
- type Api_CorsConfiguration
- type Api_DefinitionUri
- type Api_S3Location
- type Application
- type Application_ApplicationLocation
- type Application_Location
- type Function
- type Function_AlexaSkillEvent
- type Function_ApiEvent
- type Function_BucketSAMPT
- type Function_CloudWatchEventEvent
- type Function_CloudWatchLogsEvent
- type Function_CodeUri
- type Function_CollectionSAMPT
- type Function_DeadLetterQueue
- type Function_DeploymentPreference
- type Function_DomainSAMPT
- type Function_DynamoDBEvent
- type Function_EmptySAMPT
- type Function_EventBridgeRuleEvent
- type Function_EventSource
- type Function_Events
- type Function_FunctionEnvironment
- type Function_FunctionSAMPT
- type Function_IAMPolicyDocument
- type Function_IdentitySAMPT
- type Function_IoTRuleEvent
- type Function_KeySAMPT
- type Function_KinesisEvent
- type Function_LogGroupSAMPT
- type Function_Policies
- type Function_Properties
- type Function_QueueSAMPT
- type Function_S3Event
- type Function_S3KeyFilter
- type Function_S3KeyFilterRule
- type Function_S3Location
- type Function_S3NotificationFilter
- type Function_SAMPolicyTemplate
- type Function_SNSEvent
- type Function_SQSEvent
- type Function_ScheduleEvent
- type Function_StateMachineSAMPT
- type Function_StreamSAMPT
- type Function_TableSAMPT
- type Function_TableStreamSAMPT
- type Function_TopicSAMPT
- type Function_VpcConfig
- type LayerVersion
- type SimpleTable
- type SimpleTable_PrimaryKey
- type SimpleTable_ProvisionedThroughput
- type SimpleTable_SSESpecification
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 *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 *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"`
// Cors AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi
Cors *Api_Cors `json:"Cors,omitempty"`
// DefinitionBody AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi
DefinitionBody interface{} `json:"DefinitionBody,omitempty"`
// DefinitionUri AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi
DefinitionUri *Api_DefinitionUri `json:"DefinitionUri,omitempty"`
// EndpointConfiguration AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi
EndpointConfiguration string `json:"EndpointConfiguration,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"`
// 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"`
// StageName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapi
StageName string `json:"StageName,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"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Api AWS CloudFormation Resource (AWS::Serverless::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
func (Api) MarshalJSON ¶
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*Api) UnmarshalJSON ¶
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
type Api_AccessLogSetting ¶
type Api_AccessLogSetting struct {
// DestinationArn AWS CloudFormation Property
// Required: false
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html#cfn-apigateway-stage-accesslogsetting-destinationarn
DestinationArn string `json:"DestinationArn,omitempty"`
// Format AWS CloudFormation Property
// Required: false
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html#cfn-apigateway-stage-accesslogsetting-format
Format string `json:"Format,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Api_AccessLogSetting AWS CloudFormation Resource (AWS::Serverless::Api.AccessLogSetting) See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html
func (*Api_AccessLogSetting) AWSCloudFormationType ¶
func (r *Api_AccessLogSetting) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Api_Auth ¶
type Api_Auth struct {
// Authorizers AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object
Authorizers interface{} `json:"Authorizers,omitempty"`
// DefaultAuthorizer AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object
DefaultAuthorizer string `json:"DefaultAuthorizer,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Api_Auth AWS CloudFormation Resource (AWS::Serverless::Api.Auth) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object
func (*Api_Auth) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
type Api_Cors ¶ added in v4.0.2
type Api_Cors struct {
String *string
CorsConfiguration *Api_CorsConfiguration
}
Api_Cors is a helper struct that can hold either a String or CorsConfiguration value
func (Api_Cors) MarshalJSON ¶ added in v4.0.2
func (*Api_Cors) UnmarshalJSON ¶ added in v4.0.2
Hook into the marshaller
type Api_CorsConfiguration ¶ added in v4.0.2
type Api_CorsConfiguration struct {
// AllowCredentials AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration
AllowCredentials bool `json:"AllowCredentials,omitempty"`
// AllowHeaders AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration
AllowHeaders string `json:"AllowHeaders,omitempty"`
// AllowMethods AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration
AllowMethods string `json:"AllowMethods,omitempty"`
// AllowOrigin AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration
AllowOrigin string `json:"AllowOrigin,omitempty"`
// MaxAge AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration
MaxAge string `json:"MaxAge,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Api_CorsConfiguration AWS CloudFormation Resource (AWS::Serverless::Api.CorsConfiguration) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cors-configuration
func (*Api_CorsConfiguration) AWSCloudFormationType ¶ added in v4.0.2
func (r *Api_CorsConfiguration) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Api_DefinitionUri ¶
type Api_DefinitionUri struct {
String *string
S3Location *Api_S3Location
}
Api_DefinitionUri is a helper struct that can hold either a String or S3Location value
func (Api_DefinitionUri) MarshalJSON ¶
func (r Api_DefinitionUri) MarshalJSON() ([]byte, error)
func (*Api_DefinitionUri) UnmarshalJSON ¶
func (r *Api_DefinitionUri) UnmarshalJSON(b []byte) error
Hook into the marshaller
type Api_S3Location ¶
type Api_S3Location struct {
// Bucket AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Bucket string `json:"Bucket,omitempty"`
// Key AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Key string `json:"Key,omitempty"`
// Version AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Version int `json:"Version"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Api_S3Location AWS CloudFormation Resource (AWS::Serverless::Api.S3Location) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3-location-object
func (*Api_S3Location) AWSCloudFormationType ¶
func (r *Api_S3Location) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Application ¶
type Application struct {
// Location AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
Location *Application_Location `json:"Location,omitempty"`
// NotificationArns AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
NotificationArns []string `json:"NotificationArns,omitempty"`
// Parameters AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
Parameters map[string]string `json:"Parameters,omitempty"`
// Tags AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
Tags map[string]string `json:"Tags,omitempty"`
// TimeoutInMinutes AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
TimeoutInMinutes int `json:"TimeoutInMinutes,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Application AWS CloudFormation Resource (AWS::Serverless::Application) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
func (*Application) AWSCloudFormationType ¶
func (r *Application) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
func (Application) MarshalJSON ¶
func (r Application) MarshalJSON() ([]byte, error)
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*Application) UnmarshalJSON ¶
func (r *Application) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
type Application_ApplicationLocation ¶
type Application_ApplicationLocation struct {
// ApplicationId AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
ApplicationId string `json:"ApplicationId,omitempty"`
// SemanticVersion AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
SemanticVersion string `json:"SemanticVersion,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Application_ApplicationLocation AWS CloudFormation Resource (AWS::Serverless::Application.ApplicationLocation) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication
func (*Application_ApplicationLocation) AWSCloudFormationType ¶
func (r *Application_ApplicationLocation) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Application_Location ¶
type Application_Location struct {
String *string
ApplicationLocation *Application_ApplicationLocation
}
Application_Location is a helper struct that can hold either a String or ApplicationLocation value
func (Application_Location) MarshalJSON ¶
func (r Application_Location) MarshalJSON() ([]byte, error)
func (*Application_Location) UnmarshalJSON ¶
func (r *Application_Location) UnmarshalJSON(b []byte) error
Hook into the marshaller
type Function ¶
type Function struct {
// 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"`
// CodeUri AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
CodeUri *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 *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 *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 *Function_FunctionEnvironment `json:"Environment,omitempty"`
// Events AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Events map[string]Function_EventSource `json:"Events,omitempty"`
// FunctionName AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
FunctionName string `json:"FunctionName,omitempty"`
// Handler AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Handler string `json:"Handler,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"`
// 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"`
// Policies AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Policies *Function_Policies `json:"Policies,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"`
// Role AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Role string `json:"Role,omitempty"`
// Runtime AWS CloudFormation Property
// Required: true
// 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"`
// VpcConfig AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
VpcConfig *Function_VpcConfig `json:"VpcConfig,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function AWS CloudFormation Resource (AWS::Serverless::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
func (Function) MarshalJSON ¶
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*Function) UnmarshalJSON ¶
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
type Function_AlexaSkillEvent ¶
type Function_AlexaSkillEvent struct {
// Variables AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#alexaskill
Variables map[string]string `json:"Variables,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_AlexaSkillEvent AWS CloudFormation Resource (AWS::Serverless::Function.AlexaSkillEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#alexaskill
func (*Function_AlexaSkillEvent) AWSCloudFormationType ¶
func (r *Function_AlexaSkillEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_ApiEvent ¶
type Function_ApiEvent struct {
// Method AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
Method string `json:"Method,omitempty"`
// Path AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
Path string `json:"Path,omitempty"`
// RestApiId AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
RestApiId string `json:"RestApiId,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_ApiEvent AWS CloudFormation Resource (AWS::Serverless::Function.ApiEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
func (*Function_ApiEvent) AWSCloudFormationType ¶
func (r *Function_ApiEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_BucketSAMPT ¶
type Function_BucketSAMPT struct {
// BucketName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
BucketName string `json:"BucketName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_BucketSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.BucketSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_BucketSAMPT) AWSCloudFormationType ¶
func (r *Function_BucketSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_CloudWatchEventEvent ¶
type Function_CloudWatchEventEvent struct {
// Input AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cloudwatchevent
Input string `json:"Input,omitempty"`
// InputPath AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cloudwatchevent
InputPath string `json:"InputPath,omitempty"`
// Pattern AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html
Pattern interface{} `json:"Pattern,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_CloudWatchEventEvent AWS CloudFormation Resource (AWS::Serverless::Function.CloudWatchEventEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cloudwatchevent
func (*Function_CloudWatchEventEvent) AWSCloudFormationType ¶
func (r *Function_CloudWatchEventEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_CloudWatchLogsEvent ¶ added in v4.7.0
type Function_CloudWatchLogsEvent struct {
// FilterPattern AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cloudwatchlogs
FilterPattern string `json:"FilterPattern,omitempty"`
// LogGroupName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cloudwatchlogs
LogGroupName string `json:"LogGroupName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_CloudWatchLogsEvent AWS CloudFormation Resource (AWS::Serverless::Function.CloudWatchLogsEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#cloudwatchevent
func (*Function_CloudWatchLogsEvent) AWSCloudFormationType ¶ added in v4.7.0
func (r *Function_CloudWatchLogsEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_CodeUri ¶
type Function_CodeUri struct {
String *string
S3Location *Function_S3Location
}
Function_CodeUri is a helper struct that can hold either a String or S3Location value
func (Function_CodeUri) MarshalJSON ¶
func (r Function_CodeUri) MarshalJSON() ([]byte, error)
func (*Function_CodeUri) UnmarshalJSON ¶
func (r *Function_CodeUri) UnmarshalJSON(b []byte) error
Hook into the marshaller
type Function_CollectionSAMPT ¶
type Function_CollectionSAMPT struct {
// CollectionId AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
CollectionId string `json:"CollectionId,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_CollectionSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.CollectionSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_CollectionSAMPT) AWSCloudFormationType ¶
func (r *Function_CollectionSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_DeadLetterQueue ¶
type Function_DeadLetterQueue struct {
// TargetArn AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
TargetArn string `json:"TargetArn,omitempty"`
// Type AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Type string `json:"Type,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_DeadLetterQueue AWS CloudFormation Resource (AWS::Serverless::Function.DeadLetterQueue) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deadletterqueue-object
func (*Function_DeadLetterQueue) AWSCloudFormationType ¶
func (r *Function_DeadLetterQueue) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_DeploymentPreference ¶
type Function_DeploymentPreference struct {
// Alarms AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object
Alarms []string `json:"Alarms,omitempty"`
// Enabled AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object
Enabled bool `json:"Enabled,omitempty"`
// Hooks AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object
Hooks map[string]string `json:"Hooks,omitempty"`
// Role AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object
Role string `json:"Role,omitempty"`
// Type AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object
Type string `json:"Type,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_DeploymentPreference AWS CloudFormation Resource (AWS::Serverless::Function.DeploymentPreference) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object
func (*Function_DeploymentPreference) AWSCloudFormationType ¶
func (r *Function_DeploymentPreference) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_DomainSAMPT ¶
type Function_DomainSAMPT struct {
// DomainName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
DomainName string `json:"DomainName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_DomainSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.DomainSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_DomainSAMPT) AWSCloudFormationType ¶
func (r *Function_DomainSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_DynamoDBEvent ¶
type Function_DynamoDBEvent struct {
// BatchSize AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb
BatchSize int `json:"BatchSize,omitempty"`
// Enabled AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb
Enabled bool `json:"Enabled,omitempty"`
// StartingPosition AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb
StartingPosition string `json:"StartingPosition,omitempty"`
// Stream AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb
Stream string `json:"Stream,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_DynamoDBEvent AWS CloudFormation Resource (AWS::Serverless::Function.DynamoDBEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb
func (*Function_DynamoDBEvent) AWSCloudFormationType ¶
func (r *Function_DynamoDBEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_EmptySAMPT ¶
type Function_EmptySAMPT struct {
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_EmptySAMPT AWS CloudFormation Resource (AWS::Serverless::Function.EmptySAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_EmptySAMPT) AWSCloudFormationType ¶
func (r *Function_EmptySAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_EventBridgeRuleEvent ¶ added in v4.10.0
type Function_EventBridgeRuleEvent struct {
// EventBusName AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#eventbridgerule
EventBusName string `json:"EventBusName,omitempty"`
// Input AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#eventbridgerule
Input string `json:"Input,omitempty"`
// InputPath AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#eventbridgerule
InputPath string `json:"InputPath,omitempty"`
// Pattern AWS CloudFormation Property
// Required: true
// See: https://docs.aws.amazon.com/eventbridge/latest/userguide/filtering-examples-structure.html
Pattern interface{} `json:"Pattern,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy
AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_EventBridgeRuleEvent AWS CloudFormation Resource (AWS::Serverless::Function.EventBridgeRuleEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#eventbridgerule
func (*Function_EventBridgeRuleEvent) AWSCloudFormationType ¶ added in v4.10.0
func (r *Function_EventBridgeRuleEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_EventSource ¶
type Function_EventSource struct {
// Properties AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#event-source-types
Properties *Function_Properties `json:"Properties,omitempty"`
// Type AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#event-source-object
Type string `json:"Type,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_EventSource AWS CloudFormation Resource (AWS::Serverless::Function.EventSource) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#event-source-object
func (*Function_EventSource) AWSCloudFormationType ¶
func (r *Function_EventSource) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_Events ¶
Function_Events is a helper struct that can hold either a String or String value
func (Function_Events) MarshalJSON ¶
func (r Function_Events) MarshalJSON() ([]byte, error)
func (*Function_Events) UnmarshalJSON ¶
func (r *Function_Events) UnmarshalJSON(b []byte) error
Hook into the marshaller
type Function_FunctionEnvironment ¶
type Function_FunctionEnvironment struct {
// Variables AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
Variables map[string]string `json:"Variables,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_FunctionEnvironment AWS CloudFormation Resource (AWS::Serverless::Function.FunctionEnvironment) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
func (*Function_FunctionEnvironment) AWSCloudFormationType ¶
func (r *Function_FunctionEnvironment) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_FunctionSAMPT ¶
type Function_FunctionSAMPT struct {
// FunctionName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
FunctionName string `json:"FunctionName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_FunctionSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.FunctionSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_FunctionSAMPT) AWSCloudFormationType ¶
func (r *Function_FunctionSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_IAMPolicyDocument ¶
type Function_IAMPolicyDocument struct {
// Statement AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html
Statement interface{} `json:"Statement,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_IAMPolicyDocument AWS CloudFormation Resource (AWS::Serverless::Function.IAMPolicyDocument) See: http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html
func (*Function_IAMPolicyDocument) AWSCloudFormationType ¶
func (r *Function_IAMPolicyDocument) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_IdentitySAMPT ¶
type Function_IdentitySAMPT struct {
// IdentityName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
IdentityName string `json:"IdentityName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_IdentitySAMPT AWS CloudFormation Resource (AWS::Serverless::Function.IdentitySAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_IdentitySAMPT) AWSCloudFormationType ¶
func (r *Function_IdentitySAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_IoTRuleEvent ¶
type Function_IoTRuleEvent struct {
// AwsIotSqlVersion AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#iotrule
AwsIotSqlVersion string `json:"AwsIotSqlVersion,omitempty"`
// Sql AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#iotrule
Sql string `json:"Sql,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_IoTRuleEvent AWS CloudFormation Resource (AWS::Serverless::Function.IoTRuleEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#iotrule
func (*Function_IoTRuleEvent) AWSCloudFormationType ¶
func (r *Function_IoTRuleEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_KeySAMPT ¶
type Function_KeySAMPT struct {
// KeyId AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
KeyId string `json:"KeyId,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_KeySAMPT AWS CloudFormation Resource (AWS::Serverless::Function.KeySAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_KeySAMPT) AWSCloudFormationType ¶
func (r *Function_KeySAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_KinesisEvent ¶
type Function_KinesisEvent struct {
// BatchSize AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis
BatchSize int `json:"BatchSize,omitempty"`
// Enabled AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis
Enabled bool `json:"Enabled,omitempty"`
// StartingPosition AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis
StartingPosition string `json:"StartingPosition,omitempty"`
// Stream AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis
Stream string `json:"Stream,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_KinesisEvent AWS CloudFormation Resource (AWS::Serverless::Function.KinesisEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis
func (*Function_KinesisEvent) AWSCloudFormationType ¶
func (r *Function_KinesisEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_LogGroupSAMPT ¶
type Function_LogGroupSAMPT struct {
// LogGroupName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
LogGroupName string `json:"LogGroupName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_LogGroupSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.LogGroupSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_LogGroupSAMPT) AWSCloudFormationType ¶
func (r *Function_LogGroupSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_Policies ¶
type Function_Policies struct {
String *string
StringArray *[]string
IAMPolicyDocument *Function_IAMPolicyDocument
IAMPolicyDocumentArray *[]Function_IAMPolicyDocument
SAMPolicyTemplateArray *[]Function_SAMPolicyTemplate
}
Function_Policies is a helper struct that can hold either a String, String, IAMPolicyDocument, SAMPolicyTemplate, or IAMPolicyDocument value
func (Function_Policies) MarshalJSON ¶
func (r Function_Policies) MarshalJSON() ([]byte, error)
func (*Function_Policies) UnmarshalJSON ¶
func (r *Function_Policies) UnmarshalJSON(b []byte) error
Hook into the marshaller
type Function_Properties ¶
type Function_Properties struct {
S3Event *Function_S3Event
SNSEvent *Function_SNSEvent
SQSEvent *Function_SQSEvent
KinesisEvent *Function_KinesisEvent
DynamoDBEvent *Function_DynamoDBEvent
ApiEvent *Function_ApiEvent
ScheduleEvent *Function_ScheduleEvent
CloudWatchEventEvent *Function_CloudWatchEventEvent
CloudWatchLogsEvent *Function_CloudWatchLogsEvent
IoTRuleEvent *Function_IoTRuleEvent
AlexaSkillEvent *Function_AlexaSkillEvent
EventBridgeRuleEvent *Function_EventBridgeRuleEvent
}
Function_Properties is a helper struct that can hold either a S3Event, SNSEvent, SQSEvent, KinesisEvent, DynamoDBEvent, ApiEvent, ScheduleEvent, CloudWatchEventEvent, CloudWatchLogsEvent, IoTRuleEvent, AlexaSkillEvent, or EventBridgeRuleEvent value
func (Function_Properties) MarshalJSON ¶
func (r Function_Properties) MarshalJSON() ([]byte, error)
func (*Function_Properties) UnmarshalJSON ¶
func (r *Function_Properties) UnmarshalJSON(b []byte) error
Hook into the marshaller
type Function_QueueSAMPT ¶
type Function_QueueSAMPT struct {
// QueueName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
QueueName string `json:"QueueName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_QueueSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.QueueSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_QueueSAMPT) AWSCloudFormationType ¶
func (r *Function_QueueSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_S3Event ¶
type Function_S3Event struct {
// Bucket AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3
Bucket string `json:"Bucket,omitempty"`
// Events AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3
Events *Function_Events `json:"Events,omitempty"`
// Filter AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3
Filter *Function_S3NotificationFilter `json:"Filter,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_S3Event AWS CloudFormation Resource (AWS::Serverless::Function.S3Event) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3
func (*Function_S3Event) AWSCloudFormationType ¶
func (r *Function_S3Event) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_S3KeyFilter ¶ added in v4.0.3
type Function_S3KeyFilter struct {
// Rules AWS CloudFormation Property
// Required: true
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html
Rules []Function_S3KeyFilterRule `json:"Rules,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_S3KeyFilter AWS CloudFormation Resource (AWS::Serverless::Function.S3KeyFilter) See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html
func (*Function_S3KeyFilter) AWSCloudFormationType ¶ added in v4.0.3
func (r *Function_S3KeyFilter) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_S3KeyFilterRule ¶ added in v4.0.3
type Function_S3KeyFilterRule struct {
// Name AWS CloudFormation Property
// Required: true
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html
Name string `json:"Name,omitempty"`
// Value AWS CloudFormation Property
// Required: true
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html
Value string `json:"Value,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_S3KeyFilterRule AWS CloudFormation Resource (AWS::Serverless::Function.S3KeyFilterRule) See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html
func (*Function_S3KeyFilterRule) AWSCloudFormationType ¶ added in v4.0.3
func (r *Function_S3KeyFilterRule) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_S3Location ¶
type Function_S3Location struct {
// Bucket AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Bucket string `json:"Bucket,omitempty"`
// Key AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Key string `json:"Key,omitempty"`
// Version AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Version int `json:"Version,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_S3Location AWS CloudFormation Resource (AWS::Serverless::Function.S3Location) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3-location-object
func (*Function_S3Location) AWSCloudFormationType ¶
func (r *Function_S3Location) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_S3NotificationFilter ¶
type Function_S3NotificationFilter struct {
// S3Key AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html
S3Key *Function_S3KeyFilter `json:"S3Key,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_S3NotificationFilter AWS CloudFormation Resource (AWS::Serverless::Function.S3NotificationFilter) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html
func (*Function_S3NotificationFilter) AWSCloudFormationType ¶
func (r *Function_S3NotificationFilter) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_SAMPolicyTemplate ¶
type Function_SAMPolicyTemplate struct {
// AMIDescribePolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
AMIDescribePolicy *Function_EmptySAMPT `json:"AMIDescribePolicy,omitempty"`
// CloudFormationDescribeStacksPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
CloudFormationDescribeStacksPolicy *Function_EmptySAMPT `json:"CloudFormationDescribeStacksPolicy,omitempty"`
// CloudWatchPutMetricPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
CloudWatchPutMetricPolicy *Function_EmptySAMPT `json:"CloudWatchPutMetricPolicy,omitempty"`
// DynamoDBCrudPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
DynamoDBCrudPolicy *Function_TableSAMPT `json:"DynamoDBCrudPolicy,omitempty"`
// DynamoDBReadPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
DynamoDBReadPolicy *Function_TableSAMPT `json:"DynamoDBReadPolicy,omitempty"`
// DynamoDBStreamReadPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
DynamoDBStreamReadPolicy *Function_TableStreamSAMPT `json:"DynamoDBStreamReadPolicy,omitempty"`
// EC2DescribePolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
EC2DescribePolicy *Function_EmptySAMPT `json:"EC2DescribePolicy,omitempty"`
// ElasticsearchHttpPostPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
ElasticsearchHttpPostPolicy *Function_DomainSAMPT `json:"ElasticsearchHttpPostPolicy,omitempty"`
// FilterLogEventsPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
FilterLogEventsPolicy *Function_LogGroupSAMPT `json:"FilterLogEventsPolicy,omitempty"`
// KMSDecryptPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
KMSDecryptPolicy *Function_KeySAMPT `json:"KMSDecryptPolicy,omitempty"`
// KinesisCrudPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
KinesisCrudPolicy *Function_StreamSAMPT `json:"KinesisCrudPolicy,omitempty"`
// KinesisStreamReadPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
KinesisStreamReadPolicy *Function_StreamSAMPT `json:"KinesisStreamReadPolicy,omitempty"`
// LambdaInvokePolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
LambdaInvokePolicy *Function_FunctionSAMPT `json:"LambdaInvokePolicy,omitempty"`
// RekognitionDetectOnlyPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
RekognitionDetectOnlyPolicy *Function_EmptySAMPT `json:"RekognitionDetectOnlyPolicy,omitempty"`
// RekognitionLabelsPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
RekognitionLabelsPolicy *Function_EmptySAMPT `json:"RekognitionLabelsPolicy,omitempty"`
// RekognitionNoDataAccessPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
RekognitionNoDataAccessPolicy *Function_CollectionSAMPT `json:"RekognitionNoDataAccessPolicy,omitempty"`
// RekognitionReadPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
RekognitionReadPolicy *Function_CollectionSAMPT `json:"RekognitionReadPolicy,omitempty"`
// RekognitionWriteOnlyAccessPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
RekognitionWriteOnlyAccessPolicy *Function_CollectionSAMPT `json:"RekognitionWriteOnlyAccessPolicy,omitempty"`
// S3CrudPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
S3CrudPolicy *Function_BucketSAMPT `json:"S3CrudPolicy,omitempty"`
// S3ReadPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
S3ReadPolicy *Function_BucketSAMPT `json:"S3ReadPolicy,omitempty"`
// SESBulkTemplatedCrudPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SESBulkTemplatedCrudPolicy *Function_IdentitySAMPT `json:"SESBulkTemplatedCrudPolicy,omitempty"`
// SESCrudPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SESCrudPolicy *Function_IdentitySAMPT `json:"SESCrudPolicy,omitempty"`
// SESEmailTemplateCrudPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SESEmailTemplateCrudPolicy *Function_EmptySAMPT `json:"SESEmailTemplateCrudPolicy,omitempty"`
// SESSendBouncePolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SESSendBouncePolicy *Function_IdentitySAMPT `json:"SESSendBouncePolicy,omitempty"`
// SNSCrudPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SNSCrudPolicy *Function_TopicSAMPT `json:"SNSCrudPolicy,omitempty"`
// SNSPublishMessagePolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SNSPublishMessagePolicy *Function_TopicSAMPT `json:"SNSPublishMessagePolicy,omitempty"`
// SQSPollerPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SQSPollerPolicy *Function_QueueSAMPT `json:"SQSPollerPolicy,omitempty"`
// SQSSendMessagePolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
SQSSendMessagePolicy *Function_QueueSAMPT `json:"SQSSendMessagePolicy,omitempty"`
// StepFunctionsExecutionPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
StepFunctionsExecutionPolicy *Function_StateMachineSAMPT `json:"StepFunctionsExecutionPolicy,omitempty"`
// VPCAccessPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
VPCAccessPolicy *Function_EmptySAMPT `json:"VPCAccessPolicy,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_SAMPolicyTemplate AWS CloudFormation Resource (AWS::Serverless::Function.SAMPolicyTemplate) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_SAMPolicyTemplate) AWSCloudFormationType ¶
func (r *Function_SAMPolicyTemplate) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_SNSEvent ¶
type Function_SNSEvent struct {
// Topic AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sns
Topic string `json:"Topic,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_SNSEvent AWS CloudFormation Resource (AWS::Serverless::Function.SNSEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sns
func (*Function_SNSEvent) AWSCloudFormationType ¶
func (r *Function_SNSEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_SQSEvent ¶
type Function_SQSEvent struct {
// BatchSize AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sqs
BatchSize int `json:"BatchSize,omitempty"`
// Enabled AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sqs
Enabled bool `json:"Enabled,omitempty"`
// Queue AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sqs
Queue string `json:"Queue,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_SQSEvent AWS CloudFormation Resource (AWS::Serverless::Function.SQSEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#sqs
func (*Function_SQSEvent) AWSCloudFormationType ¶
func (r *Function_SQSEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_ScheduleEvent ¶
type Function_ScheduleEvent struct {
// Input AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#schedule
Input string `json:"Input,omitempty"`
// Schedule AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#schedule
Schedule string `json:"Schedule,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_ScheduleEvent AWS CloudFormation Resource (AWS::Serverless::Function.ScheduleEvent) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#schedule
func (*Function_ScheduleEvent) AWSCloudFormationType ¶
func (r *Function_ScheduleEvent) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_StateMachineSAMPT ¶
type Function_StateMachineSAMPT struct {
// StateMachineName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
StateMachineName string `json:"StateMachineName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_StateMachineSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.StateMachineSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_StateMachineSAMPT) AWSCloudFormationType ¶
func (r *Function_StateMachineSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_StreamSAMPT ¶
type Function_StreamSAMPT struct {
// StreamName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
StreamName string `json:"StreamName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_StreamSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.StreamSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_StreamSAMPT) AWSCloudFormationType ¶
func (r *Function_StreamSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_TableSAMPT ¶
type Function_TableSAMPT struct {
// TableName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
TableName string `json:"TableName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_TableSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.TableSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_TableSAMPT) AWSCloudFormationType ¶
func (r *Function_TableSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_TableStreamSAMPT ¶
type Function_TableStreamSAMPT struct {
// StreamName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
StreamName string `json:"StreamName,omitempty"`
// TableName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
TableName string `json:"TableName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_TableStreamSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.TableStreamSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_TableStreamSAMPT) AWSCloudFormationType ¶
func (r *Function_TableStreamSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_TopicSAMPT ¶
type Function_TopicSAMPT struct {
// TopicName AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
TopicName string `json:"TopicName,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_TopicSAMPT AWS CloudFormation Resource (AWS::Serverless::Function.TopicSAMPT) See: https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst
func (*Function_TopicSAMPT) AWSCloudFormationType ¶
func (r *Function_TopicSAMPT) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type Function_VpcConfig ¶
type Function_VpcConfig struct {
// SecurityGroupIds AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html
SecurityGroupIds []string `json:"SecurityGroupIds,omitempty"`
// SubnetIds AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html
SubnetIds []string `json:"SubnetIds,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
Function_VpcConfig AWS CloudFormation Resource (AWS::Serverless::Function.VpcConfig) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html
func (*Function_VpcConfig) AWSCloudFormationType ¶
func (r *Function_VpcConfig) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type LayerVersion ¶
type LayerVersion struct {
// CompatibleRuntimes AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
CompatibleRuntimes []string `json:"CompatibleRuntimes,omitempty"`
// ContentUri AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
ContentUri string `json:"ContentUri,omitempty"`
// Description AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
Description string `json:"Description,omitempty"`
// LayerName AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
LayerName string `json:"LayerName,omitempty"`
// LicenseInfo AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
LicenseInfo string `json:"LicenseInfo,omitempty"`
// RetentionPolicy AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
RetentionPolicy string `json:"RetentionPolicy,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
LayerVersion AWS CloudFormation Resource (AWS::Serverless::LayerVersion) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
func (*LayerVersion) AWSCloudFormationType ¶
func (r *LayerVersion) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
func (LayerVersion) MarshalJSON ¶
func (r LayerVersion) MarshalJSON() ([]byte, error)
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*LayerVersion) UnmarshalJSON ¶
func (r *LayerVersion) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
type SimpleTable ¶
type SimpleTable struct {
// PrimaryKey AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#primary-key-object
PrimaryKey *SimpleTable_PrimaryKey `json:"PrimaryKey,omitempty"`
// ProvisionedThroughput AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html
ProvisionedThroughput *SimpleTable_ProvisionedThroughput `json:"ProvisionedThroughput,omitempty"`
// SSESpecification AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable
SSESpecification *SimpleTable_SSESpecification `json:"SSESpecification,omitempty"`
// TableName AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable
TableName string `json:"TableName,omitempty"`
// Tags AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable
Tags map[string]string `json:"Tags,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
SimpleTable AWS CloudFormation Resource (AWS::Serverless::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
func (SimpleTable) MarshalJSON ¶
func (r SimpleTable) MarshalJSON() ([]byte, error)
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*SimpleTable) UnmarshalJSON ¶
func (r *SimpleTable) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
type SimpleTable_PrimaryKey ¶
type SimpleTable_PrimaryKey struct {
// Name AWS CloudFormation Property
// Required: false
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#primary-key-object
Name string `json:"Name,omitempty"`
// Type AWS CloudFormation Property
// Required: true
// See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#primary-key-object
Type string `json:"Type,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
SimpleTable_PrimaryKey AWS CloudFormation Resource (AWS::Serverless::SimpleTable.PrimaryKey) See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#primary-key-object
func (*SimpleTable_PrimaryKey) AWSCloudFormationType ¶
func (r *SimpleTable_PrimaryKey) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type SimpleTable_ProvisionedThroughput ¶
type SimpleTable_ProvisionedThroughput struct {
// ReadCapacityUnits AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html
ReadCapacityUnits int `json:"ReadCapacityUnits,omitempty"`
// WriteCapacityUnits AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html
WriteCapacityUnits int `json:"WriteCapacityUnits"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
SimpleTable_ProvisionedThroughput AWS CloudFormation Resource (AWS::Serverless::SimpleTable.ProvisionedThroughput) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html
func (*SimpleTable_ProvisionedThroughput) AWSCloudFormationType ¶
func (r *SimpleTable_ProvisionedThroughput) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
type SimpleTable_SSESpecification ¶
type SimpleTable_SSESpecification struct {
// SSEEnabled AWS CloudFormation Property
// Required: false
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html
SSEEnabled bool `json:"SSEEnabled,omitempty"`
// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
// AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource
AWSCloudFormationDependsOn []string `json:"-"`
// AWSCloudFormationMetadata stores structured data associated with this resource
AWSCloudFormationMetadata map[string]interface{} `json:"-"`
// AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created
AWSCloudFormationCondition string `json:"-"`
}
SimpleTable_SSESpecification AWS CloudFormation Resource (AWS::Serverless::SimpleTable.SSESpecification) See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html
func (*SimpleTable_SSESpecification) AWSCloudFormationType ¶
func (r *SimpleTable_SSESpecification) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
Source Files
¶
- api_cors.go
- api_definitionuri.go
- application_location.go
- aws-serverless-api.go
- aws-serverless-api_accesslogsetting.go
- aws-serverless-api_auth.go
- aws-serverless-api_corsconfiguration.go
- aws-serverless-api_s3location.go
- aws-serverless-application.go
- aws-serverless-application_applicationlocation.go
- aws-serverless-function.go
- aws-serverless-function_alexaskillevent.go
- aws-serverless-function_apievent.go
- aws-serverless-function_bucketsampt.go
- aws-serverless-function_cloudwatcheventevent.go
- aws-serverless-function_cloudwatchlogsevent.go
- aws-serverless-function_collectionsampt.go
- aws-serverless-function_deadletterqueue.go
- aws-serverless-function_deploymentpreference.go
- aws-serverless-function_domainsampt.go
- aws-serverless-function_dynamodbevent.go
- aws-serverless-function_emptysampt.go
- aws-serverless-function_eventbridgeruleevent.go
- aws-serverless-function_eventsource.go
- aws-serverless-function_functionenvironment.go
- aws-serverless-function_functionsampt.go
- aws-serverless-function_iampolicydocument.go
- aws-serverless-function_identitysampt.go
- aws-serverless-function_iotruleevent.go
- aws-serverless-function_keysampt.go
- aws-serverless-function_kinesisevent.go
- aws-serverless-function_loggroupsampt.go
- aws-serverless-function_queuesampt.go
- aws-serverless-function_s3event.go
- aws-serverless-function_s3keyfilter.go
- aws-serverless-function_s3keyfilterrule.go
- aws-serverless-function_s3location.go
- aws-serverless-function_s3notificationfilter.go
- aws-serverless-function_sampolicytemplate.go
- aws-serverless-function_scheduleevent.go
- aws-serverless-function_snsevent.go
- aws-serverless-function_sqsevent.go
- aws-serverless-function_statemachinesampt.go
- aws-serverless-function_streamsampt.go
- aws-serverless-function_tablesampt.go
- aws-serverless-function_tablestreamsampt.go
- aws-serverless-function_topicsampt.go
- aws-serverless-function_vpcconfig.go
- aws-serverless-layerversion.go
- aws-serverless-simpletable.go
- aws-serverless-simpletable_primarykey.go
- aws-serverless-simpletable_provisionedthroughput.go
- aws-serverless-simpletable_ssespecification.go
- function_codeuri.go
- function_events.go
- function_policies.go
- function_properties.go