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,3 @@
import * as sns from '../../../aws-sns';
import type { IResource } from '../../../core';
export declare function regionFromArn(topic: sns.ITopic, resource: IResource): string | undefined;

View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.regionFromArn=regionFromArn;var sns=()=>{var tmp=require("../../../aws-sns");return sns=()=>tmp,tmp},core_1=()=>{var tmp=require("../../../core");return core_1=()=>tmp,tmp};function regionFromArn(topic,resource){return topic instanceof sns().Topic?topic.stack!==resource.stack&&!core_1().Token.isUnresolved(topic.env.region)&&topic.env.region!==resource.env.region?topic.env.region:void 0:core_1().Stack.of(topic).splitArn(topic.topicArn,core_1().ArnFormat.SLASH_RESOURCE_NAME).region}