Skip to content

Commit

Permalink
chore(config): AWS Config add new resource types (aws#22408)
Browse files Browse the repository at this point in the history
- 15 additions in the following updates [link](https://aws.amazon.com/about-aws/whats-new/2022/10/aws-config-15-new-resource-types/)
1. AWS::DataSync::LocationSMB
2. AWS::DataSync::LocationFSxLustre
3. AWS::DataSync::LocationS3
4. AWS::DataSync::LocationEFS
5. AWS::DataSync::Task
6. AWS::DataSync::LocationNFS
7. AWS::GuardDuty::ThreatIntelSet
8. AWS::GuardDuty::IPSet
9. AWS::SageMaker::Workteam
10. AWS::SES::ContactList
11. AWS::AppSync::GraphQLApi
12. AWS::ServiceDiscovery::Service
13. AWS::ServiceDiscovery::PublicDnsNamespace
14. AWS::AppConfig::Application
15. AWS::EC2::NetworkInsightsAccessScopeAnalysis

- The following leaks I noticed while doing this update
    - AWS::SES::ConfigurationSet

----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Unconventional Dependencies:

* [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
watany-dev authored Oct 7, 2022
1 parent cbe7ff3 commit d621fe5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/@aws-cdk/aws-config/lib/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,8 @@ export class ResourceType {
public static readonly EC2_REGISTERED_HA_INSTANCE = new ResourceType('AWS::EC2::RegisteredHAInstance');
/** EC2 launch template */
public static readonly EC2_LAUNCH_TEMPLATE = new ResourceType('AWS::EC2::LaunchTemplate');
/** EC2 Network Insights Access Scope Analysis */
public static readonly EC2_NETWORK_INSIGHTS_ACCESS_SCOPE_ANALYSIS = new ResourceType('AWS::EC2::NetworkInsightsAccessScopeAnalysis');
/** Amazon ECR repository */
public static readonly ECR_REPOSITORY = new ResourceType('AWS::ECR::Repository');
/** Amazon ECR public repository */
Expand All @@ -1364,6 +1366,10 @@ export class ResourceType {
public static readonly EMR_SECURITY_CONFIGURATION = new ResourceType('AWS::EMR::SecurityConfiguration');
/** Amazon GuardDuty detector */
public static readonly GUARDDUTY_DETECTOR = new ResourceType('AWS::GuardDuty::Detector');
/** Amazon GuardDuty Threat Intel Set */
public static readonly GUARDDUTY_THREAT_INTEL_SET = new ResourceType('AWS::GuardDuty::ThreatIntelSet');
/** Amazon GuardDuty IP Set */
public static readonly GUARDDUTY_IP_SET = new ResourceType(' AWS::GuardDuty::IPSet');
/** Amazon ElasticSearch domain */
public static readonly ELASTICSEARCH_DOMAIN = new ResourceType('AWS::Elasticsearch::Domain');
/** Amazon OpenSearch domain */
Expand Down Expand Up @@ -1420,6 +1426,12 @@ export class ResourceType {
public static readonly SAGEMAKER_MODEL = new ResourceType('AWS::SageMaker::Model');
/** Amazon SageMaker notebook instance */
public static readonly SAGEMAKER_NOTEBOOK_INSTANCE = new ResourceType('AWS::SageMaker::NotebookInstance');
/** Amazon SageMaker workteam */
public static readonly SAGEMAKER_WORKTEAM = new ResourceType('AWS::SageMaker::Workteam');
/** Amazon SES Configuration Set */
public static readonly SES_CONFIGURATION_SET = new ResourceType('AWS::SES::ConfigurationSet');
/** Amazon SES Contact List */
public static readonly SES_CONTACT_LIST = new ResourceType('AWS::SES::ContactList');
/** Amazon S3 account public access block */
public static readonly S3_ACCOUNT_PUBLIC_ACCESS_BLOCK = new ResourceType('AWS::S3::AccountPublicAccessBlock');
/** Amazon EC2 customer gateway */
Expand Down Expand Up @@ -1450,6 +1462,10 @@ export class ResourceType {
public static readonly WORKSPACES_CONNECTION_ALIAS = new ResourceType('AWS::WorkSpaces::ConnectionAlias');
/** Amazon WorkSpaces workSpace */
public static readonly WORKSPACES_WORKSPACE = new ResourceType('AWS::WorkSpaces::Workspace');
/** AWS AppConfig application */
public static readonly APPCONFIG_APPLICATION = new ResourceType('AWS::AppConfig::Application');
/** AWS AppSync GraphQL Api */
public static readonly APPSYNC_GRAPHQL_API = new ResourceType('AWS::AppSync::GraphQLApi');
/** AWS Backup backup plan */
public static readonly BACKUP_BACKUP_PLAN = new ResourceType('AWS::Backup::BackupPlan');
/** AWS Backup backup selection */
Expand All @@ -1468,6 +1484,10 @@ export class ResourceType {
public static readonly CLOUDFORMATION_STACK = new ResourceType('AWS::CloudFormation::Stack');
/** AWS CloudTrail trail */
public static readonly CLOUDTRAIL_TRAIL = new ResourceType('AWS::CloudTrail::Trail');
/** AWS Cloud Map(ServiceDiscovery) service */
public static readonly SERVICEDISCOVERY_SERVICE = new ResourceType('AWS::ServiceDiscovery::Service');
/** AWS Cloud Map(ServiceDiscovery) Public Dns Namespace */
public static readonly SERVICEDISCOVERY_PUBLIC_DNS_NAMESPACE = new ResourceType('AWS::ServiceDiscovery::PublicDnsNamespace');
/** AWS CodeBuild project */
public static readonly CODEBUILD_PROJECT = new ResourceType('AWS::CodeBuild::Project');
/** AWS CodeDeploy application */
Expand All @@ -1486,6 +1506,18 @@ export class ResourceType {
public static readonly DMS_EVENT_SUBSCRIPTION = new ResourceType('AWS::DMS::EventSubscription');
/** AWS DMS replication subnet group */
public static readonly DMS_REPLICATION_SUBNET_GROUP = new ResourceType('AWS::DMS::ReplicationSubnetGroup');
/** AWS DataSync location SMB */
public static readonly DATASYNC_LOCATION_SMB = new ResourceType('AWS::DataSync::LocationSMB');
/** AWS DataSync location FSx Lustre */
public static readonly DATASYNC_LOCATION_FSX_LUSTRE = new ResourceType('AWS::DataSync::LocationFSxLustre');
/** AWS DataSync location S3 */
public static readonly DATASYNC_LOCATION_S3 = new ResourceType('AWS::DataSync::LocationS3');
/** AWS DataSync location EFS */
public static readonly DATASYNC_LOCATION_EFS = new ResourceType('AWS::DataSync::LocationEFS');
/** AWS DataSync task */
public static readonly DATASYNC_TASK = new ResourceType('AWS::DataSync::Task');
/** AWS DataSync location NFS */
public static readonly DATASYNC_LOCATION_NFS = new ResourceType('AWS::DataSync::LocationNFS');
/** AWS Elastic Beanstalk (EB) application */
public static readonly ELASTIC_BEANSTALK_APPLICATION = new ResourceType('AWS::ElasticBeanstalk::Application');
/** AWS Elastic Beanstalk (EB) application version */
Expand Down

0 comments on commit d621fe5

Please sign in to comment.