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

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
export * from './domain';
export * from './version';
export * from './opensearchservice.generated';
export * from './opensearchservice-grants.generated';

View File

@@ -0,0 +1 @@
"use strict";var __createBinding=exports&&exports.__createBinding||(Object.create?(function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}):(function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]})),__exportStar=exports&&exports.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0});var _noFold;exports.TLSSecurityPolicy=void 0,Object.defineProperty(exports,_noFold="TLSSecurityPolicy",{enumerable:!0,configurable:!0,get:()=>{var value=require("./domain").TLSSecurityPolicy;return Object.defineProperty(exports,_noFold="TLSSecurityPolicy",{enumerable:!0,configurable:!0,value}),value}}),exports.IpAddressType=void 0,Object.defineProperty(exports,_noFold="IpAddressType",{enumerable:!0,configurable:!0,get:()=>{var value=require("./domain").IpAddressType;return Object.defineProperty(exports,_noFold="IpAddressType",{enumerable:!0,configurable:!0,value}),value}}),exports.NodeType=void 0,Object.defineProperty(exports,_noFold="NodeType",{enumerable:!0,configurable:!0,get:()=>{var value=require("./domain").NodeType;return Object.defineProperty(exports,_noFold="NodeType",{enumerable:!0,configurable:!0,value}),value}}),exports.Domain=void 0,Object.defineProperty(exports,_noFold="Domain",{enumerable:!0,configurable:!0,get:()=>{var value=require("./domain").Domain;return Object.defineProperty(exports,_noFold="Domain",{enumerable:!0,configurable:!0,value}),value}}),exports.EngineVersion=void 0,Object.defineProperty(exports,_noFold="EngineVersion",{enumerable:!0,configurable:!0,get:()=>{var value=require("./version").EngineVersion;return Object.defineProperty(exports,_noFold="EngineVersion",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnDomain=void 0,Object.defineProperty(exports,_noFold="CfnDomain",{enumerable:!0,configurable:!0,get:()=>{var value=require("./opensearchservice.generated").CfnDomain;return Object.defineProperty(exports,_noFold="CfnDomain",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnApplication=void 0,Object.defineProperty(exports,_noFold="CfnApplication",{enumerable:!0,configurable:!0,get:()=>{var value=require("./opensearchservice.generated").CfnApplication;return Object.defineProperty(exports,_noFold="CfnApplication",{enumerable:!0,configurable:!0,value}),value}}),exports.DomainGrants=void 0,Object.defineProperty(exports,_noFold="DomainGrants",{enumerable:!0,configurable:!0,get:()=>{var value=require("./opensearchservice-grants.generated").DomainGrants;return Object.defineProperty(exports,_noFold="DomainGrants",{enumerable:!0,configurable:!0,value}),value}});

View File

@@ -0,0 +1,22 @@
import type { Construct } from 'constructs';
import * as iam from '../../aws-iam';
import * as cr from '../../custom-resources';
/**
* Construction properties for LogGroupResourcePolicy
*/
export interface LogGroupResourcePolicyProps {
/**
* The log group resource policy name
*/
readonly policyName: string;
/**
* The policy statements for the log group resource logs
*/
readonly policyStatements: [iam.PolicyStatement];
}
/**
* Creates LogGroup resource policies.
*/
export declare class LogGroupResourcePolicy extends cr.AwsCustomResource {
constructor(scope: Construct, id: string, props: LogGroupResourcePolicyProps);
}

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LogGroupResourcePolicy=void 0;var iam=()=>{var tmp=require("../../aws-iam");return iam=()=>tmp,tmp},cr=()=>{var tmp=require("../../custom-resources");return cr=()=>tmp,tmp};class LogGroupResourcePolicy extends cr().AwsCustomResource{constructor(scope,id,props){const policyDocument=new(iam()).PolicyDocument({statements:props.policyStatements});super(scope,id,{resourceType:"Custom::CloudwatchLogResourcePolicy",onUpdate:{service:"CloudWatchLogs",action:"putResourcePolicy",parameters:{policyName:props.policyName,policyDocument:JSON.stringify(policyDocument)},physicalResourceId:cr().PhysicalResourceId.of(id)},onDelete:{service:"CloudWatchLogs",action:"deleteResourcePolicy",parameters:{policyName:props.policyName},ignoreErrorCodesMatching:"ResourceNotFoundException"},policy:cr().AwsCustomResourcePolicy.fromSdkCalls({resources:["*"]})})}}exports.LogGroupResourcePolicy=LogGroupResourcePolicy;

View File

@@ -0,0 +1,38 @@
import type { Construct } from 'constructs';
import * as iam from '../../aws-iam';
import * as cr from '../../custom-resources';
/**
* Construction properties for OpenSearchAccessPolicy
*/
export interface OpenSearchAccessPolicyProps {
/**
* The OpenSearch Domain name
*/
readonly domainName: string;
/**
* The OpenSearch Domain ARN
*/
readonly domainArn: string;
/**
* The access policy statements for the OpenSearch cluster
*/
readonly accessPolicies: iam.PolicyStatement[];
/**
* Flag to control verbosity of OpenSearch policy custom resource result
* If verbose output is actively disabled it will only output specific fields
* This is can be used to limit the response body of the custom resource, in cases it exceeds the CFN 4k limit
* @default true
*/
readonly verboseOutput?: boolean;
}
/**
* Creates LogGroup resource policies.
*/
export declare class OpenSearchAccessPolicy extends cr.AwsCustomResource {
private accessPolicyStatements;
constructor(scope: Construct, id: string, props: OpenSearchAccessPolicyProps);
/**
* Add policy statements to the domain access policy
*/
addAccessPolicies(...accessPolicyStatements: iam.PolicyStatement[]): void;
}

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.OpenSearchAccessPolicy=void 0;var iam=()=>{var tmp=require("../../aws-iam");return iam=()=>tmp,tmp},cdk=()=>{var tmp=require("../../core");return cdk=()=>tmp,tmp},cr=()=>{var tmp=require("../../custom-resources");return cr=()=>tmp,tmp};class OpenSearchAccessPolicy extends cr().AwsCustomResource{accessPolicyStatements=[];constructor(scope,id,props){super(scope,id,{resourceType:"Custom::OpenSearchAccessPolicy",installLatestAwsSdk:!1,onUpdate:{action:"updateDomainConfig",service:"OpenSearch",parameters:{DomainName:props.domainName,AccessPolicies:cdk().Lazy.string({produce:()=>JSON.stringify(new(iam()).PolicyDocument({statements:this.accessPolicyStatements}).toJSON())})},outputPaths:props.verboseOutput===void 0||props.verboseOutput?["DomainConfig.AccessPolicies"]:["DomainConfig.AccessPolicies.Status.State","DomainConfig.AccessPolicies.Status.UpdateVersion"],physicalResourceId:cr().PhysicalResourceId.of(`${props.domainName}AccessPolicy`)},policy:cr().AwsCustomResourcePolicy.fromStatements([new(iam()).PolicyStatement({actions:["es:UpdateDomainConfig"],resources:[props.domainArn]})])}),this.addAccessPolicies(...props.accessPolicies)}addAccessPolicies(...accessPolicyStatements){this.accessPolicyStatements.push(...accessPolicyStatements)}}exports.OpenSearchAccessPolicy=OpenSearchAccessPolicy;

View File

@@ -0,0 +1,33 @@
import * as opensearchservice from "./opensearchservice.generated";
import * as iam from "../../aws-iam";
import * as cdk from "../../core/lib";
/**
* Collection of grant methods for a IDomainRef
*/
export declare class DomainGrants {
/**
* Creates grants for DomainGrants
*/
static fromDomain(resource: opensearchservice.IDomainRef): DomainGrants;
protected readonly resource: opensearchservice.IDomainRef;
private constructor();
/**
* Grant the given identity custom permissions
*/
actions(grantee: iam.IGrantable, actions: Array<string>, options?: cdk.PermissionsOptions): iam.Grant;
/**
* Grant read permissions for this domain and its contents to an IAM
* principal (Role/Group/User).
*/
read(grantee: iam.IGrantable): iam.Grant;
/**
* Grant write permissions for this domain and its contents to an IAM
* principal (Role/Group/User).
*/
write(grantee: iam.IGrantable): iam.Grant;
/**
* Grant read/write permissions for this domain and its contents to an IAM
* principal (Role/Group/User).
*/
readWrite(grantee: iam.IGrantable): iam.Grant;
}

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DomainGrants=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var opensearchservice=()=>{var tmp=require("./opensearchservice.generated");return opensearchservice=()=>tmp,tmp},iam=()=>{var tmp=require("../../aws-iam");return iam=()=>tmp,tmp};class DomainGrants{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_opensearchservice.DomainGrants",version:"2.252.0"};static fromDomain(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_opensearchservice_IDomainRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.fromDomain),error}return new DomainGrants({resource})}resource;constructor(props){this.resource=props.resource}actions(grantee,actions,options={}){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iam_IGrantable(grantee),jsiiDeprecationWarnings().aws_cdk_lib_PermissionsOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.actions),error}return iam().Grant.addToPrincipal({actions,grantee,resourceArns:options.resourceArns??[opensearchservice().CfnDomain.arnForDomain(this.resource)]})}read(grantee){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iam_IGrantable(grantee)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.read),error}const actions=["es:ESHttpGet","es:ESHttpHead"];return this.actions(grantee,actions,{resourceArns:[opensearchservice().CfnDomain.arnForDomain(this.resource),opensearchservice().CfnDomain.arnForDomain(this.resource)+"/*"]})}write(grantee){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iam_IGrantable(grantee)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.write),error}const actions=["es:ESHttpDelete","es:ESHttpPost","es:ESHttpPut","es:ESHttpPatch"];return this.actions(grantee,actions,{resourceArns:[opensearchservice().CfnDomain.arnForDomain(this.resource),opensearchservice().CfnDomain.arnForDomain(this.resource)+"/*"]})}readWrite(grantee){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iam_IGrantable(grantee)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.readWrite),error}const actions=["es:ESHttpGet","es:ESHttpHead","es:ESHttpDelete","es:ESHttpPost","es:ESHttpPut","es:ESHttpPatch"];return this.actions(grantee,actions,{resourceArns:[opensearchservice().CfnDomain.arnForDomain(this.resource),opensearchservice().CfnDomain.arnForDomain(this.resource)+"/*"]})}}exports.DomainGrants=DomainGrants;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
export declare const ES_READ_ACTIONS: string[];
export declare const ES_WRITE_ACTIONS: string[];
export declare const ES_READ_WRITE_ACTIONS: string[];

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ES_READ_WRITE_ACTIONS=exports.ES_WRITE_ACTIONS=exports.ES_READ_ACTIONS=void 0,exports.ES_READ_ACTIONS=["es:ESHttpGet","es:ESHttpHead"],exports.ES_WRITE_ACTIONS=["es:ESHttpDelete","es:ESHttpPost","es:ESHttpPut","es:ESHttpPatch"],exports.ES_READ_WRITE_ACTIONS=[...exports.ES_READ_ACTIONS,...exports.ES_WRITE_ACTIONS];

View File

@@ -0,0 +1,102 @@
/**
* OpenSearch version
*/
export declare class EngineVersion {
readonly version: string;
/** AWS Elasticsearch 1.5 */
static readonly ELASTICSEARCH_1_5: EngineVersion;
/** AWS Elasticsearch 2.3 */
static readonly ELASTICSEARCH_2_3: EngineVersion;
/** AWS Elasticsearch 5.1 */
static readonly ELASTICSEARCH_5_1: EngineVersion;
/** AWS Elasticsearch 5.3 */
static readonly ELASTICSEARCH_5_3: EngineVersion;
/** AWS Elasticsearch 5.5 */
static readonly ELASTICSEARCH_5_5: EngineVersion;
/** AWS Elasticsearch 5.6 */
static readonly ELASTICSEARCH_5_6: EngineVersion;
/** AWS Elasticsearch 6.0 */
static readonly ELASTICSEARCH_6_0: EngineVersion;
/** AWS Elasticsearch 6.2 */
static readonly ELASTICSEARCH_6_2: EngineVersion;
/** AWS Elasticsearch 6.3 */
static readonly ELASTICSEARCH_6_3: EngineVersion;
/** AWS Elasticsearch 6.4 */
static readonly ELASTICSEARCH_6_4: EngineVersion;
/** AWS Elasticsearch 6.5 */
static readonly ELASTICSEARCH_6_5: EngineVersion;
/** AWS Elasticsearch 6.7 */
static readonly ELASTICSEARCH_6_7: EngineVersion;
/** AWS Elasticsearch 6.8 */
static readonly ELASTICSEARCH_6_8: EngineVersion;
/** AWS Elasticsearch 7.1 */
static readonly ELASTICSEARCH_7_1: EngineVersion;
/** AWS Elasticsearch 7.4 */
static readonly ELASTICSEARCH_7_4: EngineVersion;
/** AWS Elasticsearch 7.7 */
static readonly ELASTICSEARCH_7_7: EngineVersion;
/** AWS Elasticsearch 7.8 */
static readonly ELASTICSEARCH_7_8: EngineVersion;
/** AWS Elasticsearch 7.9 */
static readonly ELASTICSEARCH_7_9: EngineVersion;
/** AWS Elasticsearch 7.10 */
static readonly ELASTICSEARCH_7_10: EngineVersion;
/** AWS OpenSearch 1.0 */
static readonly OPENSEARCH_1_0: EngineVersion;
/** AWS OpenSearch 1.1 */
static readonly OPENSEARCH_1_1: EngineVersion;
/** AWS OpenSearch 1.2 */
static readonly OPENSEARCH_1_2: EngineVersion;
/** AWS OpenSearch 1.3 */
static readonly OPENSEARCH_1_3: EngineVersion;
/**
* AWS OpenSearch 2.3
*
* OpenSearch 2.3 is now available on Amazon OpenSearch Service across 26
* regions globally. Please refer to the AWS Region Table for more
* information about Amazon OpenSearch Service availability:
* https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/
* */
static readonly OPENSEARCH_2_3: EngineVersion;
/** AWS OpenSearch 2.5 */
static readonly OPENSEARCH_2_5: EngineVersion;
/** AWS OpenSearch 2.7 */
static readonly OPENSEARCH_2_7: EngineVersion;
/** AWS OpenSearch 2.9 */
static readonly OPENSEARCH_2_9: EngineVersion;
/**
* AWS OpenSearch 2.10
* @deprecated use latest version of the OpenSearch engine
**/
static readonly OPENSEARCH_2_10: EngineVersion;
/** AWS OpenSearch 2.11 */
static readonly OPENSEARCH_2_11: EngineVersion;
/** AWS OpenSearch 2.13 */
static readonly OPENSEARCH_2_13: EngineVersion;
/** AWS OpenSearch 2.15 */
static readonly OPENSEARCH_2_15: EngineVersion;
/** AWS OpenSearch 2.17 */
static readonly OPENSEARCH_2_17: EngineVersion;
/** AWS OpenSearch 2.19 */
static readonly OPENSEARCH_2_19: EngineVersion;
/** AWS OpenSearch 3.1 */
static readonly OPENSEARCH_3_1: EngineVersion;
/** AWS OpenSearch 3.3 */
static readonly OPENSEARCH_3_3: EngineVersion;
/** AWS OpenSearch 3.5 */
static readonly OPENSEARCH_3_5: EngineVersion;
/**
* Custom ElasticSearch version
* @param version custom version number
*/
static elasticsearch(version: string): EngineVersion;
/**
* Custom OpenSearch version
* @param version custom version number
*/
static openSearch(version: string): EngineVersion;
/**
* @param version engine version identifier
*/
private constructor();
}

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EngineVersion=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class EngineVersion{version;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_opensearchservice.EngineVersion",version:"2.252.0"};static ELASTICSEARCH_1_5=EngineVersion.elasticsearch("1.5");static ELASTICSEARCH_2_3=EngineVersion.elasticsearch("2.3");static ELASTICSEARCH_5_1=EngineVersion.elasticsearch("5.1");static ELASTICSEARCH_5_3=EngineVersion.elasticsearch("5.3");static ELASTICSEARCH_5_5=EngineVersion.elasticsearch("5.5");static ELASTICSEARCH_5_6=EngineVersion.elasticsearch("5.6");static ELASTICSEARCH_6_0=EngineVersion.elasticsearch("6.0");static ELASTICSEARCH_6_2=EngineVersion.elasticsearch("6.2");static ELASTICSEARCH_6_3=EngineVersion.elasticsearch("6.3");static ELASTICSEARCH_6_4=EngineVersion.elasticsearch("6.4");static ELASTICSEARCH_6_5=EngineVersion.elasticsearch("6.5");static ELASTICSEARCH_6_7=EngineVersion.elasticsearch("6.7");static ELASTICSEARCH_6_8=EngineVersion.elasticsearch("6.8");static ELASTICSEARCH_7_1=EngineVersion.elasticsearch("7.1");static ELASTICSEARCH_7_4=EngineVersion.elasticsearch("7.4");static ELASTICSEARCH_7_7=EngineVersion.elasticsearch("7.7");static ELASTICSEARCH_7_8=EngineVersion.elasticsearch("7.8");static ELASTICSEARCH_7_9=EngineVersion.elasticsearch("7.9");static ELASTICSEARCH_7_10=EngineVersion.elasticsearch("7.10");static OPENSEARCH_1_0=EngineVersion.openSearch("1.0");static OPENSEARCH_1_1=EngineVersion.openSearch("1.1");static OPENSEARCH_1_2=EngineVersion.openSearch("1.2");static OPENSEARCH_1_3=EngineVersion.openSearch("1.3");static OPENSEARCH_2_3=EngineVersion.openSearch("2.3");static OPENSEARCH_2_5=EngineVersion.openSearch("2.5");static OPENSEARCH_2_7=EngineVersion.openSearch("2.7");static OPENSEARCH_2_9=EngineVersion.openSearch("2.9");static OPENSEARCH_2_10=EngineVersion.openSearch("2.10");static OPENSEARCH_2_11=EngineVersion.openSearch("2.11");static OPENSEARCH_2_13=EngineVersion.openSearch("2.13");static OPENSEARCH_2_15=EngineVersion.openSearch("2.15");static OPENSEARCH_2_17=EngineVersion.openSearch("2.17");static OPENSEARCH_2_19=EngineVersion.openSearch("2.19");static OPENSEARCH_3_1=EngineVersion.openSearch("3.1");static OPENSEARCH_3_3=EngineVersion.openSearch("3.3");static OPENSEARCH_3_5=EngineVersion.openSearch("3.5");static elasticsearch(version){return new EngineVersion(`Elasticsearch_${version}`)}static openSearch(version){return new EngineVersion(`OpenSearch_${version}`)}constructor(version){this.version=version}}exports.EngineVersion=EngineVersion;