@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 20 lines 856 Bytes
Raw
1 import type { PolicyStatement } from "../IAM/Policy.ts";
2
3 /**
4 * Bind-time options shared by the handler-invoking Cloud Control bindings
5 * ({@link CreateResource}, {@link UpdateResource}, {@link DeleteResource},
6 * {@link GetResource}, {@link ListResources}).
7 */
8 export interface CloudControlBindingOptions {
9 /**
10 * Additional IAM policy statements attached to the host alongside the
11 * `cloudformation:*Resource` grant.
12 *
13 * Cloud Control invokes the target resource type's CloudFormation handlers
14 * with the caller's credentials, so the host also needs the handler's
15 * underlying service permissions — e.g. `ssm:PutParameter` +
16 * `ssm:GetParameters` to create an `AWS::SSM::Parameter`. Consult the
17 * `handlers` section of the resource type's schema for the exact actions.
18 */
19 handlerPolicyStatements?: PolicyStatement[];
20 }