Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/@aws-cdk/mixins-preview/scripts/spec2logs/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ class LogsMixin extends ClassType {
const resource = method.addParameter({
name: 'resource',
type: CONSTRUCTS.IConstruct,
documentation: 'Some configuration may be required on the source resource to get Vended Logs to function properly.' +
`\nSee Vended Logs documentation specific to ${this.resource.cloudFormationType} for more information.`,
});

const sourceArn = expr.ident('sourceArn');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ export class CfnThingLogsMixin extends core.Mixin implements core.IMixin {

/**
* Apply vended logs configuration to the construct
*
* @param resource Some configuration may be required on the source resource to get Vended Logs to function properly.
* See Vended Logs documentation specific to AWS::Some::Resource for more information.
*/
public applyTo(resource: constructs.IConstruct): constructs.IConstruct {
if (!this.supports(resource)) {
Expand Down
Loading