File tree 5 files changed +60
-5
lines changed 5 files changed +60
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,18 @@ export interface ResourcePolicyProps {
22
22
}
23
23
24
24
/**
25
- * Creates Cloudwatch log group resource policies
25
+ * Resource Policy for CloudWatch Log Groups
26
+ *
27
+ * Policies define the operations that are allowed on this resource.
28
+ *
29
+ * You almost never need to define this construct directly.
30
+ *
31
+ * All AWS resources that support resource policies have a method called
32
+ * `addToResourcePolicy()`, which will automatically create a new resource
33
+ * policy if one doesn't exist yet, otherwise it will add to the existing
34
+ * policy.
35
+ *
36
+ * Prefer to use `addToResourcePolicy()` instead.
26
37
*/
27
38
export class ResourcePolicy extends Resource {
28
39
/**
Original file line number Diff line number Diff line change @@ -19,7 +19,18 @@ export interface BucketPolicyProps {
19
19
}
20
20
21
21
/**
22
- * Applies an Amazon S3 bucket policy to an Amazon S3 bucket.
22
+ * The bucket policy for an Amazon S3 bucket
23
+ *
24
+ * Policies define the operations that are allowed on this resource.
25
+ *
26
+ * You almost never need to define this construct directly.
27
+ *
28
+ * All AWS resources that support resource policies have a method called
29
+ * `addToResourcePolicy()`, which will automatically create a new resource
30
+ * policy if one doesn't exist yet, otherwise it will add to the existing
31
+ * policy.
32
+ *
33
+ * Prefer to use `addToResourcePolicy()` instead.
23
34
*/
24
35
export class BucketPolicy extends Resource {
25
36
Original file line number Diff line number Diff line change @@ -15,7 +15,18 @@ export interface ResourcePolicyProps {
15
15
}
16
16
17
17
/**
18
- * Secret Resource Policy
18
+ * Resource Policy for SecretsManager Secrets
19
+ *
20
+ * Policies define the operations that are allowed on this resource.
21
+ *
22
+ * You almost never need to define this construct directly.
23
+ *
24
+ * All AWS resources that support resource policies have a method called
25
+ * `addToResourcePolicy()`, which will automatically create a new resource
26
+ * policy if one doesn't exist yet, otherwise it will add to the existing
27
+ * policy.
28
+ *
29
+ * Prefer to use `addToResourcePolicy()` instead.
19
30
*/
20
31
export class ResourcePolicy extends Resource {
21
32
/**
Original file line number Diff line number Diff line change @@ -21,7 +21,18 @@ export interface TopicPolicyProps {
21
21
}
22
22
23
23
/**
24
- * Applies a policy to SNS topics.
24
+ * The policy for an SNS Topic
25
+ *
26
+ * Policies define the operations that are allowed on this resource.
27
+ *
28
+ * You almost never need to define this construct directly.
29
+ *
30
+ * All AWS resources that support resource policies have a method called
31
+ * `addToResourcePolicy()`, which will automatically create a new resource
32
+ * policy if one doesn't exist yet, otherwise it will add to the existing
33
+ * policy.
34
+ *
35
+ * Prefer to use `addToResourcePolicy()` instead.
25
36
*/
26
37
export class TopicPolicy extends Resource {
27
38
/**
Original file line number Diff line number Diff line change @@ -15,7 +15,18 @@ export interface QueuePolicyProps {
15
15
}
16
16
17
17
/**
18
- * Applies a policy to SQS queues.
18
+ * The policy for an SQS Queue
19
+ *
20
+ * Policies define the operations that are allowed on this resource.
21
+ *
22
+ * You almost never need to define this construct directly.
23
+ *
24
+ * All AWS resources that support resource policies have a method called
25
+ * `addToResourcePolicy()`, which will automatically create a new resource
26
+ * policy if one doesn't exist yet, otherwise it will add to the existing
27
+ * policy.
28
+ *
29
+ * Prefer to use `addToResourcePolicy()` instead.
19
30
*/
20
31
export class QueuePolicy extends Resource {
21
32
/**
You can’t perform that action at this time.
0 commit comments