agent-claw: automated task changes
This commit is contained in:
74
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/app-mesh-proxy-configuration.d.ts
generated
vendored
Normal file
74
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/app-mesh-proxy-configuration.d.ts
generated
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import { ProxyConfiguration } from './proxy-configuration';
|
||||
import type { TaskDefinition } from '../base/task-definition';
|
||||
import type { CfnTaskDefinition } from '../ecs.generated';
|
||||
/**
|
||||
* Interface for setting the properties of proxy configuration.
|
||||
*/
|
||||
export interface AppMeshProxyConfigurationProps {
|
||||
/**
|
||||
* The user ID (UID) of the proxy container as defined by the user parameter in a container definition.
|
||||
* This is used to ensure the proxy ignores its own traffic. If IgnoredGID is specified, this field can be empty.
|
||||
*/
|
||||
readonly ignoredUID?: number;
|
||||
/**
|
||||
* The group ID (GID) of the proxy container as defined by the user parameter in a container definition.
|
||||
* This is used to ensure the proxy ignores its own traffic. If IgnoredUID is specified, this field can be empty.
|
||||
*/
|
||||
readonly ignoredGID?: number;
|
||||
/**
|
||||
* The list of ports that the application uses.
|
||||
* Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort.
|
||||
*/
|
||||
readonly appPorts: number[];
|
||||
/**
|
||||
* Specifies the port that incoming traffic to the AppPorts is directed to.
|
||||
*/
|
||||
readonly proxyIngressPort: number;
|
||||
/**
|
||||
* Specifies the port that outgoing traffic from the AppPorts is directed to.
|
||||
*/
|
||||
readonly proxyEgressPort: number;
|
||||
/**
|
||||
* The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort. It can be an empty list.
|
||||
*/
|
||||
readonly egressIgnoredPorts?: number[];
|
||||
/**
|
||||
* The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort. It can be an empty list.
|
||||
*/
|
||||
readonly egressIgnoredIPs?: string[];
|
||||
}
|
||||
/**
|
||||
* The configuration to use when setting an App Mesh proxy configuration.
|
||||
*/
|
||||
export interface AppMeshProxyConfigurationConfigProps {
|
||||
/**
|
||||
* The name of the container that will serve as the App Mesh proxy.
|
||||
*/
|
||||
readonly containerName: string;
|
||||
/**
|
||||
* The set of network configuration parameters to provide the Container Network Interface (CNI) plugin.
|
||||
*/
|
||||
readonly properties: AppMeshProxyConfigurationProps;
|
||||
}
|
||||
/**
|
||||
* The class for App Mesh proxy configurations.
|
||||
*
|
||||
* For tasks using the EC2 launch type, the container instances require at least version 1.26.0 of the container agent and at least version
|
||||
* 1.26.0-1 of the ecs-init package to enable a proxy configuration. If your container instances are launched from the Amazon ECS-optimized
|
||||
* AMI version 20190301 or later, then they contain the required versions of the container agent and ecs-init.
|
||||
* For more information, see [Amazon ECS-optimized AMIs](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html).
|
||||
*
|
||||
* For tasks using the Fargate launch type, the task or service requires platform version 1.3.0 or later.
|
||||
*/
|
||||
export declare class AppMeshProxyConfiguration extends ProxyConfiguration {
|
||||
private readonly props;
|
||||
/**
|
||||
* Constructs a new instance of the AppMeshProxyConfiguration class.
|
||||
*/
|
||||
constructor(props: AppMeshProxyConfigurationConfigProps);
|
||||
/**
|
||||
* Called when the proxy configuration is configured on a task definition.
|
||||
*/
|
||||
bind(_scope: Construct, _taskDefinition: TaskDefinition): CfnTaskDefinition.ProxyConfigurationProperty;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/app-mesh-proxy-configuration.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/app-mesh-proxy-configuration.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AppMeshProxyConfiguration=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var proxy_configuration_1=()=>{var tmp=require("./proxy-configuration");return proxy_configuration_1=()=>tmp,tmp},core_1=()=>{var tmp=require("../../../core");return core_1=()=>tmp,tmp},literal_string_1=()=>{var tmp=require("../../../core/lib/private/literal-string");return literal_string_1=()=>tmp,tmp};class AppMeshProxyConfiguration extends proxy_configuration_1().ProxyConfiguration{props;static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ecs.AppMeshProxyConfiguration",version:"2.252.0"};constructor(props){super(),this.props=props;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_AppMeshProxyConfigurationConfigProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,AppMeshProxyConfiguration),error}if(props.properties&&!props.properties.ignoredUID&&!props.properties.ignoredGID)throw new(core_1()).UnscopedValidationError((0,literal_string_1().lit)`IgnoredUidOrGidRequired`,"At least one of ignoredUID or ignoredGID should be specified.")}bind(_scope,_taskDefinition){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_TaskDefinition(_taskDefinition)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}const configProps=this.props.properties;return{containerName:this.props.containerName,proxyConfigurationProperties:renderProperties(configProps),type:"APPMESH"}}}exports.AppMeshProxyConfiguration=AppMeshProxyConfiguration;function renderProperties(props){const ret=new Array;for(const[k,v]of Object.entries(props)){const key=String(k),value=String(v);if(value!=="undefined"&&value!==""){const capitalizedKey=key.charAt(0).toUpperCase()+key.slice(1);ret.push({name:capitalizedKey,value})}}return ret}
|
||||
12
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configuration.d.ts
generated
vendored
Normal file
12
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configuration.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type { TaskDefinition } from '../base/task-definition';
|
||||
import type { CfnTaskDefinition } from '../ecs.generated';
|
||||
/**
|
||||
* The base class for proxy configurations.
|
||||
*/
|
||||
export declare abstract class ProxyConfiguration {
|
||||
/**
|
||||
* Called when the proxy configuration is configured on a task definition.
|
||||
*/
|
||||
abstract bind(_scope: Construct, _taskDefinition: TaskDefinition): CfnTaskDefinition.ProxyConfigurationProperty;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configuration.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configuration.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ProxyConfiguration=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class ProxyConfiguration{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ecs.ProxyConfiguration",version:"2.252.0"}}exports.ProxyConfiguration=ProxyConfiguration;
|
||||
11
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configurations.d.ts
generated
vendored
Normal file
11
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configurations.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { AppMeshProxyConfigurationConfigProps } from './app-mesh-proxy-configuration';
|
||||
import type { ProxyConfiguration } from './proxy-configuration';
|
||||
/**
|
||||
* The base class for proxy configurations.
|
||||
*/
|
||||
export declare class ProxyConfigurations {
|
||||
/**
|
||||
* Constructs a new instance of the ProxyConfiguration class.
|
||||
*/
|
||||
static appMeshProxyConfiguration(props: AppMeshProxyConfigurationConfigProps): ProxyConfiguration;
|
||||
}
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configurations.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/proxy-configuration/proxy-configurations.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ProxyConfigurations=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var app_mesh_proxy_configuration_1=()=>{var tmp=require("./app-mesh-proxy-configuration");return app_mesh_proxy_configuration_1=()=>tmp,tmp};class ProxyConfigurations{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_ecs.ProxyConfigurations",version:"2.252.0"};static appMeshProxyConfiguration(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ecs_AppMeshProxyConfigurationConfigProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.appMeshProxyConfiguration),error}return new(app_mesh_proxy_configuration_1()).AppMeshProxyConfiguration(props)}}exports.ProxyConfigurations=ProxyConfigurations;
|
||||
Reference in New Issue
Block a user