我试图理解CloudFormation在将标记应用于它创建的资源方面的行为。
根据他们的文档-
In addition to any tags you define, AWS CloudFormation automatically creates the following stack-level tags with the prefix aws::
aws:cloudformation:logical-id
aws:cloudformation:stack-id
aws:cloudformation:stack-name
我从DynamoDB创建了一个CloudFormation表,访
当脚本在Glue作业内部运行时,我需要在Glue-ETL作业中做一些设置,而不是我的木星笔记本。
让我们假设我的设置是这样的:
from awsglue.utils import getResolvedOptions
from pyspark.context import SparkContext
from awsglue.context import GlueContext
SC = SparkContext.getOrCreate()
GC = GlueContext(SC)
# I only want to run this when inside a Glue Job
args =