Resource attributes are attributes that you can add to a resource to control additional behaviors and relationships. For more information about resource attributes, see Resource Attribute Reference in the AWS CloudFormation User Guide.
AWS SAM resources support a subset of resource attributes that are supported by AWS CloudFormation resources. To see which AWS SAM resources support which resource attributes, see the following table.
Notes:
* For more information about using the Metadata
resource attribute with the AWS::Serverless::Function
resource type, see Building custom runtimes.
** For more information about using the Metadata
resource attribute with the AWS::Serverless::LayerVersion
resource type, see Building layers.