agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,38 @@
import * as api from 'aws-cdk-lib/aws-apigateway';
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
import { InjectionContext, IPropertyInjector, PropertyInjectors } from 'aws-cdk-lib/core';
import { App, Stack } from 'aws-cdk-lib';
class ApiKeyPropsInjector implements IPropertyInjector {
readonly constructUniqueId: string;
constructor() {
this.constructUniqueId = api.ApiKey.PROPERTY_INJECTION_ID;
}
inject(originalProps: api.ApiKeyProps, context: InjectionContext): api.ApiKeyProps {
return {
enabled: false,
...originalProps,
};
}
}
class AnotherApiKeyPropsInjector implements IPropertyInjector {
readonly constructUniqueId: string;
constructor() {
this.constructUniqueId = api.ApiKey.PROPERTY_INJECTION_ID;
}
inject(originalProps: api.ApiKeyProps, context: InjectionContext): api.ApiKeyProps {
return {
enabled: true,
...originalProps,
};
}
}
const app = new App({});
/// here