com.monsanto.arch.cloudformation.model.resource
AWS::Lambda::Alias
Companion object AWS::Lambda::Alias
case class AWS::Lambda::Alias(name: String, Name: Token[String], FunctionName: Token[ResourceRef[AWS::Lambda::Function]], FunctionVersion: Token[ResourceRef[AWS::Lambda::Version]], Description: Option[Token[String]] = None, RoutingConfig: Option[RoutingConfig] = None, DependsOn: Option[Seq[String]] = None, Condition: Option[ConditionRef] = None) extends Resource[AWS::Lambda::Alias] with HasArn with Product with Serializable
The AWS::Lambda::Alias resource creates an alias that points to the version of an AWS Lambda (Lambda) function that you specify. Use aliases when you want to control which version of your function other services or applications invoke. Those services or applications can use your function's alias so that they don't need to be updated whenever you release a new version of your function.
- name
CloudFormation logical name
- Name
A name for the alias.
- FunctionName
The Lambda function that you want to associate with this alias. You can specify the function' name or its Amazon Resource Name (ARN).
- FunctionVersion
The version of the Lambda function that you want to associate with this alias.
- Description
Information about the alias, such as its purpose or the Lambda function that is associated with it.
- RoutingConfig
Use this parameter to point your alias to two different function versions, allowing you to dictate what percentage of traffic will invoke each version.
- DependsOn
Declare dependencies for resources that must be created or deleted in a specific order.
- Condition
Define conditions by using the intrinsic condition functions. These conditions determine when AWS CloudFormation creates the associated resources.
- Alphabetic
- By Inheritance
- AWS::Lambda::Alias
- Serializable
- Serializable
- Product
- Equals
- HasArn
- Resource
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AWS::Lambda::Alias(name: String, Name: Token[String], FunctionName: Token[ResourceRef[AWS::Lambda::Function]], FunctionVersion: Token[ResourceRef[AWS::Lambda::Version]], Description: Option[Token[String]] = None, RoutingConfig: Option[RoutingConfig] = None, DependsOn: Option[Seq[String]] = None, Condition: Option[ConditionRef] = None)
- name
CloudFormation logical name
- Name
A name for the alias.
- FunctionName
The Lambda function that you want to associate with this alias. You can specify the function' name or its Amazon Resource Name (ARN).
- FunctionVersion
The version of the Lambda function that you want to associate with this alias.
- Description
Information about the alias, such as its purpose or the Lambda function that is associated with it.
- RoutingConfig
Use this parameter to point your alias to two different function versions, allowing you to dictate what percentage of traffic will invoke each version.
- DependsOn
Declare dependencies for resources that must be created or deleted in a specific order.
- Condition
Define conditions by using the intrinsic condition functions. These conditions determine when AWS CloudFormation creates the associated resources.
Type Members
-
type
RR = Resource[AWS::Lambda::Alias]
- Definition Classes
- Resource
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
Condition: Option[ConditionRef]
- Definition Classes
- AWS::Lambda::Alias → Resource
-
val
DeletionPolicy: Option[DeletionPolicy]
- Definition Classes
- Resource
-
val
DependsOn: Option[Seq[String]]
- Definition Classes
- AWS::Lambda::Alias → Resource
- val Description: Option[Token[String]]
- val FunctionName: Token[ResourceRef[AWS::Lambda::Function]]
- val FunctionVersion: Token[ResourceRef[AWS::Lambda::Version]]
- val Name: Token[String]
-
val
ResourceType: String
- Definition Classes
- Resource
- val RoutingConfig: Option[RoutingConfig]
-
def
arn: FunctionCallToken[String]
- Definition Classes
- AWS::Lambda::Alias → HasArn
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
name: String
- Definition Classes
- AWS::Lambda::Alias → HasArn → Resource
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
when(newCondition: Option[ConditionRef] = Condition): AWS::Lambda::Alias
- Definition Classes
- AWS::Lambda::Alias → Resource