Resources created from the template - Amazon IoT SiteWise
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Resources created from the template

When you create a stack from the template, Amazon CloudFormation creates the following resources. Most resources' names include a prefix that you can customize when you create the stack.

Resource name parameters
  • BucketName – The name of the S3 bucket created from this template that receives asset data.

  • GlobalResourcePrefix – A prefix for names of global resources created from this template. Defaults to sitewise-export-to-s3.

  • LocalResourcePrefix – A prefix for names of resources created from this template in the current Region. Defaults to sitewise_export_to_s3.

Resources created by the Amazon CloudFormation template
Resource Description Name
S3 bucket for processed data This bucket contains two folders. One folder receives the flattened, formatted data from the Firehose delivery stream, and the other folder receives asset metadata. ${BucketName}
Amazon Glue database This database contains the Amazon Glue table that this stack creates. ${LocalResourcePrefix}_firehose_glue_database
Amazon Glue table The Firehose delivery stream uses this table to format data to Parquet format. ${LocalResourcePrefix}_firehose_glue_table
Amazon Lambda function that transforms data This function flattens the array of values in property value notification messages sent from Amazon IoT SiteWise. ${LocalResourcePrefix}_lambda_transform_function
IAM role for the transform Lambda function This role allows Lambda to store runtime logs for the transform function. ${GlobalResourcePrefix}-lambda-transform-role
IAM policy for the transform Lambda function role This policy allows Lambda to store execution logs for the transform function. ${GlobalResourcePrefix}-lambda-transform-policy
CloudWatch Logs log group for the transform function This log group contains logs for the transform function. /aws/lambda/${LocalResourcePrefix}_lambda_transform_function
Lambda function that collects asset metadata This function retrieves details about assets in Amazon IoT SiteWise and stores the details in an Amazon S3 bucket that this stack creates. ${LocalResourcePrefix}_lambda_metadata_function
Lambda layer for the metadata function This layer provides an Amazon SDK that contains Amazon IoT SiteWise operations that the metadata function uses. ${LocalResourcePrefix}_lambda_metadata_layer
IAM role for the metadata Lambda function This role allows Lambda to retrieve details about assets in Amazon IoT SiteWise. ${GlobalResourcePrefix}-lambda-metadata-role
IAM policy for the metadata Lambda function role This policy allows Lambda to retrieve details about assets in Amazon IoT SiteWise. ${GlobalResourcePrefix}-lambda-metadata-policy
EventBridge scheduled event for the metadata Lambda function This scheduled event runs the metadata Lambda every 6 hours to update the asset metadata bucket. ${LocalResourcePrefix}-metadata-event
CloudWatch Logs log group for the metadata function This log group contains logs for the metadata function. /aws/lambda/${LocalResourcePrefix}_lambda_metadata_function
Amazon IoT rule This rule queries property value notification messages and sends asset data to an Amazon Data Firehose delivery stream. ${LocalResourcePrefix}_iot_topic_rule
IAM role for the Amazon IoT rule This role allows Amazon IoT to send data to the Firehose delivery stream. ${GlobalResourcePrefix}-core-firehose-role
IAM policy for the Amazon IoT rule role This policy allows Amazon IoT to send data to the Firehose delivery stream. ${GlobalResourcePrefix}-core-firehose-policy
Firehose delivery stream This delivery stream consumes data from the Amazon IoT rule, flattens the data with a Lambda function, and delivers the data to Amazon S3. ${LocalResourcePrefix}_firehose_delivery_stream
IAM role for the delivery stream This role allows Firehose to perform operations on the S3 bucket, Amazon Glue table, Lambda functions, and CloudWatch Logs log group. ${GlobalResourcePrefix}-firehose-delivery-role
CloudWatch Logs log group for the delivery stream This log group contains a log stream, S3 Delivery, that receives logs about the Firehose delivery stream. /aws/kinesisfirehose/${LocalResourcePrefix}_firehose_delivery_stream