Examples of using Ref function in English and their translations into French
{-}
-
Colloquial
-
Official
The braces contain a call to the Ref function with KeyName as its input.
The Ref function can refer to input parameters that are specified at stack creation time.
You can use the Ref function to refer to an identifying property of a resource.
The Ref function can also set a resource's property to the value of another resource.
When you reference the WaitConditionHandle resource by using the Ref function, AWS CloudFormation returns a presigned URL.
as the argument for the Ref function.
In the following sample, the Ref function returns the ID of the myDirectory directory, such as d-12345ab592.
In the following example, the Ref function returns the name of the myReplicationGroup replication group, such as abc12xmy3d1w3hv6.
Note that you cannot use the Ref function to specify the outbound
Instance object to the intrinsic Ref function, the object's InstanceId is returned.
Kinesis::Stream resource as an argument to the Ref function, AWS CloudFormation returns the stream name physical ID.
then use the intrinsic Ref function to refer to the EC2 security group within your DBSecurityGroup.
RouteTable type as an argument to the Ref function, AWS CloudFormation returns the route table ID,
SSM::Parameter resource to the intrinsic Ref function, the function returns the Name of the SSM parameter.
GuardDuty::Detector resource to the intrinsic Ref function, the function returns the unique ID of the created detector.
DMS::Certificate resource to the intrinsic Ref function, the function returns the Amazon Resource Name(ARN) of the certificate.
GuardDuty::IPSet resource to the intrinsic Ref function, the function returns the unique ID of the created IP set.
EKS::Cluster resource to the intrinsic Ref function, the function returns the name of the cluster, such as EKSCluster-NT5EUXTNTXXD.
NatGateway resource to the intrinsic Ref function, the function returns the ID of the NAT gateway, such as nat-0a12bc456789de0fg.
Budgets::Budget resource to the intrinsic Ref function, the function returns the name of the budget created by the template.