You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not comfortable to pass the stringified JSON as to the Policy, let's have constructs for each policy type.
constpolicy=newPolicy(stack,"Policy",{content: '{\n"tags":{\n"CostCenter":{\n"tag_key":{\n"@@assign":"CostCenter"\n}\n}\n}\n}',description: "Defines the CostCenter tag key",policyName: "CostCenterTag",policyType: PolicyType.TAG_POLICY,});
It's not comfortable to pass the stringified JSON as to the
Policy
, let's have constructs for each policy type.The text was updated successfully, but these errors were encountered: