@candidpartners/snitch-types
Advanced tools
Comparing version 2.9.11 to 2.9.12
@@ -7,2 +7,6 @@ # Changelog | ||
## [2.9.12] - 2021-06-18 | ||
### Added: | ||
- ECSService: AWS Elastic Container Service (ECS). | ||
## [2.9.11] - 2021-06-15 | ||
@@ -9,0 +13,0 @@ ### Added: |
@@ -46,2 +46,7 @@ "use strict"; | ||
IAWSResourceType["AWS::EC2::VPNGateway"] = "AWS::EC2::VPNGateway"; | ||
IAWSResourceType["AWS::ECS::Cluster"] = "AWS::ECS::Cluster"; | ||
IAWSResourceType["AWS::ECS::ContainerInstance"] = "AWS::ECS::ContainerInstance"; | ||
IAWSResourceType["AWS::ECS::Service"] = "AWS::ECS::Service"; | ||
IAWSResourceType["AWS::ECS::Task"] = "AWS::ECS::Task"; | ||
IAWSResourceType["AWS::ECS::TaskDefinition"] = "AWS::ECS::TaskDefinition"; | ||
IAWSResourceType["AWS::EFS::FileSystem"] = "AWS::EFS::FileSystem"; | ||
@@ -48,0 +53,0 @@ IAWSResourceType["AWS::ES::Domain"] = "AWS::ES::Domain"; |
@@ -43,2 +43,7 @@ /** | ||
IAWSResourceType["AWS::EC2::VPNGateway"] = "AWS::EC2::VPNGateway"; | ||
IAWSResourceType["AWS::ECS::Cluster"] = "AWS::ECS::Cluster"; | ||
IAWSResourceType["AWS::ECS::ContainerInstance"] = "AWS::ECS::ContainerInstance"; | ||
IAWSResourceType["AWS::ECS::Service"] = "AWS::ECS::Service"; | ||
IAWSResourceType["AWS::ECS::Task"] = "AWS::ECS::Task"; | ||
IAWSResourceType["AWS::ECS::TaskDefinition"] = "AWS::ECS::TaskDefinition"; | ||
IAWSResourceType["AWS::EFS::FileSystem"] = "AWS::EFS::FileSystem"; | ||
@@ -45,0 +50,0 @@ IAWSResourceType["AWS::ES::Domain"] = "AWS::ES::Domain"; |
@@ -1,2 +0,2 @@ | ||
import { ICloudFormationService, ICloudfrontService, ICloudTrailService, ICloudWatchService, IConfigServices, IDynamoDBService, IEC2Service, IELBService, IIAMService, IKMSService, ILambdaService, IRDSService, IRoute53Service, IS3Service, ISNSService } from "./aws"; | ||
import { ICloudFormationService, ICloudfrontService, ICloudTrailService, ICloudWatchService, IConfigServices, IDynamoDBService, IEC2Service, IECSService, IELBService, IIAMService, IKMSService, ILambdaService, IRDSService, IRoute53Service, IS3Service, ISNSService } from "./aws"; | ||
export interface IAwsProvider { | ||
@@ -10,2 +10,3 @@ cloudformation: ICloudFormationService; | ||
ec2: IEC2Service; | ||
ecs: IECSService; | ||
elb: IELBService; | ||
@@ -12,0 +13,0 @@ iam: IIAMService; |
@@ -1,2 +0,2 @@ | ||
import { CloudFormation, CloudFront, CloudTrail, CloudWatchLogs, ConfigService, DynamoDB, EC2, ELBv2, IAM, KMS, Lambda, RDS, Route53, S3, SNS } from "aws-sdk"; | ||
import { CloudFormation, CloudFront, CloudTrail, CloudWatchLogs, ConfigService, DynamoDB, EC2, ECS, ELBv2, IAM, KMS, Lambda, RDS, Route53, S3, SNS } from "aws-sdk"; | ||
import { IResourceResult } from "../../resource-result"; | ||
@@ -55,2 +55,11 @@ export interface ICloudFormationService { | ||
} | ||
export interface IECSService { | ||
getAttributes: () => Promise<ECS.Attribute[]>; | ||
getAccountSettings: () => Promise<ECS.Settings[]>; | ||
getClusters: () => Promise<ECS.Cluster[]>; | ||
getContainerInstances: () => Promise<ECS.ContainerInstance[]>; | ||
getServices: () => Promise<ECS.Service[]>; | ||
getTasks: () => Promise<ECS.Task[]>; | ||
getTaskDefinitions: () => Promise<ECS.TaskDefinition[]>; | ||
} | ||
export interface IELBService { | ||
@@ -57,0 +66,0 @@ getLoadBalancers: () => Promise<ELBv2.LoadBalancer[]>; |
@@ -41,2 +41,7 @@ /** | ||
"AWS::EC2::VPNGateway" = "AWS::EC2::VPNGateway", | ||
"AWS::ECS::Cluster" = "AWS::ECS::Cluster", | ||
"AWS::ECS::ContainerInstance" = "AWS::ECS::ContainerInstance", | ||
"AWS::ECS::Service" = "AWS::ECS::Service", | ||
"AWS::ECS::Task" = "AWS::ECS::Task", | ||
"AWS::ECS::TaskDefinition" = "AWS::ECS::TaskDefinition", | ||
"AWS::EFS::FileSystem" = "AWS::EFS::FileSystem", | ||
@@ -43,0 +48,0 @@ "AWS::ES::Domain" = "AWS::ES::Domain", |
@@ -23,3 +23,3 @@ { | ||
"types": "./lib/types/index.d.ts", | ||
"version": "2.9.11", | ||
"version": "2.9.12", | ||
"scripts": { | ||
@@ -26,0 +26,0 @@ "prebuild": "rm -rf ./lib", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
134734
2414