Class: Aws::LambdaWeb::Types::CreateWebFunctionEndpointRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaWeb::Types::CreateWebFunctionEndpointRequest
- Defined in:
- gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb
Overview
The request to create a web function endpoint.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auth_type ⇒ String
The authorization type for the endpoint.
-
#auto_deployment_mode ⇒ String
The auto-deployment mode for the endpoint.
-
#description ⇒ String
A description of the endpoint.
-
#endpoint_name ⇒ String
The name of the endpoint to create.
-
#endpoint_type ⇒ String
The type of endpoint to create.
-
#function_name ⇒ String
The web function to create the endpoint for.
-
#regions ⇒ Array<String>
The list of Regions for the endpoint.
-
#revision_weights ⇒ Array<Types::RevisionWeight>
A list of revision weights that determine how traffic is distributed across revisions.
-
#scaling_config ⇒ Types::ScalingConfig
The scaling configuration for the endpoint.
-
#throttle_config ⇒ Types::ThrottleConfig
The throttling configuration for the endpoint.
Instance Attribute Details
#auth_type ⇒ String
The authorization type for the endpoint.
Valid values:
ApplicationManaged– Your application handles authorization.IamAuth– Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#auto_deployment_mode ⇒ String
The auto-deployment mode for the endpoint. Controls whether the
endpoint automatically serves the newest revision. If you don't
specify a value, the default is Disabled, and this default is
returned in the response.
Valid values:
LatestRevision– The endpoint automatically serves the newest revision.Disabled– Revision routing stays fixed until you change it.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the endpoint.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#endpoint_name ⇒ String
The name of the endpoint to create. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#endpoint_type ⇒ String
The type of endpoint to create. Determines how traffic is served and routed across Regions.
Valid values:
HomeRegion– Serves traffic from the Region where you created the web function.MultiRegion– Replicates across the Regions that you choose and routes each request to the nearest one.PerRegion– Creates a separate endpoint in each Region that you choose.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#function_name ⇒ String
The web function to create the endpoint for.
You can specify either of the following:
The function name, for example
my-function.The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#regions ⇒ Array<String>
The list of Regions for the endpoint. Required when the endpoint
type is MultiRegion or PerRegion: specify at least one Region
other than the Region where you create the endpoint (the home
Region). The home Region is added automatically if you don't
include it; specifying only the home Region isn't allowed. When the
endpoint type is HomeRegion, omit this field or specify only the
home Region.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#revision_weights ⇒ Array<Types::RevisionWeight>
A list of revision weights that determine how traffic is distributed across revisions. You can specify up to two revisions for canary or blue-green deployments.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#scaling_config ⇒ Types::ScalingConfig
The scaling configuration for the endpoint. There is no default value. If you don't specify a scaling configuration, it is absent from the response.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |
#throttle_config ⇒ Types::ThrottleConfig
The throttling configuration for the endpoint. There is no default value. If you don't specify a throttling configuration, it is absent from the response.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 238 class CreateWebFunctionEndpointRequest < Struct.new( :function_name, :endpoint_name, :description, :endpoint_type, :auth_type, :auto_deployment_mode, :revision_weights, :regions, :scaling_config, :throttle_config) SENSITIVE = [] include Aws::Structure end |