AWS cdk documentation change
Summary
Added '###### Example' headers throughout resource management documentation
Security assessment
Headers added without changing security-critical content about resource policies, access controls, or vulnerability management. No security impact.
Diff
diff --git a/cdk/v2/guide/resources.md b/cdk/v2/guide/resources.md index 951884c5e..4b8d292db 100644 --- a//cdk/v2/guide/resources.md +++ b//cdk/v2/guide/resources.md @@ -18,0 +19,2 @@ To create an instance of a resource using its corresponding construct, pass in t +###### Example + @@ -86,0 +89,2 @@ Most resources in the AWS Construct Library expose attributes, which are resolve +###### Example + @@ -166,0 +171,2 @@ You can directly pass any resource object of the proper type defined in the same +###### Example + @@ -233,0 +240,2 @@ The following example defines a stack `stack1`. This stack defines an Amazon S3 +###### Example + @@ -326,0 +335,2 @@ The following example shows how to reference a bucket based on an existing bucke +###### Example + @@ -423,0 +434,2 @@ You must provide `Vpc.fromLookup()` attributes sufficient to uniquely identify a +###### Example + @@ -477,0 +490,2 @@ You can also use the `tags` property to query for VPCs by tag. You can add tags +###### Example + @@ -535,0 +550,2 @@ You can specify a physical name when creating constructs that represent resource +###### Example + @@ -582,0 +599,2 @@ In some cases, such as when creating an AWS CDK app with cross-environment refer +###### Example + @@ -640,0 +659,2 @@ These identifiers are available as attributes on the resources, such as the foll +###### Example + @@ -691,0 +712,2 @@ The following example shows how to pass a generated bucket name to an AWS Lambda +###### Example + @@ -765,0 +788,2 @@ The following example creates the permissions to allow a Lambda function’s exe +###### Example + @@ -819,0 +844,2 @@ The following example shows how to grant a Lambda function access to the Amazon +###### Example + @@ -866,0 +893,2 @@ The following example shows how to define an alarm when the `ApproximateNumberOf +###### Example + @@ -1008,0 +1037,2 @@ You enable data to flow on a given network path by using `allow` methods. The fo +###### Example + @@ -1110,0 +1141,2 @@ The following example shows how to enable connections from any IPV4 address, and +###### Example + @@ -1163,0 +1196,2 @@ The following example shows how to trigger a Lambda function when an object is a +###### Example + @@ -1249,0 +1284,2 @@ Following is an example of creating an Amazon S3 bucket with `RemovalPolicy` of +###### Example + @@ -1372,0 +1409,2 @@ You can also apply a removal policy directly to the underlying AWS CloudFormatio +###### Example +