AWS CloudFormation Concepts Intrinsic Functions: Difference between revisions
Jump to navigation
Jump to search
(→Ref) |
(→Ref) |
||
Line 11: | Line 11: | ||
{{External|[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html Ref]}} | {{External|[https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html Ref]}} | ||
The intrinsic function Ref returns the value of the specified parameter or resource. When a parameter logical name is specified, it returns the value of the parameter. When a resource logical name is specified, it returns a value that can be typically used to refer to that resource, such as a physical ID. | The intrinsic function Ref returns the value of the specified [[AWS_CloudFormation_Concepts#Input_Parameters|parameter]] or [[AWS_CloudFormation_Concepts#Resources|resource]]. When a parameter logical name is specified, it returns the value of the parameter. When a resource logical name is specified, it returns a value that can be typically used to refer to that resource, such as a physical ID. | ||
=Join= | =Join= |
Revision as of 22:16, 11 March 2019
External
Internal
Ref
The intrinsic function Ref returns the value of the specified parameter or resource. When a parameter logical name is specified, it returns the value of the parameter. When a resource logical name is specified, it returns a value that can be typically used to refer to that resource, such as a physical ID.
Join
!Join ['-', [ a, b, c ]]
returns "a:b:c"
Split
!Split ['.', "www.example.com"]
returns ["www", "example", "com"].