In the context of AWS CloudFormation, which of the following statements is correct?
Actual resource names are a combination of the resource ID, stack, and logical resource name.
Actual resource name is the stack resource name.
Actual resource name is the logical resource name.
Actual resource names are a combination of the stack and logical resource name.
Explanations:
The actual resource name is not simply a combination of the resource ID, stack, and logical resource name. In AWS CloudFormation, the resource ID is managed by AWS and is not part of the name defined by the user in the template.
The actual resource name is not just the stack resource name; it includes additional context to ensure uniqueness across stacks. The stack resource name is derived from the logical resource name and does not represent the complete resource name.
The logical resource name is not the actual resource name. The logical resource name is a name defined in the CloudFormation template, while the actual resource name is generated by AWS when the stack is created.
The actual resource names are indeed a combination of the stack name and the logical resource name. AWS generates actual resource names by combining the stack name with the logical resource name to ensure uniqueness.