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,13 @@
{
"targets": {
"java": {
"package": "software.amazon.awscdk.services.controltower"
},
"dotnet": {
"namespace": "Amazon.CDK.AWS.ControlTower"
},
"python": {
"module": "aws_cdk.aws_controltower"
}
}
}

View File

@@ -0,0 +1,27 @@
# AWS::ControlTower Construct Library
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
```ts nofixture
import * as controltower from 'aws-cdk-lib/aws-controltower';
```
<!--BEGIN CFNONLY DISCLAIMER-->
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
- Search [Construct Hub for ControlTower construct libraries](https://constructs.dev/search?q=controltower)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::ControlTower resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ControlTower.html) directly.
<!--BEGIN CFNONLY DISCLAIMER-->
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::ControlTower](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ControlTower.html).
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
<!--END CFNONLY DISCLAIMER-->

View File

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

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.CfnEnabledControl=void 0,Object.defineProperty(exports,_noFold="CfnEnabledControl",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").CfnEnabledControl;return Object.defineProperty(exports,_noFold="CfnEnabledControl",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnEnabledBaseline=void 0,Object.defineProperty(exports,_noFold="CfnEnabledBaseline",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").CfnEnabledBaseline;return Object.defineProperty(exports,_noFold="CfnEnabledBaseline",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnLandingZone=void 0,Object.defineProperty(exports,_noFold="CfnLandingZone",{enumerable:!0,configurable:!0,get:()=>{var value=require("./lib").CfnLandingZone;return Object.defineProperty(exports,_noFold="CfnLandingZone",{enumerable:!0,configurable:!0,value}),value}});

View File

@@ -0,0 +1,493 @@
import * as cdk from "../../core/lib";
import * as constructs from "constructs";
import * as cfn_parse from "../../core/lib/helpers-internal";
import { EnabledBaselineReference, EnabledControlReference, IEnabledBaselineRef, IEnabledControlRef, ILandingZoneRef, LandingZoneReference } from "../../interfaces/generated/aws-controltower-interfaces.generated";
/**
* The resource represents an enabled control.
*
* It specifies an asynchronous operation that creates AWS resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify.
*
* @cloudformationResource AWS::ControlTower::EnabledControl
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledcontrol.html
*/
export declare class CfnEnabledControl extends cdk.CfnResource implements cdk.IInspectable, IEnabledControlRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnEnabledControl 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): CfnEnabledControl;
/**
* Checks whether the given object is a CfnEnabledControl
*/
static isCfnEnabledControl(x: any): x is CfnEnabledControl;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* The ARN of the control.
*/
private _controlIdentifier;
/**
* Array of `EnabledControlParameter` objects.
*/
private _parameters?;
/**
* A set of tags to assign to the enabled control.
*/
private _tags?;
/**
* The ARN of the organizational unit.
*/
private _targetIdentifier;
protected readonly cfnPropertyNames: Record<string, string>;
/**
* Create a new `AWS::ControlTower::EnabledControl`.
*
* @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: CfnEnabledControlProps);
get enabledControlRef(): EnabledControlReference;
/**
* The ARN of the control.
*/
get controlIdentifier(): string;
/**
* The ARN of the control.
*/
set controlIdentifier(value: string);
/**
* Array of `EnabledControlParameter` objects.
*/
get parameters(): Array<CfnEnabledControl.EnabledControlParameterProperty | cdk.IResolvable> | cdk.IResolvable | undefined;
/**
* Array of `EnabledControlParameter` objects.
*/
set parameters(value: Array<CfnEnabledControl.EnabledControlParameterProperty | cdk.IResolvable> | cdk.IResolvable | undefined);
/**
* A set of tags to assign to the enabled control.
*/
get tags(): Array<cdk.CfnTag> | undefined;
/**
* A set of tags to assign to the enabled control.
*/
set tags(value: Array<cdk.CfnTag> | undefined);
/**
* The ARN of the organizational unit.
*/
get targetIdentifier(): string;
/**
* The ARN of the organizational unit.
*/
set targetIdentifier(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>;
}
export declare namespace CfnEnabledControl {
/**
* A set of parameters that configure the behavior of the enabled control.
*
* Expressed as a key/value pair, where `Key` is of type `String` and `Value` is of type `Document` .
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledcontrol-enabledcontrolparameter.html
*/
interface EnabledControlParameterProperty {
/**
* The key of a key/value pair.
*
* It is of type `string` .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledcontrol-enabledcontrolparameter.html#cfn-controltower-enabledcontrol-enabledcontrolparameter-key
*/
readonly key: string;
/**
* The value of a key/value pair.
*
* It can be of type `array` , `string` , `number` , `object` , or `boolean` . [Note: The *Type* field that follows may show a single type such as Number, which is only one possible type.]
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledcontrol-enabledcontrolparameter.html#cfn-controltower-enabledcontrol-enabledcontrolparameter-value
*/
readonly value: any | Array<any | boolean | cdk.IResolvable | number | string> | boolean | cdk.IResolvable | number | string;
}
}
/**
* Properties for defining a `CfnEnabledControl`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledcontrol.html
*/
export interface CfnEnabledControlProps {
/**
* The ARN of the control.
*
* Only *Strongly recommended* and *Elective* controls are permitted, with the exception of the *Region deny* control. For information on how to find the `controlIdentifier` , see [the overview page](https://docs.aws.amazon.com//controltower/latest/APIReference/Welcome.html) .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledcontrol.html#cfn-controltower-enabledcontrol-controlidentifier
*/
readonly controlIdentifier: string;
/**
* Array of `EnabledControlParameter` objects.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledcontrol.html#cfn-controltower-enabledcontrol-parameters
*/
readonly parameters?: Array<CfnEnabledControl.EnabledControlParameterProperty | cdk.IResolvable> | cdk.IResolvable;
/**
* A set of tags to assign to the enabled control.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledcontrol.html#cfn-controltower-enabledcontrol-tags
*/
readonly tags?: Array<cdk.CfnTag>;
/**
* The ARN of the organizational unit.
*
* For information on how to find the `targetIdentifier` , see [the overview page](https://docs.aws.amazon.com//controltower/latest/APIReference/Welcome.html) .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledcontrol.html#cfn-controltower-enabledcontrol-targetidentifier
*/
readonly targetIdentifier: string;
}
/**
* Definition of AWS::ControlTower::EnabledBaseline Resource Type.
*
* @cloudformationResource AWS::ControlTower::EnabledBaseline
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledbaseline.html
*/
export declare class CfnEnabledBaseline extends cdk.CfnResource implements cdk.IInspectable, IEnabledBaselineRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnEnabledBaseline 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): CfnEnabledBaseline;
/**
* Checks whether the given object is a CfnEnabledBaseline
*/
static isCfnEnabledBaseline(x: any): x is CfnEnabledBaseline;
/**
* The specific `Baseline` enabled as part of the `EnabledBaseline` resource.
*/
private _baselineIdentifier;
/**
* The enabled version of the `Baseline` .
*/
private _baselineVersion;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* Shows the parameters that are applied when enabling this `Baseline` .
*/
private _parameters?;
private _tags?;
/**
* The target on which to enable the `Baseline` .
*/
private _targetIdentifier;
protected readonly cfnPropertyNames: Record<string, string>;
/**
* Create a new `AWS::ControlTower::EnabledBaseline`.
*
* @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: CfnEnabledBaselineProps);
get enabledBaselineRef(): EnabledBaselineReference;
/**
* The specific `Baseline` enabled as part of the `EnabledBaseline` resource.
*/
get baselineIdentifier(): string;
/**
* The specific `Baseline` enabled as part of the `EnabledBaseline` resource.
*/
set baselineIdentifier(value: string);
/**
* The enabled version of the `Baseline` .
*/
get baselineVersion(): string;
/**
* The enabled version of the `Baseline` .
*/
set baselineVersion(value: string);
/**
* Shows the parameters that are applied when enabling this `Baseline` .
*/
get parameters(): Array<cdk.IResolvable | CfnEnabledBaseline.ParameterProperty> | cdk.IResolvable | undefined;
/**
* Shows the parameters that are applied when enabling this `Baseline` .
*/
set parameters(value: Array<cdk.IResolvable | CfnEnabledBaseline.ParameterProperty> | cdk.IResolvable | undefined);
get tags(): Array<cdk.CfnTag> | undefined;
set tags(value: Array<cdk.CfnTag> | undefined);
/**
* The target on which to enable the `Baseline` .
*/
get targetIdentifier(): string;
/**
* The target on which to enable the `Baseline` .
*/
set targetIdentifier(value: string);
/**
* @cloudformationAttribute EnabledBaselineIdentifier
*/
get attrEnabledBaselineIdentifier(): 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 CfnEnabledBaseline {
/**
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledbaseline-parameter.html
*/
interface ParameterProperty {
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledbaseline-parameter.html#cfn-controltower-enabledbaseline-parameter-key
*/
readonly key?: string;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-controltower-enabledbaseline-parameter.html#cfn-controltower-enabledbaseline-parameter-value
*/
readonly value?: any | Array<any | boolean | cdk.IResolvable | number | string> | boolean | cdk.IResolvable | number | string;
}
}
/**
* Properties for defining a `CfnEnabledBaseline`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledbaseline.html
*/
export interface CfnEnabledBaselineProps {
/**
* The specific `Baseline` enabled as part of the `EnabledBaseline` resource.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledbaseline.html#cfn-controltower-enabledbaseline-baselineidentifier
*/
readonly baselineIdentifier: string;
/**
* The enabled version of the `Baseline` .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledbaseline.html#cfn-controltower-enabledbaseline-baselineversion
*/
readonly baselineVersion: string;
/**
* Shows the parameters that are applied when enabling this `Baseline` .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledbaseline.html#cfn-controltower-enabledbaseline-parameters
*/
readonly parameters?: Array<cdk.IResolvable | CfnEnabledBaseline.ParameterProperty> | cdk.IResolvable;
/**
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledbaseline.html#cfn-controltower-enabledbaseline-tags
*/
readonly tags?: Array<cdk.CfnTag>;
/**
* The target on which to enable the `Baseline` .
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-enabledbaseline.html#cfn-controltower-enabledbaseline-targetidentifier
*/
readonly targetIdentifier: string;
}
/**
* Creates a new landing zone.
*
* This API call starts an asynchronous operation that creates and configures a landing zone, based on the parameters specified in the manifest JSON file.
*
* @cloudformationResource AWS::ControlTower::LandingZone
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-landingzone.html
*/
export declare class CfnLandingZone extends cdk.CfnResource implements cdk.IInspectable, ILandingZoneRef, cdk.ITaggableV2 {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly CFN_RESOURCE_TYPE_NAME: string;
/**
* Build a CfnLandingZone 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): CfnLandingZone;
/**
* Checks whether the given object is a CfnLandingZone
*/
static isCfnLandingZone(x: any): x is CfnLandingZone;
static arnForLandingZone(resource: ILandingZoneRef): string;
/**
* Tag Manager which manages the tags for this resource
*/
readonly cdkTagManager: cdk.TagManager;
/**
* The landing zone manifest JSON text file that specifies the landing zone configurations.
*/
private _manifest;
/**
* The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement.
*/
private _remediationTypes?;
/**
* Tags to be applied to the landing zone.
*/
private _tags?;
/**
* The landing zone's current deployed version.
*/
private _version;
protected readonly cfnPropertyNames: Record<string, string>;
/**
* Create a new `AWS::ControlTower::LandingZone`.
*
* @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: CfnLandingZoneProps);
get landingZoneRef(): LandingZoneReference;
/**
* The landing zone manifest JSON text file that specifies the landing zone configurations.
*/
get manifest(): any | cdk.IResolvable;
/**
* The landing zone manifest JSON text file that specifies the landing zone configurations.
*/
set manifest(value: any | cdk.IResolvable);
/**
* The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement.
*/
get remediationTypes(): Array<string> | undefined;
/**
* The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement.
*/
set remediationTypes(value: Array<string> | undefined);
/**
* Tags to be applied to the landing zone.
*/
get tags(): Array<cdk.CfnTag> | undefined;
/**
* Tags to be applied to the landing zone.
*/
set tags(value: Array<cdk.CfnTag> | undefined);
/**
* The landing zone's current deployed version.
*/
get version(): string;
/**
* The landing zone's current deployed version.
*/
set version(value: string);
/**
* The ARN of the landing zone.
*
* @cloudformationAttribute Arn
*/
get attrArn(): string;
/**
* The drift status of the landing zone.
*
* @cloudformationAttribute DriftStatus
*/
get attrDriftStatus(): string;
/**
* The unique identifier of the landing zone.
*
* @cloudformationAttribute LandingZoneIdentifier
*/
get attrLandingZoneIdentifier(): string;
/**
* The latest available version of the landing zone.
*
* @cloudformationAttribute LatestAvailableVersion
*/
get attrLatestAvailableVersion(): string;
/**
* The landing zone deployment status. One of `ACTIVE` , `PROCESSING` , `FAILED` .
*
* @cloudformationAttribute Status
*/
get attrStatus(): 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 `CfnLandingZone`
*
* @struct
* @stability external
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-landingzone.html
*/
export interface CfnLandingZoneProps {
/**
* The landing zone manifest JSON text file that specifies the landing zone configurations.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-landingzone.html#cfn-controltower-landingzone-manifest
*/
readonly manifest: any | cdk.IResolvable;
/**
* The types of remediation actions configured for the landing zone, such as automatic drift correction or compliance enforcement.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-landingzone.html#cfn-controltower-landingzone-remediationtypes
*/
readonly remediationTypes?: Array<string>;
/**
* Tags to be applied to the landing zone.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-landingzone.html#cfn-controltower-landingzone-tags
*/
readonly tags?: Array<cdk.CfnTag>;
/**
* The landing zone's current deployed version.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-controltower-landingzone.html#cfn-controltower-landingzone-version
*/
readonly version: string;
}
export type { IEnabledControlRef, EnabledControlReference };
export type { IEnabledBaselineRef, EnabledBaselineReference };
export type { ILandingZoneRef, LandingZoneReference };

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
export * from './controltower.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.CfnEnabledControl=void 0,Object.defineProperty(exports,_noFold="CfnEnabledControl",{enumerable:!0,configurable:!0,get:()=>{var value=require("./controltower.generated").CfnEnabledControl;return Object.defineProperty(exports,_noFold="CfnEnabledControl",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnEnabledBaseline=void 0,Object.defineProperty(exports,_noFold="CfnEnabledBaseline",{enumerable:!0,configurable:!0,get:()=>{var value=require("./controltower.generated").CfnEnabledBaseline;return Object.defineProperty(exports,_noFold="CfnEnabledBaseline",{enumerable:!0,configurable:!0,value}),value}}),exports.CfnLandingZone=void 0,Object.defineProperty(exports,_noFold="CfnLandingZone",{enumerable:!0,configurable:!0,get:()=>{var value=require("./controltower.generated").CfnLandingZone;return Object.defineProperty(exports,_noFold="CfnLandingZone",{enumerable:!0,configurable:!0,value}),value}});