Module Cfgen.Intrinsics

Intrinsic references generated at deployment time, like stack name or AWS Account ID/Region

CloudFormation intrinsics and pseudo-parameters are for using dynamic values in resource properties and stack outputs that are only available at deployment time.

These intrinsics are tokens, so they can be used directly as resource property values or concatenated in strings.

val account : string

The AWS::AccountId psuedo-parameter for returning the AWS account the stack is deployed in

val region : string

The AWS::Region psuedo-parameter for returning the AWS account the stack is deployed in

val stack_id : string

The AWS::StackId psuedo-parameter for returning the deployed stack ID

val stack_name : string

The AWS::StackName psuedo-parameter for returning the deployed stack name

val no_value : string

The AWS::NoValue psuedo-parameter for returning an empty value from a Fn::If intrinsic

val fn_split : delimiter:string -> string -> string

Split a list of values with delimiter at runtime.

Uses the Fn::Split intrinsic function.

Note that delimiter will not undergo token substitution, but values can.

val fn_import_value : string -> string

Import a value exported by another stack (in the same account and region) at deployment time.

Uses the Fn::ImportValue intrinsic.