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

13
cdk/node_modules/aws-cdk-lib/aws-signer/.jsiirc.json generated vendored Normal file
View File

@@ -0,0 +1,13 @@
{
"targets": {
"java": {
"package": "software.amazon.awscdk.services.signer"
},
"dotnet": {
"namespace": "Amazon.CDK.AWS.Signer"
},
"python": {
"module": "aws_cdk.aws_signer"
}
}
}

41
cdk/node_modules/aws-cdk-lib/aws-signer/README.md generated vendored Normal file
View File

@@ -0,0 +1,41 @@
# AWS::Signer Construct Library
AWS Signer is a fully managed code-signing service to ensure the trust and integrity of your code. Organizations validate code against
a digital signature to confirm that the code is unaltered and from a trusted publisher. For more information, see [What Is AWS
Signer?](https://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html)
## Table of Contents
- [Signing Platform](#signing-platform)
- [Signing Profile](#signing-profile)
## Signing Platform
A signing platform is a predefined set of instructions that specifies the signature format and signing algorithms that AWS Signer should use
to sign a zip file. For more information go to [Signing Platforms in AWS Signer](https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html).
AWS Signer provides a pre-defined set of signing platforms. They are available in the CDK as -
```text
Platform.AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA
Platform.AWS_LAMBDA_SHA384_ECDSA
Platform.AMAZON_FREE_RTOS_TI_CC3220SF
Platform.AMAZON_FREE_RTOS_DEFAULT
```
## Signing Profile
A signing profile is a code-signing template that can be used to pre-define the signature specifications for a signing job.
A signing profile includes a signing platform to designate the file type to be signed, the signature format, and the signature algorithms.
For more information, visit [Signing Profiles in AWS Signer](https://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html).
The following code sets up a signing profile for signing lambda code bundles -
```ts
const signingProfile = new signer.SigningProfile(this, 'SigningProfile', {
platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,
});
```
A signing profile is valid by default for 135 months. This can be modified by specifying the `signatureValidityPeriod` property.

1
cdk/node_modules/aws-cdk-lib/aws-signer/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1 @@
export * from './lib';

1
cdk/node_modules/aws-cdk-lib/aws-signer/index.js generated vendored Normal file
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.CfnProfilePermission=void 0,Object.defineProperty(exports,_noFold="CfnProfilePermission",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").CfnProfilePermission;return Object.defineProperty(exports,_noFold="CfnProfilePermission",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnSigningProfile=void 0,Object.defineProperty(exports,_noFold="CfnSigningProfile",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").CfnSigningProfile;return Object.defineProperty(exports,_noFold="CfnSigningProfile",{enumerable:!0,configurable:!0,value}),value}}),exports.Platform=void 0,Object.defineProperty(exports,_noFold="Platform",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").Platform;return Object.defineProperty(exports,_noFold="Platform",{enumerable:!0,configurable:!0,value}),value}}),exports.SigningProfile=void 0,Object.defineProperty(exports,_noFold="SigningProfile",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").SigningProfile;return Object.defineProperty(exports,_noFold="SigningProfile",{enumerable:!0,configurable:!0,value}),value}});

View File

@@ -0,0 +1,2 @@
export * from './signer.generated';
export * from './signing-profile';

1
cdk/node_modules/aws-cdk-lib/aws-signer/lib/index.js generated vendored Normal file
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.CfnProfilePermission=void 0,Object.defineProperty(exports,_noFold="CfnProfilePermission",{enumerable:!0,configurable:!0,get:()=>{var value=require("./signer.generated").CfnProfilePermission;return Object.defineProperty(exports,_noFold="CfnProfilePermission",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnSigningProfile=void 0,Object.defineProperty(exports,_noFold="CfnSigningProfile",{enumerable:!0,configurable:!0,get:()=>{var value=require("./signer.generated").CfnSigningProfile;return Object.defineProperty(exports,_noFold="CfnSigningProfile",{enumerable:!0,configurable:!0,value}),value}}),exports.Platform=void 0,Object.defineProperty(exports,_noFold="Platform",{enumerable:!0,configurable:!0,get:()=>{var value=require("./signing-profile").Platform;return Object.defineProperty(exports,_noFold="Platform",{enumerable:!0,configurable:!0,value}),value}}),exports.SigningProfile=void 0,Object.defineProperty(exports,_noFold="SigningProfile",{enumerable:!0,configurable:!0,get:()=>{var value=require("./signing-profile").SigningProfile;return Object.defineProperty(exports,_noFold="SigningProfile",{enumerable:!0,configurable:!0,value}),value}});

View File

@@ -0,0 +1,334 @@
import * as cdk from "../../core/lib";
import * as constructs from "constructs";
import * as cfn_parse from "../../core/lib/helpers-internal";
import { IProfilePermissionRef, ISigningProfileRef, ProfilePermissionReference, SigningProfileReference } from "../../interfaces/generated/aws-signer-interfaces.generated";
/**
* Adds cross-account permissions to a signing profile.
*
* @cloudformationResource AWS::Signer::ProfilePermission
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html
*/
export declare class CfnProfilePermission extends cdk.CfnResource implements cdk.IInspectable, IProfilePermissionRef {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnProfilePermission from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnProfilePermission;
/**
* Checks whether the given object is a CfnProfilePermission
*/
static isCfnProfilePermission(x: any): x is CfnProfilePermission;
/**
* The AWS Signer action permitted as part of cross-account permissions.
*/
private _action;
/**
* The AWS principal receiving cross-account permissions.
*/
private _principal;
/**
* The human-readable name of the signing profile.
*/
private _profileName;
/**
* The version of the signing profile.
*/
private _profileVersion?;
/**
* A unique identifier for the cross-account permission statement.
*/
private _statementId;
protected readonly cfnPropertyNames: Record<string, string>;
/**
* Create a new `AWS::Signer::ProfilePermission`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnProfilePermissionProps);
get profilePermissionRef(): ProfilePermissionReference;
/**
* The AWS Signer action permitted as part of cross-account permissions.
*/
get action(): string;
/**
* The AWS Signer action permitted as part of cross-account permissions.
*/
set action(value: string);
/**
* The AWS principal receiving cross-account permissions.
*/
get principal(): string;
/**
* The AWS principal receiving cross-account permissions.
*/
set principal(value: string);
/**
* The human-readable name of the signing profile.
*/
get profileName(): string;
/**
* The human-readable name of the signing profile.
*/
set profileName(value: string);
/**
* The version of the signing profile.
*/
get profileVersion(): string | undefined;
/**
* The version of the signing profile.
*/
set profileVersion(value: string | undefined);
/**
* A unique identifier for the cross-account permission statement.
*/
get statementId(): string;
/**
* A unique identifier for the cross-account permission statement.
*/
set statementId(value: string);
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
/**
* Properties for defining a `CfnProfilePermission`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html
*/
export interface CfnProfilePermissionProps {
/**
* The AWS Signer action permitted as part of cross-account permissions.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-action
*/
readonly action: string;
/**
* The AWS principal receiving cross-account permissions.
*
* This may be an IAM role or another AWS account ID.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-principal
*/
readonly principal: string;
/**
* The human-readable name of the signing profile.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profilename
*/
readonly profileName: string;
/**
* The version of the signing profile.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profileversion
*/
readonly profileVersion?: string;
/**
* A unique identifier for the cross-account permission statement.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-statementid
*/
readonly statementId: string;
}
/**
* Creates a signing profile.
*
* A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
*
* @cloudformationResource AWS::Signer::SigningProfile
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html
*/
export declare class CfnSigningProfile extends cdk.CfnResource implements cdk.IInspectable, ISigningProfileRef, cdk.ITaggable {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnSigningProfile from CloudFormation properties
*
* A factory method that creates a new instance of this class from an object
* containing the CloudFormation properties of this resource.
* Used in the @aws-cdk/cloudformation-include module.
*
* @internal
*/
static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnSigningProfile;
/**
* Checks whether the given object is a CfnSigningProfile
*/
static isCfnSigningProfile(x: any): x is CfnSigningProfile;
static arnForSigningProfile(resource: ISigningProfileRef): string;
/**
* The ID of a platform that is available for use by a signing profile.
*/
private _platformId;
/**
* The name of the signing profile.
*/
private _profileName?;
/**
* The validity period override for any signature generated using this signing profile.
*/
private _signatureValidityPeriod?;
/**
* Tag Manager which manages the tags for this resource
*/
readonly tags: cdk.TagManager;
/**
* A list of tags associated with the signing profile.
*/
private _tagsRaw?;
protected readonly cfnPropertyNames: Record<string, string>;
/**
* Create a new `AWS::Signer::SigningProfile`.
*
* @param scope Scope in which this resource is defined
* @param id Construct identifier for this resource (unique in its scope)
* @param props Resource properties
*/
constructor(scope: constructs.Construct, id: string, props: CfnSigningProfileProps);
get signingProfileRef(): SigningProfileReference;
/**
* The ID of a platform that is available for use by a signing profile.
*/
get platformId(): string;
/**
* The ID of a platform that is available for use by a signing profile.
*/
set platformId(value: string);
/**
* The name of the signing profile.
*/
get profileName(): string | undefined;
/**
* The name of the signing profile.
*/
set profileName(value: string | undefined);
/**
* The validity period override for any signature generated using this signing profile.
*/
get signatureValidityPeriod(): cdk.IResolvable | CfnSigningProfile.SignatureValidityPeriodProperty | undefined;
/**
* The validity period override for any signature generated using this signing profile.
*/
set signatureValidityPeriod(value: cdk.IResolvable | CfnSigningProfile.SignatureValidityPeriodProperty | undefined);
/**
* A list of tags associated with the signing profile.
*/
get tagsRaw(): Array<cdk.CfnTag> | undefined;
/**
* A list of tags associated with the signing profile.
*/
set tagsRaw(value: Array<cdk.CfnTag> | undefined);
/**
* The Amazon Resource Name (ARN) of the signing profile created.
*
* @cloudformationAttribute Arn
*/
get attrArn(): string;
/**
* The name of the signing profile created.
*
* @cloudformationAttribute ProfileName
*/
get attrProfileName(): string;
/**
* The version of the signing profile created.
*
* @cloudformationAttribute ProfileVersion
*/
get attrProfileVersion(): string;
/**
* The signing profile ARN, including the profile version.
*
* @cloudformationAttribute ProfileVersionArn
*/
get attrProfileVersionArn(): string;
protected get cfnProperties(): Record<string, any>;
/**
* Examines the CloudFormation resource and discloses attributes
*
* @param inspector tree inspector to collect and process attributes
*/
inspect(inspector: cdk.TreeInspector): void;
protected renderProperties(props: Record<string, any>): Record<string, any>;
}
export declare namespace CfnSigningProfile {
/**
* The validity period for the signing job.
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html
*/
interface SignatureValidityPeriodProperty {
/**
* The time unit for signature validity: DAYS | MONTHS | YEARS.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html#cfn-signer-signingprofile-signaturevalidityperiod-type
*/
readonly type?: string;
/**
* The numerical value of the time unit for signature validity.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html#cfn-signer-signingprofile-signaturevalidityperiod-value
*/
readonly value?: number;
}
}
/**
* Properties for defining a `CfnSigningProfile`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html
*/
export interface CfnSigningProfileProps {
/**
* The ID of a platform that is available for use by a signing profile.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-platformid
*/
readonly platformId: string;
/**
* The name of the signing profile.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-profilename
*/
readonly profileName?: string;
/**
* The validity period override for any signature generated using this signing profile.
*
* If unspecified, the default is 135 months.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-signaturevalidityperiod
*/
readonly signatureValidityPeriod?: cdk.IResolvable | CfnSigningProfile.SignatureValidityPeriodProperty;
/**
* A list of tags associated with the signing profile.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-tags
*/
readonly tags?: Array<cdk.CfnTag>;
}
export type { IProfilePermissionRef, ProfilePermissionReference };
export type { ISigningProfileRef, SigningProfileReference };

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,132 @@
import type { Construct } from 'constructs';
import type { SigningProfileReference } from './signer.generated';
import type { Duration, IResource } from '../../core';
import { Resource } from '../../core';
import type { aws_signer } from '../../interfaces';
/**
* Platforms that are allowed with signing config.
* @see https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html
*/
export declare class Platform {
readonly platformId: string;
/**
* Specification of signature format and signing algorithms for AWS IoT Device.
*/
static readonly AWS_IOT_DEVICE_MANAGEMENT_SHA256_ECDSA: Platform;
/**
* Specification of signature format and signing algorithms for AWS Lambda.
*/
static readonly AWS_LAMBDA_SHA384_ECDSA: Platform;
/**
* Specification of signature format and signing algorithms with
* SHA1 hash and RSA encryption for Amazon FreeRTOS.
*/
static readonly AMAZON_FREE_RTOS_TI_CC3220SF: Platform;
/**
* Specification of signature format and signing algorithms with
* SHA256 hash and ECDSA encryption for Amazon FreeRTOS.
*/
static readonly AMAZON_FREE_RTOS_DEFAULT: Platform;
/**
* Specification of signature format and signing algorithms with
* SHA256 hash and ECDSA encryption for container registries with notation.
*/
static readonly NOTATION_OCI_SHA384_ECDSA: Platform;
/**
* Custom signing profile platform.
*
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-platformid
*
* @param platformId - The id of signing platform.
*/
static of(platformId: string): Platform;
/**
*
* @param platformId - The id of signing platform.
*/
private constructor();
}
/**
* A Signer Profile
*/
export interface ISigningProfile extends IResource, aws_signer.ISigningProfileRef {
/**
* The ARN of the signing profile.
* @attribute
*/
readonly signingProfileArn: string;
/**
* The name of signing profile.
* @attribute ProfileName
*/
readonly signingProfileName: string;
/**
* The version of signing profile.
* @attribute ProfileVersion
*/
readonly signingProfileVersion: string;
/**
* The ARN of signing profile version.
* @attribute ProfileVersionArn
*/
readonly signingProfileVersionArn: string;
}
/**
* Construction properties for a Signing Profile object
*/
export interface SigningProfileProps {
/**
* The Signing Platform available for signing profile.
* @see https://docs.aws.amazon.com/signer/latest/developerguide/gs-platform.html
*/
readonly platform: Platform;
/**
* The validity period for signatures generated using
* this signing profile.
*
* @default - 135 months
*/
readonly signatureValidity?: Duration;
/**
* Physical name of this Signing Profile.
*
* @default - Assigned by CloudFormation (recommended).
*/
readonly signingProfileName?: string;
}
/**
* A reference to a Signing Profile
*/
export interface SigningProfileAttributes {
/**
* The name of signing profile.
*/
readonly signingProfileName: string;
/**
* The version of signing profile.
*/
readonly signingProfileVersion: string;
}
/**
* Defines a Signing Profile.
*
* @resource AWS::Signer::SigningProfile
*/
export declare class SigningProfile extends Resource implements ISigningProfile {
/** Uniquely identifies this class. */
static readonly PROPERTY_INJECTION_ID: string;
/**
* Creates a Signing Profile construct that represents an external Signing Profile.
*
* @param scope The parent creating construct (usually `this`).
* @param id The construct's name.
* @param attrs A `SigningProfileAttributes` object.
*/
static fromSigningProfileAttributes(scope: Construct, id: string, attrs: SigningProfileAttributes): ISigningProfile;
readonly signingProfileArn: string;
readonly signingProfileName: string;
readonly signingProfileVersion: string;
readonly signingProfileVersionArn: string;
get signingProfileRef(): SigningProfileReference;
constructor(scope: Construct, id: string, props: SigningProfileProps);
}

File diff suppressed because one or more lines are too long