Class: Aws::LambdaWeb::Types::RevisionWeight
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaWeb::Types::RevisionWeight
- Defined in:
- gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb
Overview
Specifies a revision and its traffic weight for an endpoint. You can assign weights to up to two revisions to split traffic for canary or blue-green deployments.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#revision_id ⇒ String
The identifier of the revision.
-
#weight ⇒ Integer
The percentage of traffic to route to this revision.
Instance Attribute Details
#revision_id ⇒ String
The identifier of the revision.
1847 1848 1849 1850 1851 1852 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1847 class RevisionWeight < Struct.new( :revision_id, :weight) SENSITIVE = [] include Aws::Structure end |
#weight ⇒ Integer
The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.
1847 1848 1849 1850 1851 1852 |
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 1847 class RevisionWeight < Struct.new( :revision_id, :weight) SENSITIVE = [] include Aws::Structure end |