diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d3a002092..d1019c7e92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +### v1.10.2 +## What's Changed +* Update getatt resolution for better regional support by @kddejong in https://github.com/aws-cloudformation/cfn-lint/pull/3597 +* Fix an issue when scanning metadata by @kddejong in https://github.com/aws-cloudformation/cfn-lint/pull/3596 +**Full Changelog**: https://github.com/aws-cloudformation/cfn-lint/compare/v1.10.1...v1.10.2 + +### v1.10.1 +## What's Changed +* Update rule [E3054](https://github.com/aws-cloudformation/cfn-python-lint/blob/main/docs/rules.md#E3054) to not alert when `NetworkMode` is set to `awsvpc` by @kddejong in https://github.com/aws-cloudformation/cfn-lint/pull/3593 + +**Full Changelog**: https://github.com/aws-cloudformation/cfn-lint/compare/v1.10.0...v1.10.1 + +### v1.10.0 +## What's Changed +* Add rule [E3052](https://github.com/aws-cloudformation/cfn-python-lint/blob/main/docs/rules.md#E3052), [E3053](https://github.com/aws-cloudformation/cfn-python-lint/blob/main/docs/rules.md#E3053), [E3054](https://github.com/aws-cloudformation/cfn-python-lint/blob/main/docs/rules.md#E3054) to validate ECS configs by @kddejong in https://github.com/aws-cloudformation/cfn-lint/pull/3546 +* Add rule to [E3057](https://github.com/aws-cloudformation/cfn-python-lint/blob/main/docs/rules.md#E3057) to validate TargetOriginId in a DefaultCacheBehavior by @kddejong in https://github.com/aws-cloudformation/cfn-lint/pull/3561 +* Update CloudFormation schemas to 2024-08-12 by @github-actions in https://github.com/aws-cloudformation/cfn-lint/pull/3581 + +**Full Changelog**: https://github.com/aws-cloudformation/cfn-lint/compare/v1.9.7...v1.10.0 + ### v1.9.7 ## What's Changed * Add Value to path in [E6101](https://github.com/aws-cloudformation/cfn-python-lint/blob/main/docs/rules.md#E6101) as we descend by @kddejong in https://github.com/aws-cloudformation/cfn-lint/pull/3582 diff --git a/README.md b/README.md index 4ad77c4716..d775b8a2c6 100644 --- a/README.md +++ b/README.md @@ -342,7 +342,7 @@ If you'd like cfn-lint to be run automatically when making changes to files in y ```yaml repos: - repo: https://github.com/aws-cloudformation/cfn-lint - rev: v1.9.7 # The version of cfn-lint to use + rev: v1.10.2 # The version of cfn-lint to use hooks: - id: cfn-lint files: path/to/cfn/dir/.*\.(json|yml|yaml)$ @@ -353,7 +353,7 @@ If you are using a `.cfnlintrc` and specifying the `templates` or `ignore_templa ```yaml repos: - repo: https://github.com/aws-cloudformation/cfn-lint - rev: v1.9.7 # The version of cfn-lint to use + rev: v1.10.2 # The version of cfn-lint to use hooks: - id: cfn-lint-rc ``` diff --git a/docs/rules.md b/docs/rules.md index 1f9d133b50..8908202862 100644 --- a/docs/rules.md +++ b/docs/rules.md @@ -46,7 +46,7 @@ To include these rules, use the `-e/include-experimental` argument when running ## Rules (_This documentation is generated by running `cfn-lint --update-documentation`, do not alter this manually_) -The following **225** rules are applied by this linter: +The following **229** rules are applied by this linter: | Rule ID | Title | Description | Config
(Name:Type:Default) | Source | Tags | | -------- | ----- | ----------- | ---------- | ------ | ---- | @@ -148,6 +148,10 @@ The following **225** rules are applied by this linter: | [E3049](../src/cfnlint/rules/resources/ecs/ServiceDynamicPorts.py) | Validate ECS tasks with dynamic host port have traffic-port ELB target groups | When using an ECS task definition of host port 0 and associating that container to an ELB the target group has to have a 'HealthCheckPort' of 'traffic-port' | | [Source]() | `resources` | | [E3050](../src/cfnlint/rules/resources/iam/RefWithPath.py) | Check if REFing to a IAM resource with path set | Some resources don't support looking up the IAM resource by name. This check validates when a REF is being used and the Path is not '/' | | [Source](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html) | `properties`,`iam` | | [E3051](../src/cfnlint/rules/resources/ssm/Document.py) | Validate the structure of a SSM document | SSM documents are nested JSON/YAML in CloudFormation this rule adds validation to those documents | | [Source](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html) | `properties`,`ssm`,`document` | +| [E3052](../src/cfnlint/rules/resources/ecs/ServiceNetworkConfiguration.py) | Validate ECS service requires NetworkConfiguration | When using an ECS task definition has NetworkMode set to 'awsvpc' then 'NetworkConfiguration' is required | | [Source]() | `resources`,`ecs` | +| [E3053](../src/cfnlint/rules/resources/ecs/TaskDefinitionAwsVpc.py) | Validate ECS task definition is has correct values for 'HostPort' | The 'HostPort' must either be undefined or equal to the 'ContainerPort' value | | [Source]() | `resources`,`ecs` | +| [E3054](../src/cfnlint/rules/resources/ecs/ServiceFargate.py) | Validate ECS service using Fargate uses TaskDefinition that allows Fargate | When using an ECS service with 'LaunchType' of 'FARGATE' the associated task definition must have 'RequiresCompatibilities' specified with 'FARGATE' listed | | [Source]() | `resources`,`ecs` | +| [E3057](../src/cfnlint/rules/resources/cloudfront/DistributionTargetOriginId.py) | Validate that CloudFront TargetOriginId is a specified Origin | CloudFront TargetOriginId has to map to an Origin Id that is in the same DistributionConfig | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-targetoriginid) | `properties`,`cloudfront` | | [E3503](../src/cfnlint/rules/resources/certificatemanager/DomainValidationOptions.py) | ValidationDomain is superdomain of DomainName | In ValidationDomainOptions, the ValidationDomain must be a superdomain of the DomainName being validated | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain) | `certificate`,`certificatemanager`,`domainvalidationoptions`,`validationdomain` | | [E3504](../src/cfnlint/rules/resources/backup/BackupPlanLifecycleRule.py) | Check minimum 90 period is met between BackupPlan cold and delete | Check that Backup plans with lifecycle rules have >= 90 days between cold and delete | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html) | `properties`,`backup`,`plan`,`lifecycle` | | [E3510](../src/cfnlint/rules/resources/iam/IdentityPolicy.py) | Validate identity based IAM polices | IAM identity polices are embedded JSON in CloudFormation. This rule validates those embedded policies. | | [Source](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) | `resources`,`iam` | @@ -260,7 +264,7 @@ The following **225** rules are applied by this linter: | [W3010](../src/cfnlint/rules/resources/properties/AvailabilityZone.py) | Availability zone properties should not be hardcoded | Check if an Availability Zone property is hardcoded. | | [Source](https://github.com/aws-cloudformation/cfn-lint) | `parameters`,`availabilityzone` | | [W3011](../src/cfnlint/rules/resources/BothUpdateReplacePolicyDeletionPolicyNeeded.py) | Check resources with UpdateReplacePolicy/DeletionPolicy have both | Both UpdateReplacePolicy and DeletionPolicy are needed to protect resources from deletion | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) | `resources`,`updatereplacepolicy`,`deletionpolicy` | | [W3034](../src/cfnlint/rules/parameters/NumberRange.py) | Check if parameter values are between min and max | Check if parameter values value being between the minimum and maximum | | [Source](https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#number-size) | `resources`,`property`,`number`,`size` | -| [W3037*](../src/cfnlint/rules/resources/iam/Permissions.py) | Check IAM Permission configuration | Check for valid IAM Permissions | | [Source](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_action.html) | `properties`,`iam`,`permissions` | +| [W3037](../src/cfnlint/rules/resources/iam/Permissions.py) | Check IAM Permission configuration | Check for valid IAM Permissions | | [Source](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_action.html) | `properties`,`iam`,`permissions` | | [W3045](../src/cfnlint/rules/resources/s3/AccessControlObsolete.py) | Controlling access to an S3 bucket should be done with bucket policies | Nearly all access control configurations can be more successfully achieved with bucket policies. Consider using bucket policies instead of access control. | | [Source](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) | `resources`,`s3` | | [W3663](../src/cfnlint/rules/resources/lmbd/PermissionSourceAccount.py) | Validate SourceAccount is required property | When configuration a Lambda permission with a SourceArn that doesn't have an AccountId you should also specify the SourceAccount | | [Source](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-sourceaccount) | `resources`,`lambda`,`permission` | | [W3687](../src/cfnlint/rules/resources/ectwo/SecurityGroupProtocolsAndPortsExclusive.py) | Validate that ports aren't specified for certain protocols | When using a protocol other than icmp, icmpv6, tcp, or udp the port ranges properties are ignored | | [Source]() | `resources` | diff --git a/src/cfnlint/context/context.py b/src/cfnlint/context/context.py index e70cb364ce..14fe3a938d 100644 --- a/src/cfnlint/context/context.py +++ b/src/cfnlint/context/context.py @@ -375,7 +375,6 @@ def __post_init__(self, resource) -> None: raise ValueError("Condition must be a string") self.condition = c - @property def get_atts(self, region: str = "us-east-1") -> AttributeDict: return PROVIDER_SCHEMA_MANAGER.get_type_getatts(self.type, region) diff --git a/src/cfnlint/data/AdditionalSpecs/Policies.json b/src/cfnlint/data/AdditionalSpecs/Policies.json index b48aacc97c..a7aa3b8561 100644 --- a/src/cfnlint/data/AdditionalSpecs/Policies.json +++ b/src/cfnlint/data/AdditionalSpecs/Policies.json @@ -14309,6 +14309,7 @@ "CreateInstanceExportTask", "CreateInternetGateway", "CreateIpam", + "CreateIpamExternalResourceVerificationToken", "CreateIpamPool", "CreateIpamResourceDiscovery", "CreateIpamScope", @@ -14387,6 +14388,7 @@ "DeleteInstanceEventWindow", "DeleteInternetGateway", "DeleteIpam", + "DeleteIpamExternalResourceVerificationToken", "DeleteIpamPool", "DeleteIpamResourceDiscovery", "DeleteIpamScope", @@ -14513,6 +14515,7 @@ "DescribeInstances", "DescribeInternetGateways", "DescribeIpamByoasn", + "DescribeIpamExternalResourceVerificationTokens", "DescribeIpamPools", "DescribeIpamResourceDiscoveries", "DescribeIpamResourceDiscoveryAssociations", @@ -14892,6 +14895,7 @@ "ec2:ClientRootCertificateChainArn", "ec2:CloudwatchLogGroupArn", "ec2:CloudwatchLogStreamArn", + "ec2:CpuOptionsAmdSevSnp", "ec2:CreateAction", "ec2:DPDTimeoutSeconds", "ec2:DhcpOptionsID", diff --git a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json index 0fea33f9de..84c2571284 100644 --- a/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/123ba181485ae293d5bd09722af0c19d5a0d14c62111ff864923fc7b7960dda6.meta.json @@ -1 +1 @@ -{"etag": "\"7eb8938e3b7f8a0930a20c9d4a98ab70\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"bd179666d5e402984c8eb6bd5ba11395\"", "url": "https://schema.cloudformation.eu-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json b/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json index ccf7dd20e4..bef5857a0f 100644 --- a/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/164e1bfc2823fbd49d8d0e7163ebf32b2b6653d7edfe98a64577daae0b481c38.meta.json @@ -1 +1 @@ -{"etag": "\"fa62ec98c0479c143d1d2d64e301423c\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"} +{"etag": "\"a5a04a7e718898a9b072b211947a1c62\"", "url": "https://schema.cloudformation.cn-north-1.amazonaws.com.cn/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json index 78fff5c8fc..240b5c88c6 100644 --- a/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/18624fcc4a1c571691d10b2508e6be565e4752bbc10d9552de8df8f81348c42b.meta.json @@ -1 +1 @@ -{"etag": "\"3433f713a0ddd708cb6283508ddb5934\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"0cb8dbd88efc356d257f7b05626ce5ba\"", "url": "https://schema.cloudformation.us-gov-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json b/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json index 2f67c7834a..695a1801c5 100644 --- a/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/227d6e59c86482f7153466759080e65963a1bf4413531ad420ff60a5a0d7965d.meta.json @@ -1 +1 @@ -{"etag": "\"c06171a10290a9224ab31a4b8c7a4a06\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"3ee9949eea6abbaf1a55f603d6cad935\"", "url": "https://schema.cloudformation.me-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json index 4b4a9f3ac4..68e6ef2075 100644 --- a/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/23be708e675cb6098b08969e4dbbc3f54cfc32461d10e077e7e5de1fc25d8b8f.meta.json @@ -1 +1 @@ -{"etag": "\"ebb0a6d3771284f6cfe1b8c9cc78370e\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"a33f5b83a0267e9ec505305d342c192e\"", "url": "https://schema.cloudformation.us-gov-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json b/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json index 0cd3ceeb5b..adfee83777 100644 --- a/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/26cf4521b683d3267844178a6bcd1d0ad3fe2e7838c23f6acd054944cb2b1618.meta.json @@ -1 +1 @@ -{"etag": "\"8b8b0c805080ec2e2a588c52e4db537a\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"b64d9831096f9af52e8361fe9886374b\"", "url": "https://schema.cloudformation.me-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json b/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json index dcd2fabca3..572b171f75 100644 --- a/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/276cecfeb1ec5e608e2aaa06925a2da57e9907e4a512c10ddae70b98b4dada43.meta.json @@ -1 +1 @@ -{"etag": "\"34a8901f289bb9ace2d6dfc4365b4d37\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"33244a0d8c1c5d2ccb7964fb1d7ba915\"", "url": "https://schema.cloudformation.eu-west-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json b/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json index 613c4504ad..0531ec7481 100644 --- a/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/371e40c90b2e47c99f6e275e060ee83a3fbf0a0fb76625ba46dbe42abd34333c.meta.json @@ -1 +1 @@ -{"etag": "\"94a60fed9d32c91453f6ab4ffd9e8163\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"} +{"etag": "\"e07ba05ef0c75763211c00a99844ba36\"", "url": "https://schema.cloudformation.cn-northwest-1.amazonaws.com.cn/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json b/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json index 9da6f569c3..b90af867b9 100644 --- a/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42155835f382d82337be3d2bf832bada376aa3fe15197e3bb0e9290ff8719b4e.meta.json @@ -1 +1 @@ -{"etag": "\"6427fe5e3ce5e7f1a0fa7eaeb22c049e\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"5fd1000e96dbd4ae2a9d9e19f3ca37f5\"", "url": "https://schema.cloudformation.af-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json b/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json index 4d540672c8..c33759339d 100644 --- a/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/42e9df95722b6524cd001503b6750b86f60a7b5acfc406ebb10d5748cbb8ed41.meta.json @@ -1 +1 @@ -{"etag": "\"32f7c02b7692f1186e4ed6734c68e4b7\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"7ed9ded72dd3888525ecfa481e6c8454\"", "url": "https://schema.cloudformation.us-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json b/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json index cbd878908f..9e3da569d0 100644 --- a/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/4fbb29b69678acdd32c5758ed43ead9bf35136af536e92a84ccbaf062c315066.meta.json @@ -1 +1 @@ -{"etag": "\"6835a2b1825a9211393448d4ad49f36b\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"282bad81dd4f667a496d0241304268c7\"", "url": "https://schema.cloudformation.eu-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json index 8687705b79..efd0259990 100644 --- a/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/56584c7d00e444de640bef01fc2c630804470222e5e4c690bacef5312891581d.meta.json @@ -1 +1 @@ -{"etag": "\"ba4b3d07160e29e74fa22dba1ece4cf3\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"6764a80ce2825d2945d59eb695ce9eb1\"", "url": "https://schema.cloudformation.ap-south-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json b/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json index 5e3ac98174..b739f6392c 100644 --- a/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/583721567eccd1d5855daa623819df1a646b563d773e34b020d0ddeab2fe195b.meta.json @@ -1 +1 @@ -{"etag": "\"ce4bb3dcdd7d2e835246c998d49ac093\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"3a755a42b37c6c57285636bd85646a4c\"", "url": "https://schema.cloudformation.ap-southeast-4.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json b/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json index fc7fbe8a1f..0902ddd02f 100644 --- a/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/6316ae24f21cb620947aa250bebbee69548d44cc32e246ec9d7742088a2c17f8.meta.json @@ -1 +1 @@ -{"etag": "\"05b18be7a445cde45f68b59b30b2a70a\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"fab75d0b031027f9cf7a52724e0e44fd\"", "url": "https://schema.cloudformation.us-east-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json b/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json index fe40039256..8f627d03d3 100644 --- a/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/81e1cc73ff2daf7d1e1eca393c2d1fdd98ac34d4109512e0e0947ef752dcb9c9.meta.json @@ -1 +1 @@ -{"etag": "\"939936e7df69cba908638aab761aeb67\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"46e93b34d0a65319830f586396b521eb\"", "url": "https://schema.cloudformation.ap-southeast-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json b/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json index 26048250da..2cf260638c 100644 --- a/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8adeabf0a09b37a8ed924aea799005947e4a4542365d35fd75466abcf306eeca.meta.json @@ -1 +1 @@ -{"etag": "\"90726f3f353e671f82ee1f3417cf32db\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"fe96a89f9eef1c2ca3ed0e93e084a56c\"", "url": "https://schema.cloudformation.ap-northeast-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json b/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json index 1a76d0a5cf..acd946cc44 100644 --- a/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/8b8b0cee4df1ef0947a8289e8ec0c67869b7533eabab32ecfc0a00cb19e55a5f.meta.json @@ -1 +1 @@ -{"etag": "\"c477b2fa5c47db26588e053030a0e5fa\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"3cc4a75c15a37b7e63488ed14e877fd8\"", "url": "https://schema.cloudformation.ap-southeast-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json index 659b1c461c..6f427bbc64 100644 --- a/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/b1f069477cd577cde04dfe1b323c0bb0e783fe32b6bb6b13774c32fcca1d303a.meta.json @@ -1 +1 @@ -{"etag": "\"a23e02e54157978f01918c0fffbf4d10\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"c370f54cdf81e8de17e18660acaa04d3\"", "url": "https://schema.cloudformation.ap-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json b/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json index 6985f5c3bb..32ef1e3f39 100644 --- a/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/c7ada205073390b33b7593ef8f304b9705f2567698dfdfa979bf0ccdb68cb856.meta.json @@ -1 +1 @@ -{"etag": "\"3c6e64a01d91cfda5fbb0fb63c63a87d\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"86cd0fff3d8d06cdc54cb45d5d541407\"", "url": "https://schema.cloudformation.sa-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json index be2a34ae5c..7deac01f80 100644 --- a/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d24ce9a45a014b1ff04d479422ea956e92030ae5c03d7451980a15735e557edb.meta.json @@ -1 +1 @@ -{"etag": "\"368f1756c7d09d87c90968ab60789d83\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"bea4c796376dc15d5d4f4bdc0fdc1239\"", "url": "https://schema.cloudformation.ap-southeast-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json b/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json index d108033f95..27dd11590c 100644 --- a/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d85e2e061cacfcffe4902adb1074a04e6bb7f975b606f8db57532faddfcdd8c8.meta.json @@ -1 +1 @@ -{"etag": "\"54a59626b99399b521e3fc7c6b741aab\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"4427b1f9bb96ba8bef55b13897625dda\"", "url": "https://schema.cloudformation.ca-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json b/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json index 23f0040b74..ec386efcb0 100644 --- a/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/d8e41d35f4f8922b66525dea2c66d72a73ff097c685cda0a63c08a6416dc58ed.meta.json @@ -1 +1 @@ -{"etag": "\"4a87bc8951b37aabdc68160025627c58\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"fa2420f25f5277d2751eacba1bbc87cc\"", "url": "https://schema.cloudformation.eu-central-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json index 3f590d7f89..eb40a77714 100644 --- a/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/dd98171253ebc36f5b78e247f3132b5f25c8d66a1f84939600616bab42579541.meta.json @@ -1 +1 @@ -{"etag": "\"a43a458140f720599ec142476e18c640\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"6570586020da7e301e3efd8f6ec78bd6\"", "url": "https://schema.cloudformation.eu-north-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json b/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json index ecd5c8f006..12021501e2 100644 --- a/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/df4945435575c690a2651bb31e7a9b48972142778e1ff452383ede2ad4bac3d7.meta.json @@ -1 +1 @@ -{"etag": "\"5194b3d456a9f96f04a6978605932926\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"cef40af4d6af51936946192392672b68\"", "url": "https://schema.cloudformation.eu-south-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json b/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json index 0bdf8978b0..ded8759229 100644 --- a/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e5301e07e25fa2c35d2c7e1f9dcf720826b315ef6f38515840537c02de23abe2.meta.json @@ -1 +1 @@ -{"etag": "\"ac0e6bef40122969c46f2e04b5210e33\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"fd4b823f9e264b5f21044f01d36c734b\"", "url": "https://schema.cloudformation.ca-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json b/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json index 817e7b59c3..57c4dde1d3 100644 --- a/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/e8b3dacc1675b478e8c7392b51f41467cf908a34e6b4c3fb3e97e2b584f651ca.meta.json @@ -1 +1 @@ -{"etag": "\"0b706946adb5731b07b5fb0e60cb3d54\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"03c07f3c66933ceae18ee0162277ccc6\"", "url": "https://schema.cloudformation.eu-west-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json index 7ed21a97e6..5edcaa9690 100644 --- a/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ea0f7b8f144feb225afe73a24dfdf993318c41c71c21b0a17d4f68d82c5aee21.meta.json @@ -1 +1 @@ -{"etag": "\"63b3c52f5bbadddc4257c1b0ba239265\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"cf353897825e27cce71bfb05055b6108\"", "url": "https://schema.cloudformation.ap-northeast-3.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json b/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json index bed3719a05..25deadb8c0 100644 --- a/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f1896c9151984eec294af1eddf64260f6cd7e4ced378cacdb93f76ed227b5c5d.meta.json @@ -1 +1 @@ -{"etag": "\"8a46e75c86f53adf9e16aba69e125ff3\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"7f14d7cce4b48d66fb7fdff5335c6b97\"", "url": "https://schema.cloudformation.us-west-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json b/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json index ff4340304e..f8400de282 100644 --- a/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f49718b210ea89ff182ae51cb7004366b9e2e4d5e38136a5be83b6a55e7a82a1.meta.json @@ -1 +1 @@ -{"etag": "\"2f034865f99fca01a47f5fd519ea7661\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"b0f193fe55dc9e8e5c26232c712ccfe4\"", "url": "https://schema.cloudformation.ap-south-2.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json b/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json index 2001a03c9b..c145ede41d 100644 --- a/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f54eee6f8ad9619f41835b700369cdbb41c64a9c91b2fa5b4928c0d9b2f780b0.meta.json @@ -1 +1 @@ -{"etag": "\"2485d53e26b32bd8e443c9593f87e872\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"316e2073602873a404f021b7d2a49535\"", "url": "https://schema.cloudformation.us-east-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json b/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json index 637d7fc777..cbb68d0b92 100644 --- a/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/f6f35a459759d6c132fa2fe798cefbd5b2d398fe33547eed780b9b70f10eb4a2.meta.json @@ -1 +1 @@ -{"etag": "\"bd7cc746e16d01ec655f6940585b2257\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"dee849bbf0a6df9abf1f877031d1af5b\"", "url": "https://schema.cloudformation.il-central-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json index b3b1d44f61..813d68bc88 100644 --- a/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/fa657351d8e89c40ba6b82c4b1f5e1b5e50a1638ffe0a5dba0d8805c190a05f8.meta.json @@ -1 +1 @@ -{"etag": "\"d47c2a674a5bbe9ccd7bb130ff3a68e0\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"447add60e29672fd400382ab48c8a4b6\"", "url": "https://schema.cloudformation.eu-west-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json b/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json index c1f9ed8c7d..3df903172d 100644 --- a/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json +++ b/src/cfnlint/data/DownloadsMetadata/ff02b7d808c1c00053f09aa43a50addf3b69878d351cffd417dc9a457df808af.meta.json @@ -1 +1 @@ -{"etag": "\"7dc924caa7b71e7426ee862a377370db\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"} +{"etag": "\"3c0c02c196cad6fb7c50146f33bb95d4\"", "url": "https://schema.cloudformation.ap-northeast-1.amazonaws.com/CloudformationSchema.zip"} diff --git a/src/cfnlint/data/Serverless/ManagedPolicies.json b/src/cfnlint/data/Serverless/ManagedPolicies.json index ba0796ddcd..d123e297a0 100644 --- a/src/cfnlint/data/Serverless/ManagedPolicies.json +++ b/src/cfnlint/data/Serverless/ManagedPolicies.json @@ -1024,6 +1024,7 @@ "AmazonWorkSpacesSecureBrowserReadOnly": "arn:aws:iam::aws:policy/AmazonWorkSpacesSecureBrowserReadOnly", "AmazonWorkSpacesSelfServiceAccess": "arn:aws:iam::aws:policy/AmazonWorkSpacesSelfServiceAccess", "AmazonWorkSpacesServiceAccess": "arn:aws:iam::aws:policy/AmazonWorkSpacesServiceAccess", + "AmazonWorkSpacesThinClientFullAccess": "arn:aws:iam::aws:policy/AmazonWorkSpacesThinClientFullAccess", "AmazonWorkSpacesThinClientReadOnlyAccess": "arn:aws:iam::aws:policy/AmazonWorkSpacesThinClientReadOnlyAccess", "AmazonWorkSpacesWebReadOnly": "arn:aws:iam::aws:policy/AmazonWorkSpacesWebReadOnly", "AmazonWorkSpacesWebServiceRolePolicy": "arn:aws:iam::aws:policy/aws-service-role/AmazonWorkSpacesWebServiceRolePolicy", diff --git a/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json b/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json index 4761b93392..be976f0e71 100644 --- a/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json +++ b/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/engine_version.json @@ -176,7 +176,8 @@ "8.0.34", "8.0.35", "8.0.36", - "8.0.37" + "8.0.37", + "8.0.39" ] } } diff --git a/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json b/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json index c9d8a5e5be..dfd4b9ab8a 100644 --- a/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json +++ b/src/cfnlint/data/schemas/extensions/aws_rds_dbinstance/engine_version.json @@ -416,7 +416,8 @@ "8.0.34", "8.0.35", "8.0.36", - "8.0.37" + "8.0.37", + "8.0.39" ] } } diff --git a/src/cfnlint/data/schemas/other/metadata/configuration.json b/src/cfnlint/data/schemas/other/metadata/configuration.json index de09d0d81a..59149005a2 100644 --- a/src/cfnlint/data/schemas/other/metadata/configuration.json +++ b/src/cfnlint/data/schemas/other/metadata/configuration.json @@ -20,8 +20,16 @@ } }, "properties": { - "AWS::CloudFormation::Interface": {}, - "cfn-lint": {} + "AWS::CloudFormation::Interface": { + "cfnLint": [ + "Metadata/AWS::CloudFormation::Interface" + ] + }, + "cfn-lint": { + "cfnLint": [ + "Metadata/cfn-lint" + ] + } }, "type": "object" } diff --git a/src/cfnlint/data/schemas/patches/extensions/all/aws_glue_connection/boto.json b/src/cfnlint/data/schemas/patches/extensions/all/aws_glue_connection/boto.json index 89fee984dd..81f4c7840e 100644 --- a/src/cfnlint/data/schemas/patches/extensions/all/aws_glue_connection/boto.json +++ b/src/cfnlint/data/schemas/patches/extensions/all/aws_glue_connection/boto.json @@ -10,7 +10,9 @@ "MONGODB", "NETWORK", "SALESFORCE", - "SFTP" + "SFTP", + "VIEW_VALIDATION_ATHENA", + "VIEW_VALIDATION_REDSHIFT" ] } ] diff --git a/src/cfnlint/data/schemas/providers/af_south_1/__init__.py b/src/cfnlint/data/schemas/providers/af_south_1/__init__.py index 5a35e741c2..9d6c78274a 100644 --- a/src/cfnlint/data/schemas/providers/af_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/af_south_1/__init__.py @@ -829,7 +829,9 @@ # pylint: disable=too-many-lines cached: list[str] = [ "Module", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -978,8 +980,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -1092,7 +1092,9 @@ "aws-ec2-keypair.json", "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", + "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", + "aws-ec2-localgatewayroutetablevpcassociation.json", "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkinsightsaccessscope.json", @@ -1118,6 +1120,14 @@ "aws-ec2-trafficmirrorfilter.json", "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", @@ -1144,6 +1154,7 @@ "aws-ecr-repository.json", "aws-ecr-repositorycreationtemplate.json", "aws-ecs-capacityprovider.json", + "aws-ecs-cluster.json", "aws-ecs-clustercapacityproviderassociations.json", "aws-ecs-primarytaskset.json", "aws-ecs-service.json", @@ -1338,15 +1349,20 @@ "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", + "aws-networkmanager-connectattachment.json", "aws-networkmanager-connectpeer.json", + "aws-networkmanager-corenetwork.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", "aws-networkmanager-link.json", "aws-networkmanager-linkassociation.json", "aws-networkmanager-site.json", + "aws-networkmanager-sitetositevpnattachment.json", "aws-networkmanager-transitgatewaypeering.json", "aws-networkmanager-transitgatewayregistration.json", + "aws-networkmanager-transitgatewayroutetableattachment.json", + "aws-networkmanager-vpcattachment.json", "aws-oam-link.json", "aws-oam-sink.json", "aws-opensearchservice-domain.json", @@ -1405,6 +1421,7 @@ "aws-resourceexplorer2-view.json", "aws-resourcegroups-group.json", "aws-rolesanywhere-crl.json", + "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", "aws-route53-cidrcollection.json", "aws-route53-dnssec.json", @@ -1415,6 +1432,7 @@ "aws-route53profiles-profileassociation.json", "aws-route53profiles-profileresourceassociation.json", "aws-route53resolver-firewalldomainlist.json", + "aws-route53resolver-firewallrulegroup.json", "aws-route53resolver-firewallrulegroupassociation.json", "aws-route53resolver-outpostresolver.json", "aws-route53resolver-resolverconfig.json", @@ -1422,6 +1440,7 @@ "aws-route53resolver-resolverendpoint.json", "aws-route53resolver-resolverqueryloggingconfig.json", "aws-route53resolver-resolverqueryloggingconfigassociation.json", + "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-rum-appmonitor.json", "aws-s3-accessgrant.json", @@ -1460,6 +1479,7 @@ "aws-sagemaker-userprofile.json", "aws-sagemaker-workteam.json", "aws-scheduler-schedule.json", + "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", "aws-secretsmanager-rotationschedule.json", diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-acmpca-certificateauthority.json deleted file mode 100644 index bac8f101fb..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "CustomPath": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "MaxPartitionSizeMB": { - "type": "integer" - }, - "PartitioningEnabled": { - "type": "boolean" - }, - "RetainExpiredCertificates": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-logdeliveryconfiguration.json similarity index 69% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-logdeliveryconfiguration.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-logdeliveryconfiguration.json index e7c6994878..a83e0bcce0 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-logdeliveryconfiguration.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-logdeliveryconfiguration.json @@ -13,15 +13,6 @@ }, "type": "object" }, - "FirehoseConfiguration": { - "additionalProperties": false, - "properties": { - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, "LogConfiguration": { "additionalProperties": false, "properties": { @@ -31,14 +22,8 @@ "EventSource": { "type": "string" }, - "FirehoseConfiguration": { - "$ref": "#/definitions/FirehoseConfiguration" - }, "LogLevel": { "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3Configuration" } }, "type": "object" @@ -48,15 +33,6 @@ "$ref": "#/definitions/LogConfiguration" }, "type": "array" - }, - "S3Configuration": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "type": "string" - } - }, - "type": "object" } }, "handlers": { @@ -71,14 +47,7 @@ "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", - "logs:DescribeLogGroups", - "s3:GetBucketPolicy", - "s3:PutBucketPolicy", - "s3:ListBucket", - "s3:PutObject", - "s3:GetBucketAcl", - "firehose:TagDeliveryStream", - "iam:CreateServiceLinkedRole" + "logs:DescribeLogGroups" ], "timeoutInMinutes": 2 }, @@ -93,14 +62,7 @@ "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", - "logs:DescribeLogGroups", - "s3:GetBucketPolicy", - "s3:PutBucketPolicy", - "s3:ListBucket", - "s3:PutObject", - "s3:GetBucketAcl", - "firehose:TagDeliveryStream", - "iam:CreateServiceLinkedRole" + "logs:DescribeLogGroups" ], "timeoutInMinutes": 2 }, @@ -120,14 +82,7 @@ "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", - "logs:DescribeLogGroups", - "s3:GetBucketPolicy", - "s3:PutBucketPolicy", - "s3:ListBucket", - "s3:PutObject", - "s3:GetBucketAcl", - "firehose:TagDeliveryStream", - "iam:CreateServiceLinkedRole" + "logs:DescribeLogGroups" ], "timeoutInMinutes": 2 } diff --git a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-userpool.json similarity index 97% rename from src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpool.json rename to src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-userpool.json index 06d970714d..d035f0721a 100644 --- a/src/cfnlint/data/schemas/providers/eu_central_1/aws-cognito-userpool.json +++ b/src/cfnlint/data/schemas/providers/af_south_1/aws-cognito-userpool.json @@ -166,9 +166,6 @@ "MinimumLength": { "type": "integer" }, - "PasswordHistorySize": { - "type": "integer" - }, "RequireLowercase": { "type": "boolean" }, @@ -357,8 +354,7 @@ }, "read": { "permissions": [ - "cognito-idp:DescribeUserPool", - "cognito-idp:GetUserPoolMfaConfig" + "cognito-idp:DescribeUserPool" ] }, "update": { @@ -370,7 +366,6 @@ "cognito-idp:SetUserPoolMfaConfig", "cognito-idp:AddCustomAttributes", "cognito-idp:DescribeUserPool", - "cognito-idp:GetUserPoolMfaConfig", "iam:PassRole" ], "timeoutInMinutes": 2 @@ -522,11 +517,6 @@ "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", "tagging": { "cloudFormationSystemTags": false, - "permissions": [ - "cognito-idp:ListTagsForResource", - "cognito-idp:UntagResource", - "cognito-idp:TagResource" - ], "tagOnCreate": true, "tagProperty": "/properties/UserPoolTags", "tagUpdatable": true, diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-localgatewayroutetable.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-localgatewayroutetable.json deleted file mode 100644 index f38818d6f9..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-localgatewayroutetable.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/Mode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableArn": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "OutpostArn": { - "type": "string" - }, - "OwnerId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/LocalGatewayRouteTableArn", - "/properties/OutpostArn", - "/properties/OwnerId", - "/properties/State" - ], - "replacementStrategy": "delete_then_create", - "required": [ - "LocalGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTable" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-localgatewayroutetablevpcassociation.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-localgatewayroutetablevpcassociation.json deleted file mode 100644 index 001e95a09d..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-localgatewayroutetablevpcassociation.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableVpcAssociationId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayRouteTableVpcAssociationId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/LocalGatewayRouteTableVpcAssociationId", - "/properties/State" - ], - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTableVPCAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgateway.json deleted file mode 100644 index 1de03d1c22..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgateway.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "delete": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "list": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "read": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "update": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index ac1cace626..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastgroupmember.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastgroupmember.json deleted file mode 100644 index 7c84a9b5e9..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastgroupmember.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupMember" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-ecs-cluster.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-ecs-cluster.json deleted file mode 100644 index 86ad593a4e..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-ecs-cluster.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName" - ], - "definitions": { - "CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "integer" - }, - "CapacityProvider": { - "relationshipRef": { - "propertyPath": "/properties/Name", - "typeName": "AWS::ECS::CapacityProvider" - }, - "type": "string" - }, - "Weight": { - "type": "integer" - } - }, - "type": "object" - }, - "ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/ExecuteCommandConfiguration" - }, - "ManagedStorageConfiguration": { - "$ref": "#/definitions/ManagedStorageConfiguration" - } - }, - "type": "object" - }, - "ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "ManagedStorageConfiguration": { - "additionalProperties": false, - "properties": { - "FargateEphemeralStorageKmsKeyId": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "ServiceConnectDefaults": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ecs:CreateCluster", - "ecs:DescribeClusters", - "iam:CreateServiceLinkedRole", - "ecs:TagResource", - "kms:DescribeKey" - ] - }, - "delete": { - "permissions": [ - "ecs:DeleteCluster", - "ecs:DescribeClusters", - "kms:DescribeKey" - ] - }, - "list": { - "permissions": [ - "ecs:DescribeClusters", - "ecs:ListClusters" - ] - }, - "read": { - "permissions": [ - "ecs:DescribeClusters", - "kms:DescribeKey" - ] - }, - "update": { - "permissions": [ - "ecs:PutAccountSettingDefault", - "ecs:DescribeClusters", - "ecs:TagResource", - "ecs:UntagResource", - "ecs:PutAccountSetting", - "ecs:ListTagsForResource", - "ecs:UpdateCluster", - "ecs:UpdateClusterSettings", - "ecs:PutClusterCapacityProviders", - "kms:DescribeKey" - ] - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/CapacityProviderStrategyItem" - }, - "type": "array" - }, - "ServiceConnectDefaults": { - "$ref": "#/definitions/ServiceConnectDefaults" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "tagging": { - "taggable": true - }, - "typeName": "AWS::ECS::Cluster", - "writeOnlyProperties": [ - "/properties/ServiceConnectDefaults" - ] -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-connectattachment.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-connectattachment.json deleted file mode 100644 index 6ebaa23e63..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-connectattachment.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/EdgeLocation", - "/properties/TransportAttachmentId", - "/properties/Options" - ], - "definitions": { - "ConnectAttachmentOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:CreateConnectAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetConnectAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/ConnectAttachmentOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransportAttachmentId": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "EdgeLocation", - "TransportAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::ConnectAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-corenetwork.json deleted file mode 100644 index a33cde44d0..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-corenetwork.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkArn" - ], - [ - "/properties/GlobalNetworkId" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalNetworkId" - ], - "definitions": { - "CoreNetworkEdge": { - "additionalProperties": false, - "properties": { - "Asn": { - "type": "number" - }, - "EdgeLocation": { - "type": "string" - }, - "InsideCidrBlocks": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CoreNetworkSegment": { - "additionalProperties": false, - "properties": { - "EdgeLocations": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SharedSegments": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteCoreNetwork", - "networkmanager:UntagResource", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListCoreNetworks" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:ListTagsForResource", - "networkmanager:PutCoreNetworkPolicy", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:ExecuteCoreNetworkChangeSet", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - } - }, - "primaryIdentifier": [ - "/properties/CoreNetworkId" - ], - "properties": { - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Edges": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkEdge" - }, - "type": "array" - }, - "GlobalNetworkId": { - "type": "string" - }, - "OwnerAccount": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Segments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkSegment" - }, - "type": "array" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/OwnerAccount", - "/properties/CoreNetworkId", - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/State", - "/properties/Segments", - "/properties/Edges" - ], - "required": [ - "GlobalNetworkId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::CoreNetwork" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-sitetositevpnattachment.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-sitetositevpnattachment.json deleted file mode 100644 index 899ed1a630..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-sitetositevpnattachment.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:CreateSiteToSiteVpnAttachment", - "ec2:DescribeRegions", - "networkmanager:TagResource" - ], - "timeoutInMinutes": 40 - }, - "delete": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpnConnectionArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "VpnConnectionArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-transitgatewayroutetableattachment.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-transitgatewayroutetableattachment.json deleted file mode 100644 index 62e5e8099c..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-transitgatewayroutetableattachment.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PeeringId", - "/properties/TransitGatewayRouteTableArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "insertionOrder": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateTransitGatewayRouteTableAttachment", - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:TagResource", - "iam:CreateServiceLinkedRole", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "PeeringId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransitGatewayRouteTableArn": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CoreNetworkId", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "PeeringId", - "TransitGatewayRouteTableArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewayroutetableattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-vpcattachment.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-vpcattachment.json deleted file mode 100644 index 73865f4906..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-networkmanager-vpcattachment.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VpcOptions": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "default": false, - "type": "boolean" - }, - "Ipv6Support": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions", - "iam:CreateServiceLinkedRole" - ], - "timeoutInMinutes": 60 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetVpcAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/VpcOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpcArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName", - "/properties/ResourceArn" - ], - "required": [ - "CoreNetworkId", - "VpcArn", - "SubnetArns" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::VpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-rolesanywhere-profile.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-rolesanywhere-profile.json deleted file mode 100644 index 8303473193..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-rolesanywhere-profile.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AttributeMapping": { - "additionalProperties": false, - "properties": { - "CertificateField": { - "$ref": "#/definitions/CertificateField" - }, - "MappingRules": { - "items": { - "$ref": "#/definitions/MappingRule" - }, - "type": "array" - } - }, - "required": [ - "CertificateField", - "MappingRules" - ], - "type": "object" - }, - "CertificateField": { - "enum": [ - "x509Subject", - "x509Issuer", - "x509SAN" - ], - "type": "string" - }, - "MappingRule": { - "additionalProperties": false, - "properties": { - "Specifier": { - "type": "string" - } - }, - "required": [ - "Specifier" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:CreateProfile", - "rolesanywhere:TagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - }, - "delete": { - "permissions": [ - "rolesanywhere:DeleteProfile" - ] - }, - "list": { - "permissions": [ - "rolesanywhere:ListProfiles", - "rolesanywhere:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "rolesanywhere:GetProfile", - "rolesanywhere:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:GetProfile", - "rolesanywhere:UpdateProfile", - "rolesanywhere:EnableProfile", - "rolesanywhere:DisableProfile", - "rolesanywhere:TagResource", - "rolesanywhere:UntagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - } - }, - "primaryIdentifier": [ - "/properties/ProfileId" - ], - "properties": { - "AttributeMappings": { - "items": { - "$ref": "#/definitions/AttributeMapping" - }, - "type": "array" - }, - "DurationSeconds": { - "maximum": 43200, - "minimum": 900, - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ProfileArn": { - "type": "string" - }, - "ProfileId": { - "pattern": "[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}", - "type": "string" - }, - "RequireInstanceProperties": { - "type": "boolean" - }, - "RoleArns": { - "items": { - "maxLength": 1011, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "SessionPolicy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ProfileId", - "/properties/ProfileArn" - ], - "required": [ - "Name", - "RoleArns" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RolesAnywhere::Profile" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-route53resolver-firewallrulegroup.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-route53resolver-firewallrulegroup.json deleted file mode 100644 index aaa7151526..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-route53resolver-firewallrulegroup.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "enum": [ - "ALLOW", - "BLOCK", - "ALERT" - ], - "type": "string" - }, - "BlockOverrideDnsType": { - "enum": [ - "CNAME" - ], - "type": "string" - }, - "BlockOverrideDomain": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "BlockOverrideTtl": { - "maximum": 604800, - "minimum": 0, - "type": "integer" - }, - "BlockResponse": { - "enum": [ - "NODATA", - "NXDOMAIN", - "OVERRIDE" - ], - "type": "string" - }, - "FirewallDomainListId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Priority": { - "type": "integer" - }, - "Qtype": { - "maxLength": 16, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "FirewallDomainListId", - "Priority", - "Action" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "delete": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "list": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "read": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "update": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "maxLength": 600, - "minLength": 1, - "type": "string" - }, - "CreationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "CreatorRequestId": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "FirewallRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ModificationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)", - "type": "string" - }, - "OwnerId": { - "maxLength": 32, - "minLength": 12, - "type": "string" - }, - "RuleCount": { - "type": "integer" - }, - "ShareStatus": { - "enum": [ - "NOT_SHARED", - "SHARED_WITH_ME", - "SHARED_BY_ME" - ], - "type": "string" - }, - "Status": { - "enum": [ - "COMPLETE", - "DELETING", - "UPDATING", - "INACTIVE_OWNER_ACCOUNT_CLOSED" - ], - "type": "string" - }, - "StatusMessage": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/Arn", - "/properties/RuleCount", - "/properties/Status", - "/properties/StatusMessage", - "/properties/OwnerId", - "/properties/ShareStatus", - "/properties/CreatorRequestId", - "/properties/CreationTime", - "/properties/ModificationTime" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::FirewallRuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-route53resolver-resolverrule.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-route53resolver-resolverrule.json deleted file mode 100644 index ca41a553a3..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-route53resolver-resolverrule.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/DomainName" - ], - "createOnlyProperties": [ - "/properties/RuleType" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Ipv6": { - "type": "string" - }, - "Port": { - "maxLength": 65535, - "minLength": 0, - "type": "string" - }, - "Protocol": { - "enum": [ - "Do53", - "DoH" - ], - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:CreateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource" - ] - }, - "delete": { - "permissions": [ - "route53resolver:DeleteResolverRule", - "route53resolver:GetResolverRule" - ] - }, - "list": { - "permissions": [ - "route53resolver:ListResolverRules" - ] - }, - "read": { - "permissions": [ - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "route53resolver:UpdateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource", - "route53resolver:UntagResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/ResolverRuleId" - ], - "properties": { - "Arn": { - "type": "string" - }, - "DomainName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 0, - "type": "string" - }, - "ResolverEndpointId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "RuleType": { - "enum": [ - "FORWARD", - "SYSTEM", - "RECURSIVE" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TargetIps": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/TargetAddress" - }, - "type": "array", - "uniqueItems": false - } - }, - "propertyTransform": { - "/properties/DomainName": "$join([DomainName, \".\"]) $OR DomainName" - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/ResolverRuleId" - ], - "required": [ - "DomainName", - "RuleType" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-route53resolver.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::ResolverRule" -} diff --git a/src/cfnlint/data/schemas/providers/af_south_1/aws-scheduler-schedulegroup.json b/src/cfnlint/data/schemas/providers/af_south_1/aws-scheduler-schedulegroup.json deleted file mode 100644 index 24fd8cef8b..0000000000 --- a/src/cfnlint/data/schemas/providers/af_south_1/aws-scheduler-schedulegroup.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ScheduleGroupState": { - "enum": [ - "ACTIVE", - "DELETING" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "scheduler:TagResource", - "scheduler:CreateScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "scheduler:DeleteScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:DeleteSchedule" - ] - }, - "list": { - "permissions": [ - "scheduler:ListScheduleGroups" - ] - }, - "read": { - "permissions": [ - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "scheduler:TagResource", - "scheduler:UntagResource", - "scheduler:ListTagsForResource", - "scheduler:GetScheduleGroup" - ] - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\\-]+:\\d{12}:schedule-group\\/[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "CreationDate": { - "format": "date-time", - "type": "string" - }, - "LastModificationDate": { - "format": "date-time", - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "State": { - "$ref": "#/definitions/ScheduleGroupState" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreationDate", - "/properties/LastModificationDate", - "/properties/State" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Scheduler::ScheduleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py index 6fa2196e88..34b5ad0171 100644 --- a/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_east_1/__init__.py @@ -803,7 +803,9 @@ # pylint: disable=too-many-lines cached: list[str] = [ "Module", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -957,8 +959,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolidentityprovider.json", @@ -1048,7 +1048,9 @@ "aws-ec2-keypair.json", "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", + "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", + "aws-ec2-localgatewayroutetablevpcassociation.json", "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkinsightsaccessscope.json", @@ -1075,6 +1077,14 @@ "aws-ec2-trafficmirrorfilter.json", "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", @@ -1101,6 +1111,7 @@ "aws-ecr-repository.json", "aws-ecr-repositorycreationtemplate.json", "aws-ecs-capacityprovider.json", + "aws-ecs-cluster.json", "aws-ecs-clustercapacityproviderassociations.json", "aws-ecs-primarytaskset.json", "aws-ecs-service.json", @@ -1445,6 +1456,7 @@ "aws-sagemaker-userprofile.json", "aws-sagemaker-workteam.json", "aws-scheduler-schedule.json", + "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", "aws-secretsmanager-rotationschedule.json", diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-logdeliveryconfiguration.json similarity index 69% rename from src/cfnlint/data/schemas/providers/us_west_2/aws-cognito-logdeliveryconfiguration.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-logdeliveryconfiguration.json index e7c6994878..a83e0bcce0 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-cognito-logdeliveryconfiguration.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-logdeliveryconfiguration.json @@ -13,15 +13,6 @@ }, "type": "object" }, - "FirehoseConfiguration": { - "additionalProperties": false, - "properties": { - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, "LogConfiguration": { "additionalProperties": false, "properties": { @@ -31,14 +22,8 @@ "EventSource": { "type": "string" }, - "FirehoseConfiguration": { - "$ref": "#/definitions/FirehoseConfiguration" - }, "LogLevel": { "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3Configuration" } }, "type": "object" @@ -48,15 +33,6 @@ "$ref": "#/definitions/LogConfiguration" }, "type": "array" - }, - "S3Configuration": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "type": "string" - } - }, - "type": "object" } }, "handlers": { @@ -71,14 +47,7 @@ "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", - "logs:DescribeLogGroups", - "s3:GetBucketPolicy", - "s3:PutBucketPolicy", - "s3:ListBucket", - "s3:PutObject", - "s3:GetBucketAcl", - "firehose:TagDeliveryStream", - "iam:CreateServiceLinkedRole" + "logs:DescribeLogGroups" ], "timeoutInMinutes": 2 }, @@ -93,14 +62,7 @@ "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", - "logs:DescribeLogGroups", - "s3:GetBucketPolicy", - "s3:PutBucketPolicy", - "s3:ListBucket", - "s3:PutObject", - "s3:GetBucketAcl", - "firehose:TagDeliveryStream", - "iam:CreateServiceLinkedRole" + "logs:DescribeLogGroups" ], "timeoutInMinutes": 2 }, @@ -120,14 +82,7 @@ "logs:ListLogDeliveries", "logs:PutResourcePolicy", "logs:DescribeResourcePolicies", - "logs:DescribeLogGroups", - "s3:GetBucketPolicy", - "s3:PutBucketPolicy", - "s3:ListBucket", - "s3:PutObject", - "s3:GetBucketAcl", - "firehose:TagDeliveryStream", - "iam:CreateServiceLinkedRole" + "logs:DescribeLogGroups" ], "timeoutInMinutes": 2 } diff --git a/src/cfnlint/data/schemas/providers/us_west_2/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpool.json similarity index 97% rename from src/cfnlint/data/schemas/providers/us_west_2/aws-cognito-userpool.json rename to src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpool.json index 06d970714d..d035f0721a 100644 --- a/src/cfnlint/data/schemas/providers/us_west_2/aws-cognito-userpool.json +++ b/src/cfnlint/data/schemas/providers/ap_east_1/aws-cognito-userpool.json @@ -166,9 +166,6 @@ "MinimumLength": { "type": "integer" }, - "PasswordHistorySize": { - "type": "integer" - }, "RequireLowercase": { "type": "boolean" }, @@ -357,8 +354,7 @@ }, "read": { "permissions": [ - "cognito-idp:DescribeUserPool", - "cognito-idp:GetUserPoolMfaConfig" + "cognito-idp:DescribeUserPool" ] }, "update": { @@ -370,7 +366,6 @@ "cognito-idp:SetUserPoolMfaConfig", "cognito-idp:AddCustomAttributes", "cognito-idp:DescribeUserPool", - "cognito-idp:GetUserPoolMfaConfig", "iam:PassRole" ], "timeoutInMinutes": 2 @@ -522,11 +517,6 @@ "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", "tagging": { "cloudFormationSystemTags": false, - "permissions": [ - "cognito-idp:ListTagsForResource", - "cognito-idp:UntagResource", - "cognito-idp:TagResource" - ], "tagOnCreate": true, "tagProperty": "/properties/UserPoolTags", "tagUpdatable": true, diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-localgatewayroutetable.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-localgatewayroutetable.json deleted file mode 100644 index f38818d6f9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-localgatewayroutetable.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/Mode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableArn": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "OutpostArn": { - "type": "string" - }, - "OwnerId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/LocalGatewayRouteTableArn", - "/properties/OutpostArn", - "/properties/OwnerId", - "/properties/State" - ], - "replacementStrategy": "delete_then_create", - "required": [ - "LocalGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTable" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-localgatewayroutetablevpcassociation.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-localgatewayroutetablevpcassociation.json deleted file mode 100644 index 001e95a09d..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-localgatewayroutetablevpcassociation.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableVpcAssociationId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayRouteTableVpcAssociationId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/LocalGatewayRouteTableVpcAssociationId", - "/properties/State" - ], - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTableVPCAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgateway.json deleted file mode 100644 index 1de03d1c22..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgateway.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "delete": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "list": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "read": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "update": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index ac1cace626..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastgroupmember.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastgroupmember.json deleted file mode 100644 index 7c84a9b5e9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastgroupmember.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupMember" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ecs-cluster.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-ecs-cluster.json deleted file mode 100644 index 86ad593a4e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-ecs-cluster.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName" - ], - "definitions": { - "CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "integer" - }, - "CapacityProvider": { - "relationshipRef": { - "propertyPath": "/properties/Name", - "typeName": "AWS::ECS::CapacityProvider" - }, - "type": "string" - }, - "Weight": { - "type": "integer" - } - }, - "type": "object" - }, - "ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/ExecuteCommandConfiguration" - }, - "ManagedStorageConfiguration": { - "$ref": "#/definitions/ManagedStorageConfiguration" - } - }, - "type": "object" - }, - "ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "ManagedStorageConfiguration": { - "additionalProperties": false, - "properties": { - "FargateEphemeralStorageKmsKeyId": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "ServiceConnectDefaults": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ecs:CreateCluster", - "ecs:DescribeClusters", - "iam:CreateServiceLinkedRole", - "ecs:TagResource", - "kms:DescribeKey" - ] - }, - "delete": { - "permissions": [ - "ecs:DeleteCluster", - "ecs:DescribeClusters", - "kms:DescribeKey" - ] - }, - "list": { - "permissions": [ - "ecs:DescribeClusters", - "ecs:ListClusters" - ] - }, - "read": { - "permissions": [ - "ecs:DescribeClusters", - "kms:DescribeKey" - ] - }, - "update": { - "permissions": [ - "ecs:PutAccountSettingDefault", - "ecs:DescribeClusters", - "ecs:TagResource", - "ecs:UntagResource", - "ecs:PutAccountSetting", - "ecs:ListTagsForResource", - "ecs:UpdateCluster", - "ecs:UpdateClusterSettings", - "ecs:PutClusterCapacityProviders", - "kms:DescribeKey" - ] - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/CapacityProviderStrategyItem" - }, - "type": "array" - }, - "ServiceConnectDefaults": { - "$ref": "#/definitions/ServiceConnectDefaults" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "tagging": { - "taggable": true - }, - "typeName": "AWS::ECS::Cluster", - "writeOnlyProperties": [ - "/properties/ServiceConnectDefaults" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_east_1/aws-scheduler-schedulegroup.json b/src/cfnlint/data/schemas/providers/ap_east_1/aws-scheduler-schedulegroup.json deleted file mode 100644 index 24fd8cef8b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_east_1/aws-scheduler-schedulegroup.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ScheduleGroupState": { - "enum": [ - "ACTIVE", - "DELETING" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "scheduler:TagResource", - "scheduler:CreateScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "scheduler:DeleteScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:DeleteSchedule" - ] - }, - "list": { - "permissions": [ - "scheduler:ListScheduleGroups" - ] - }, - "read": { - "permissions": [ - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "scheduler:TagResource", - "scheduler:UntagResource", - "scheduler:ListTagsForResource", - "scheduler:GetScheduleGroup" - ] - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\\-]+:\\d{12}:schedule-group\\/[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "CreationDate": { - "format": "date-time", - "type": "string" - }, - "LastModificationDate": { - "format": "date-time", - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "State": { - "$ref": "#/definitions/ScheduleGroupState" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreationDate", - "/properties/LastModificationDate", - "/properties/State" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Scheduler::ScheduleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py index 6d02c82a08..2627dd5385 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/__init__.py @@ -1454,7 +1454,6 @@ "aws-codestarconnections-repositorylink.json", "aws-codestarconnections-syncconfiguration.json", "aws-codestarnotifications-notificationrule.json", - "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", "aws-cognito-logdeliveryconfiguration.json", @@ -1560,8 +1559,11 @@ "aws-directoryservice-simplead.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-certificate.json", + "aws-dms-dataprovider.json", "aws-dms-endpoint.json", "aws-dms-eventsubscription.json", + "aws-dms-instanceprofile.json", + "aws-dms-migrationproject.json", "aws-dms-replicationconfig.json", "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", @@ -1622,7 +1624,6 @@ "aws-ec2-prefixlist.json", "aws-ec2-route.json", "aws-ec2-routetable.json", - "aws-ec2-securitygroup.json", "aws-ec2-securitygroupegress.json", "aws-ec2-securitygroupingress.json", "aws-ec2-snapshotblockpublicaccess.json", @@ -2060,15 +2061,20 @@ "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", + "aws-networkmanager-connectattachment.json", "aws-networkmanager-connectpeer.json", + "aws-networkmanager-corenetwork.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", "aws-networkmanager-link.json", "aws-networkmanager-linkassociation.json", "aws-networkmanager-site.json", + "aws-networkmanager-sitetositevpnattachment.json", "aws-networkmanager-transitgatewaypeering.json", "aws-networkmanager-transitgatewayregistration.json", + "aws-networkmanager-transitgatewayroutetableattachment.json", + "aws-networkmanager-vpcattachment.json", "aws-nimblestudio-launchprofile.json", "aws-nimblestudio-streamingimage.json", "aws-nimblestudio-studio.json", @@ -2323,7 +2329,6 @@ "aws-shield-protection.json", "aws-shield-protectiongroup.json", "aws-signer-profilepermission.json", - "aws-signer-signingprofile.json", "aws-sns-subscription.json", "aws-sns-topic.json", "aws-sns-topicinlinepolicy.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cognito-identitypool.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cognito-identitypool.json new file mode 100644 index 0000000000..034b2d3ba3 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-cognito-identitypool.json @@ -0,0 +1,213 @@ +{ + "additionalProperties": false, + "definitions": { + "CognitoIdentityProvider": { + "additionalProperties": false, + "properties": { + "ClientId": { + "type": "string" + }, + "ProviderName": { + "type": "string" + }, + "ServerSideTokenCheck": { + "type": "boolean" + } + }, + "required": [ + "ProviderName", + "ClientId" + ], + "type": "object" + }, + "CognitoStreams": { + "additionalProperties": false, + "properties": { + "RoleArn": { + "type": "string" + }, + "StreamName": { + "type": "string" + }, + "StreamingStatus": { + "type": "string" + } + }, + "type": "object" + }, + "PushSync": { + "additionalProperties": false, + "properties": { + "ApplicationArns": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "RoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-identity:CreateIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "iam:PassRole" + ] + }, + "delete": { + "permissions": [ + "cognito-identity:DeleteIdentityPool" + ] + }, + "list": { + "permissions": [ + "cognito-identity:ListIdentityPools" + ] + }, + "read": { + "permissions": [ + "cognito-identity:DescribeIdentityPool" + ] + }, + "update": { + "permissions": [ + "cognito-identity:UpdateIdentityPool", + "cognito-identity:DescribeIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "cognito-identity:UntagResource", + "iam:PassRole" + ] + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "AllowClassicFlow": { + "type": "boolean" + }, + "AllowUnauthenticatedIdentities": { + "type": "boolean" + }, + "CognitoEvents": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "CognitoIdentityProviders": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/CognitoIdentityProvider" + }, + "type": "array", + "uniqueItems": false + }, + "CognitoStreams": { + "$ref": "#/definitions/CognitoStreams" + }, + "DeveloperProviderName": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "IdentityPoolName": { + "type": "string" + }, + "IdentityPoolTags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + }, + "Name": { + "type": "string" + }, + "OpenIdConnectProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "PushSync": { + "$ref": "#/definitions/PushSync" + }, + "SamlProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "SupportedLoginProviders": { + "format": "json", + "type": [ + "object", + "string" + ] + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/Name" + ], + "required": [ + "AllowUnauthenticatedIdentities" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "permissions": [ + "cognito-identity:TagResource", + "cognito-identity:UntagResource" + ], + "tagOnCreate": true, + "tagProperty": "/properties/IdentityPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::IdentityPool", + "writeOnlyProperties": [ + "/properties/PushSync", + "/properties/CognitoStreams", + "/properties/CognitoEvents" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-dataprovider.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-dataprovider.json deleted file mode 100644 index 6c1007bfa0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-dataprovider.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/DataProviderName" - ] - ], - "additionalProperties": false, - "definitions": { - "DmsSslModeValue": { - "enum": [ - "none", - "require", - "verify-ca", - "verify-full" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateDataProvider", - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:GetRole", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteDataProvider" - ] - }, - "list": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateDataProvider", - "dms:ModifyDataProvider", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/DataProviderArn" - ], - "properties": { - "DataProviderArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "DataProviderIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Engine": { - "enum": [ - "postgres", - "mysql", - "oracle", - "sqlserver", - "aurora", - "aurora_postgresql" - ], - "type": "string" - }, - "ExactSettings": { - "default": false, - "type": "boolean" - }, - "Settings": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "PostgreSqlSettings" - ] - }, - { - "required": [ - "MySqlSettings" - ] - }, - { - "required": [ - "OracleSettings" - ] - }, - { - "required": [ - "MicrosoftSqlServerSettings" - ] - } - ], - "properties": { - "MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "MySqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode" - ], - "type": "object" - }, - "OracleSettings": { - "additionalProperties": false, - "properties": { - "AsmServer": { - "type": "string" - }, - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "SecretsManagerOracleAsmAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmSecretId": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "PostgreSqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/DataProviderArn", - "/properties/DataProviderCreationTime" - ], - "required": [ - "Engine" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-dms.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::DataProvider", - "writeOnlyProperties": [ - "/properties/DataProviderIdentifier", - "/properties/ExactSettings" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-instanceprofile.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-instanceprofile.json deleted file mode 100644 index 1e6c803e41..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-instanceprofile.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/InstanceProfileName" - ] - ], - "additionalProperties": false, - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateInstanceProfile", - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:AddTagsToResource", - "dms:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteInstanceProfile" - ] - }, - "list": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateInstanceProfile", - "dms:ModifyInstanceProfile", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/InstanceProfileArn" - ], - "properties": { - "AvailabilityZone": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "NetworkType": { - "enum": [ - "IPV4", - "IPV6", - "DUAL" - ], - "type": "string" - }, - "PubliclyAccessible": { - "default": false, - "type": "boolean" - }, - "SubnetGroupIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "VpcSecurityGroups": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/InstanceProfileArn", - "/properties/InstanceProfileCreationTime" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::InstanceProfile", - "writeOnlyProperties": [ - "/properties/InstanceProfileIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-migrationproject.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-migrationproject.json deleted file mode 100644 index a72821a065..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-dms-migrationproject.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/MigrationProjectName" - ] - ], - "additionalProperties": false, - "definitions": { - "DataProviderDescriptor": { - "additionalProperties": false, - "properties": { - "DataProviderArn": { - "type": "string" - }, - "DataProviderIdentifier": { - "type": "string" - }, - "DataProviderName": { - "type": "string" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "deprecatedProperties": [ - "/properties/MigrationProjectCreationTime" - ], - "handlers": { - "create": { - "permissions": [ - "dms:CreateMigrationProject", - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteMigrationProject" - ] - }, - "list": { - "permissions": [ - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:DescribeMigrationProjects", - "dms:ListMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateMigrationProject", - "dms:ModifyMigrationProject", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - } - }, - "primaryIdentifier": [ - "/properties/MigrationProjectArn" - ], - "properties": { - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "MigrationProjectIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "SchemaConversionApplicationAttributes": { - "additionalProperties": false, - "properties": { - "S3BucketPath": { - "type": "string" - }, - "S3BucketRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "SourceDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TargetDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "TransformationRules": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/MigrationProjectArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::MigrationProject", - "writeOnlyProperties": [ - "/properties/MigrationProjectIdentifier", - "/properties/InstanceProfileIdentifier", - "/properties/SourceDataProviderDescriptors/*/DataProviderIdentifier", - "/properties/TargetDataProviderDescriptors/*/DataProviderIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ec2-securitygroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ec2-securitygroup.json new file mode 100644 index 0000000000..2f7e3ef4ca --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-ec2-securitygroup.json @@ -0,0 +1,244 @@ +{ + "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/master/src/main/resources/schema/provider.definition.schema.v1.json", + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/GroupDescription", + "/properties/GroupName", + "/properties/VpcId" + ], + "definitions": { + "Egress": { + "additionalProperties": false, + "properties": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DestinationPrefixListId": { + "type": "string" + }, + "DestinationSecurityGroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "FromPort": { + "minimum": -1, + "type": "integer" + }, + "IpProtocol": { + "type": "string" + }, + "ToPort": { + "minimum": -1, + "type": "integer" + } + }, + "required": [ + "IpProtocol" + ], + "requiredXor": [ + "CidrIp", + "CidrIpv6", + "DestinationSecurityGroupId", + "DestinationPrefixListId" + ], + "type": "object" + }, + "Ingress": { + "additionalProperties": false, + "properties": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "FromPort": { + "minimum": -1, + "type": "integer" + }, + "IpProtocol": { + "type": "string" + }, + "SourcePrefixListId": { + "type": "string" + }, + "SourceSecurityGroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "SourceSecurityGroupName": { + "format": "AWS::EC2::SecurityGroup.GroupName", + "type": "string" + }, + "SourceSecurityGroupOwnerId": { + "type": "string" + }, + "ToPort": { + "minimum": -1, + "type": "integer" + } + }, + "required": [ + "IpProtocol" + ], + "requiredXor": [ + "CidrIp", + "CidrIpv6", + "SourcePrefixListId", + "SourceSecurityGroupId", + "SourceSecurityGroupName" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + } + }, + "dependentRequired": { + "SecurityGroupEgress": [ + "VpcId" + ] + }, + "handlers": { + "create": { + "permissions": [ + "ec2:CreateSecurityGroup", + "ec2:DescribeSecurityGroups", + "ec2:RevokeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupIngress", + "ec2:CreateTags" + ] + }, + "delete": { + "permissions": [ + "ec2:DescribeSecurityGroups", + "ec2:DeleteSecurityGroup", + "ec2:DescribeInstances" + ] + }, + "list": { + "permissions": [ + "ec2:DescribeSecurityGroups" + ] + }, + "read": { + "permissions": [ + "ec2:DescribeSecurityGroups" + ] + }, + "update": { + "permissions": [ + "ec2:RevokeSecurityGroupEgress", + "ec2:RevokeSecurityGroupIngress", + "ec2:DescribeSecurityGroups", + "ec2:AuthorizeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupIngress", + "ec2:CreateTags", + "ec2:DeleteTags" + ] + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "GroupDescription": { + "maxLength": 255, + "minLength": 0, + "pattern": "^([a-z,A-Z,0-9,. _\\-:/()#,@[\\]+=&;\\{\\}!$*])*$", + "type": "string" + }, + "GroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "GroupName": { + "format": "AWS::EC2::SecurityGroup.GroupName", + "type": "string" + }, + "Id": { + "type": "string" + }, + "SecurityGroupEgress": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Egress" + }, + "type": "array", + "uniqueItems": false + }, + "SecurityGroupIngress": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Ingress" + }, + "type": "array", + "uniqueItems": false + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "propertyTransform": { + "/properties/SecurityGroupEgress/*/FromPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? FromPort : -1)", + "/properties/SecurityGroupEgress/*/IpProtocol": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$mapVal ? $mapVal : $lowercase(IpProtocol))", + "/properties/SecurityGroupEgress/*/ToPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? ToPort : -1)", + "/properties/SecurityGroupIngress/*/FromPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? FromPort : -1)", + "/properties/SecurityGroupIngress/*/IpProtocol": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$mapVal ? $mapVal : $lowercase(IpProtocol))", + "/properties/SecurityGroupIngress/*/ToPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? ToPort : -1)" + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/GroupId" + ], + "required": [ + "GroupDescription" + ], + "tagging": { + "cloudFormationSystemTags": true, + "permissions": [ + "ec2:CreateTags", + "ec2:DeleteTags" + ], + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::EC2::SecurityGroup", + "writeOnlyProperties": [ + "/properties/SecurityGroupIngress/*/SourceSecurityGroupName" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-connectattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-connectattachment.json deleted file mode 100644 index 6ebaa23e63..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-connectattachment.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/EdgeLocation", - "/properties/TransportAttachmentId", - "/properties/Options" - ], - "definitions": { - "ConnectAttachmentOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:CreateConnectAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetConnectAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/ConnectAttachmentOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransportAttachmentId": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "EdgeLocation", - "TransportAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::ConnectAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-corenetwork.json deleted file mode 100644 index a33cde44d0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-corenetwork.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkArn" - ], - [ - "/properties/GlobalNetworkId" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalNetworkId" - ], - "definitions": { - "CoreNetworkEdge": { - "additionalProperties": false, - "properties": { - "Asn": { - "type": "number" - }, - "EdgeLocation": { - "type": "string" - }, - "InsideCidrBlocks": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CoreNetworkSegment": { - "additionalProperties": false, - "properties": { - "EdgeLocations": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SharedSegments": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteCoreNetwork", - "networkmanager:UntagResource", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListCoreNetworks" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:ListTagsForResource", - "networkmanager:PutCoreNetworkPolicy", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:ExecuteCoreNetworkChangeSet", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - } - }, - "primaryIdentifier": [ - "/properties/CoreNetworkId" - ], - "properties": { - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Edges": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkEdge" - }, - "type": "array" - }, - "GlobalNetworkId": { - "type": "string" - }, - "OwnerAccount": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Segments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkSegment" - }, - "type": "array" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/OwnerAccount", - "/properties/CoreNetworkId", - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/State", - "/properties/Segments", - "/properties/Edges" - ], - "required": [ - "GlobalNetworkId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::CoreNetwork" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-sitetositevpnattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-sitetositevpnattachment.json deleted file mode 100644 index 899ed1a630..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-sitetositevpnattachment.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:CreateSiteToSiteVpnAttachment", - "ec2:DescribeRegions", - "networkmanager:TagResource" - ], - "timeoutInMinutes": 40 - }, - "delete": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpnConnectionArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "VpnConnectionArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-transitgatewayroutetableattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-transitgatewayroutetableattachment.json deleted file mode 100644 index 62e5e8099c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-transitgatewayroutetableattachment.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PeeringId", - "/properties/TransitGatewayRouteTableArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "insertionOrder": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateTransitGatewayRouteTableAttachment", - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:TagResource", - "iam:CreateServiceLinkedRole", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "PeeringId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransitGatewayRouteTableArn": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CoreNetworkId", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "PeeringId", - "TransitGatewayRouteTableArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewayroutetableattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-vpcattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-vpcattachment.json deleted file mode 100644 index 73865f4906..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-networkmanager-vpcattachment.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VpcOptions": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "default": false, - "type": "boolean" - }, - "Ipv6Support": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions", - "iam:CreateServiceLinkedRole" - ], - "timeoutInMinutes": 60 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetVpcAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/VpcOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpcArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName", - "/properties/ResourceArn" - ], - "required": [ - "CoreNetworkId", - "VpcArn", - "SubnetArns" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::VpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-signer-signingprofile.json b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-signer-signingprofile.json new file mode 100644 index 0000000000..3ee15a7dbd --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_1/aws-signer-signingprofile.json @@ -0,0 +1,144 @@ +{ + "additionalIdentifiers": [ + [ + "/properties/ProfileName" + ], + [ + "/properties/ProfileVersionArn" + ] + ], + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/ProfileName", + "/properties/PlatformId", + "/properties/SignatureValidityPeriod" + ], + "definitions": { + "Arn": { + "pattern": "^arn:aws(-(cn|us-gov))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$", + "type": "string" + }, + "PlatformId": { + "enum": [ + "AWSLambda-SHA384-ECDSA", + "Notation-OCI-SHA384-ECDSA" + ], + "type": "string" + }, + "ProfileName": { + "maxLength": 64, + "minLength": 2, + "pattern": "^[0-9a-zA-Z_]{2,64}$", + "type": "string" + }, + "ProfileVersion": { + "pattern": "^[0-9a-zA-Z]{10}$", + "type": "string" + }, + "SignatureValidityPeriod": { + "additionalProperties": false, + "properties": { + "Type": { + "enum": [ + "DAYS", + "MONTHS", + "YEARS" + ], + "type": "string" + }, + "Value": { + "type": "integer" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 127, + "minLength": 1, + "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$", + "type": "string" + }, + "Value": { + "maxLength": 255, + "minLength": 1, + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "signer:PutSigningProfile", + "signer:TagResource" + ] + }, + "delete": { + "permissions": [ + "signer:CancelSigningProfile", + "signer:GetSigningProfile" + ] + }, + "list": { + "permissions": [ + "signer:ListSigningProfiles" + ] + }, + "read": { + "permissions": [ + "signer:GetSigningProfile" + ] + }, + "update": { + "permissions": [ + "signer:TagResource", + "signer:UntagResource", + "signer:GetSigningProfile" + ] + } + }, + "primaryIdentifier": [ + "/properties/Arn" + ], + "properties": { + "Arn": { + "$ref": "#/definitions/Arn" + }, + "PlatformId": { + "$ref": "#/definitions/PlatformId" + }, + "ProfileName": { + "$ref": "#/definitions/ProfileName" + }, + "ProfileVersion": { + "$ref": "#/definitions/ProfileVersion" + }, + "ProfileVersionArn": { + "$ref": "#/definitions/Arn" + }, + "SignatureValidityPeriod": { + "$ref": "#/definitions/SignatureValidityPeriod" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "readOnlyProperties": [ + "/properties/ProfileName", + "/properties/ProfileVersion", + "/properties/Arn", + "/properties/ProfileVersionArn" + ], + "required": [ + "PlatformId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "typeName": "AWS::Signer::SigningProfile" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py b/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py index c1a42251c5..0ffbfc37ef 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/__init__.py @@ -1121,6 +1121,7 @@ cached: list[str] = [ "Module", "alexa-ask-skill.json", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", @@ -1320,8 +1321,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -1459,7 +1458,9 @@ "aws-ec2-keypair.json", "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", + "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", + "aws-ec2-localgatewayroutetablevpcassociation.json", "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkaclentry.json", @@ -1488,6 +1489,14 @@ "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrorsession.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", @@ -1518,6 +1527,7 @@ "aws-ecr-repository.json", "aws-ecr-repositorycreationtemplate.json", "aws-ecs-capacityprovider.json", + "aws-ecs-cluster.json", "aws-ecs-clustercapacityproviderassociations.json", "aws-ecs-primarytaskset.json", "aws-ecs-service.json", @@ -1827,6 +1837,8 @@ "aws-medialive-channel.json", "aws-medialive-input.json", "aws-medialive-inputsecuritygroup.json", + "aws-medialive-multiplex.json", + "aws-medialive-multiplexprogram.json", "aws-mediapackage-asset.json", "aws-mediapackage-channel.json", "aws-mediapackage-originendpoint.json", @@ -1972,6 +1984,7 @@ "aws-resourceexplorer2-view.json", "aws-resourcegroups-group.json", "aws-rolesanywhere-crl.json", + "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", "aws-route53-cidrcollection.json", "aws-route53-dnssec.json", @@ -1984,6 +1997,7 @@ "aws-route53profiles-profileassociation.json", "aws-route53profiles-profileresourceassociation.json", "aws-route53resolver-firewalldomainlist.json", + "aws-route53resolver-firewallrulegroup.json", "aws-route53resolver-firewallrulegroupassociation.json", "aws-route53resolver-outpostresolver.json", "aws-route53resolver-resolverconfig.json", @@ -1991,6 +2005,7 @@ "aws-route53resolver-resolverendpoint.json", "aws-route53resolver-resolverqueryloggingconfig.json", "aws-route53resolver-resolverqueryloggingconfigassociation.json", + "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-rum-appmonitor.json", "aws-s3-accessgrant.json", @@ -2039,6 +2054,7 @@ "aws-sagemaker-userprofile.json", "aws-sagemaker-workteam.json", "aws-scheduler-schedule.json", + "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", "aws-secretsmanager-rotationschedule.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-localgatewayroutetable.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-localgatewayroutetable.json deleted file mode 100644 index f38818d6f9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-localgatewayroutetable.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/Mode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableArn": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "OutpostArn": { - "type": "string" - }, - "OwnerId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/LocalGatewayRouteTableArn", - "/properties/OutpostArn", - "/properties/OwnerId", - "/properties/State" - ], - "replacementStrategy": "delete_then_create", - "required": [ - "LocalGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTable" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-localgatewayroutetablevpcassociation.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-localgatewayroutetablevpcassociation.json deleted file mode 100644 index 001e95a09d..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-localgatewayroutetablevpcassociation.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableVpcAssociationId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayRouteTableVpcAssociationId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/LocalGatewayRouteTableVpcAssociationId", - "/properties/State" - ], - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTableVPCAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgateway.json deleted file mode 100644 index 1de03d1c22..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgateway.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "delete": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "list": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "read": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "update": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index ac1cace626..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastgroupmember.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastgroupmember.json deleted file mode 100644 index 7c84a9b5e9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastgroupmember.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupMember" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ecs-cluster.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ecs-cluster.json deleted file mode 100644 index af82f4c69c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-ecs-cluster.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName" - ], - "definitions": { - "CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "integer" - }, - "CapacityProvider": { - "relationshipRef": { - "propertyPath": "/properties/Name", - "typeName": "AWS::ECS::CapacityProvider" - }, - "type": "string" - }, - "Weight": { - "type": "integer" - } - }, - "type": "object" - }, - "ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "ServiceConnectDefaults": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ecs:CreateCluster", - "ecs:DescribeClusters", - "iam:CreateServiceLinkedRole", - "ecs:TagResource" - ] - }, - "delete": { - "permissions": [ - "ecs:DeleteCluster", - "ecs:DescribeClusters" - ] - }, - "list": { - "permissions": [ - "ecs:DescribeClusters", - "ecs:ListClusters" - ] - }, - "read": { - "permissions": [ - "ecs:DescribeClusters" - ] - }, - "update": { - "permissions": [ - "ecs:PutAccountSettingDefault", - "ecs:DescribeClusters", - "ecs:TagResource", - "ecs:UntagResource", - "ecs:PutAccountSetting", - "ecs:ListTagsForResource", - "ecs:UpdateCluster", - "ecs:UpdateClusterSettings", - "ecs:PutClusterCapacityProviders" - ] - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/CapacityProviderStrategyItem" - }, - "type": "array" - }, - "ServiceConnectDefaults": { - "$ref": "#/definitions/ServiceConnectDefaults" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "tagging": { - "taggable": true - }, - "typeName": "AWS::ECS::Cluster", - "writeOnlyProperties": [ - "/properties/ServiceConnectDefaults" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-medialive-multiplex.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-medialive-multiplex.json deleted file mode 100644 index 4473e08aba..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-medialive-multiplex.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AvailabilityZones" - ], - "definitions": { - "MultiplexOutputDestination": { - "additionalProperties": false, - "properties": { - "MultiplexMediaConnectOutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "EntitlementArn": { - "minLength": 1, - "type": "string" - } - } - } - }, - "type": "object" - }, - "MultiplexSettings": { - "additionalProperties": false, - "properties": { - "MaximumVideoBufferDelayMilliseconds": { - "maximum": 3000, - "minimum": 800, - "type": "integer" - }, - "TransportStreamBitrate": { - "maximum": 100000000, - "minimum": 1000000, - "type": "integer" - }, - "TransportStreamId": { - "maximum": 65535, - "minimum": 0, - "type": "integer" - }, - "TransportStreamReservedBitrate": { - "maximum": 100000000, - "minimum": 0, - "type": "integer" - } - }, - "required": [ - "TransportStreamBitrate", - "TransportStreamId" - ], - "type": "object" - }, - "Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "medialive:CreateMultiplex", - "medialive:DescribeMultiplex", - "medialive:CreateTags" - ] - }, - "delete": { - "permissions": [ - "medialive:DeleteMultiplex", - "medialive:DescribeMultiplex" - ] - }, - "list": { - "permissions": [ - "medialive:ListMultiplexes" - ] - }, - "read": { - "permissions": [ - "medialive:DescribeMultiplex" - ] - }, - "update": { - "permissions": [ - "medialive:UpdateMultiplex", - "medialive:DescribeMultiplex", - "medialive:CreateTags", - "medialive:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "type": "string" - }, - "AvailabilityZones": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Destinations": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/MultiplexOutputDestination" - }, - "type": "array" - }, - "Id": { - "type": "string" - }, - "MultiplexSettings": { - "$ref": "#/definitions/MultiplexSettings" - }, - "Name": { - "type": "string" - }, - "PipelinesRunningCount": { - "type": "integer" - }, - "ProgramCount": { - "type": "integer" - }, - "State": { - "enum": [ - "CREATING", - "CREATE_FAILED", - "IDLE", - "STARTING", - "RUNNING", - "RECOVERING", - "STOPPING", - "DELETING", - "DELETED" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tags" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/Id", - "/properties/PipelinesRunningCount", - "/properties/ProgramCount", - "/properties/State" - ], - "required": [ - "AvailabilityZones", - "MultiplexSettings", - "Name" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-medialive.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::MediaLive::Multiplex" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-medialive-multiplexprogram.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-medialive-multiplexprogram.json deleted file mode 100644 index 2a30458471..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-medialive-multiplexprogram.json +++ /dev/null @@ -1,265 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ProgramName", - "/properties/MultiplexId" - ], - "definitions": { - "MultiplexProgramPacketIdentifiersMap": { - "additionalProperties": false, - "properties": { - "AudioPids": { - "insertionOrder": true, - "items": { - "type": "integer" - }, - "type": "array" - }, - "DvbSubPids": { - "insertionOrder": true, - "items": { - "type": "integer" - }, - "type": "array" - }, - "DvbTeletextPid": { - "type": "integer" - }, - "EtvPlatformPid": { - "type": "integer" - }, - "EtvSignalPid": { - "type": "integer" - }, - "KlvDataPids": { - "insertionOrder": true, - "items": { - "type": "integer" - }, - "type": "array" - }, - "PcrPid": { - "type": "integer" - }, - "PmtPid": { - "type": "integer" - }, - "PrivateMetadataPid": { - "type": "integer" - }, - "Scte27Pids": { - "insertionOrder": true, - "items": { - "type": "integer" - }, - "type": "array" - }, - "Scte35Pid": { - "type": "integer" - }, - "TimedMetadataPid": { - "type": "integer" - }, - "VideoPid": { - "type": "integer" - } - }, - "type": "object" - }, - "MultiplexProgramPipelineDetail": { - "additionalProperties": false, - "properties": { - "ActiveChannelPipeline": { - "type": "string" - }, - "PipelineId": { - "type": "string" - } - }, - "type": "object" - }, - "MultiplexProgramServiceDescriptor": { - "additionalProperties": false, - "properties": { - "ProviderName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "ServiceName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "ProviderName", - "ServiceName" - ], - "type": "object" - }, - "MultiplexProgramSettings": { - "additionalProperties": false, - "properties": { - "PreferredChannelPipeline": { - "$ref": "#/definitions/PreferredChannelPipeline", - "type": "string" - }, - "ProgramNumber": { - "maximum": 65535, - "minimum": 0, - "type": "integer" - }, - "ServiceDescriptor": { - "$ref": "#/definitions/MultiplexProgramServiceDescriptor" - }, - "VideoSettings": { - "$ref": "#/definitions/MultiplexVideoSettings" - } - }, - "required": [ - "ProgramNumber" - ], - "type": "object" - }, - "MultiplexStatmuxVideoSettings": { - "additionalProperties": false, - "properties": { - "MaximumBitrate": { - "maximum": 100000000, - "minimum": 100000, - "type": "integer" - }, - "MinimumBitrate": { - "maximum": 100000000, - "minimum": 100000, - "type": "integer" - }, - "Priority": { - "maximum": 5, - "minimum": -5, - "type": "integer" - } - }, - "type": "object" - }, - "MultiplexVideoSettings": { - "oneOf": [ - { - "additionalProperties": false, - "properties": { - "ConstantBitrate": { - "maximum": 100000000, - "minimum": 100000, - "type": "integer" - } - }, - "required": [ - "ConstantBitrate" - ], - "type": "object" - }, - { - "additionalProperties": false, - "properties": { - "StatmuxSettings": { - "$ref": "#/definitions/MultiplexStatmuxVideoSettings" - } - }, - "required": [ - "StatmuxSettings" - ], - "type": "object" - } - ], - "type": "object" - }, - "PreferredChannelPipeline": { - "enum": [ - "CURRENTLY_ACTIVE", - "PIPELINE_0", - "PIPELINE_1" - ], - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "medialive:CreateMultiplexProgram", - "medialive:DescribeMultiplexProgram" - ] - }, - "delete": { - "permissions": [ - "medialive:DeleteMultiplexProgram", - "medialive:DescribeMultiplexProgram" - ] - }, - "list": { - "handlerSchema": { - "properties": { - "Arn": { - "$ref": "resource-schema.json#/properties/MultiplexId" - } - }, - "required": [ - "MultiplexId" - ] - }, - "permissions": [ - "medialive:ListMultiplexPrograms" - ] - }, - "read": { - "permissions": [ - "medialive:DescribeMultiplexProgram" - ] - }, - "update": { - "permissions": [ - "medialive:UpdateMultiplexProgram", - "medialive:DescribeMultiplexProgram" - ] - } - }, - "primaryIdentifier": [ - "/properties/ProgramName", - "/properties/MultiplexId" - ], - "properties": { - "ChannelId": { - "type": "string" - }, - "MultiplexId": { - "type": "string" - }, - "MultiplexProgramSettings": { - "$ref": "#/definitions/MultiplexProgramSettings" - }, - "PacketIdentifiersMap": { - "$ref": "#/definitions/MultiplexProgramPacketIdentifiersMap" - }, - "PipelineDetails": { - "insertionOrder": true, - "items": { - "$ref": "#/definitions/MultiplexProgramPipelineDetail" - }, - "type": "array" - }, - "PreferredChannelPipeline": { - "$ref": "#/definitions/PreferredChannelPipeline" - }, - "ProgramName": { - "type": "string" - } - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-medialiveprogram.git", - "tagging": { - "taggable": false - }, - "typeName": "AWS::MediaLive::Multiplexprogram", - "writeOnlyProperties": [ - "/properties/PreferredChannelPipeline" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-rolesanywhere-profile.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-rolesanywhere-profile.json deleted file mode 100644 index 8303473193..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-rolesanywhere-profile.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AttributeMapping": { - "additionalProperties": false, - "properties": { - "CertificateField": { - "$ref": "#/definitions/CertificateField" - }, - "MappingRules": { - "items": { - "$ref": "#/definitions/MappingRule" - }, - "type": "array" - } - }, - "required": [ - "CertificateField", - "MappingRules" - ], - "type": "object" - }, - "CertificateField": { - "enum": [ - "x509Subject", - "x509Issuer", - "x509SAN" - ], - "type": "string" - }, - "MappingRule": { - "additionalProperties": false, - "properties": { - "Specifier": { - "type": "string" - } - }, - "required": [ - "Specifier" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:CreateProfile", - "rolesanywhere:TagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - }, - "delete": { - "permissions": [ - "rolesanywhere:DeleteProfile" - ] - }, - "list": { - "permissions": [ - "rolesanywhere:ListProfiles", - "rolesanywhere:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "rolesanywhere:GetProfile", - "rolesanywhere:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:GetProfile", - "rolesanywhere:UpdateProfile", - "rolesanywhere:EnableProfile", - "rolesanywhere:DisableProfile", - "rolesanywhere:TagResource", - "rolesanywhere:UntagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - } - }, - "primaryIdentifier": [ - "/properties/ProfileId" - ], - "properties": { - "AttributeMappings": { - "items": { - "$ref": "#/definitions/AttributeMapping" - }, - "type": "array" - }, - "DurationSeconds": { - "maximum": 43200, - "minimum": 900, - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ProfileArn": { - "type": "string" - }, - "ProfileId": { - "pattern": "[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}", - "type": "string" - }, - "RequireInstanceProperties": { - "type": "boolean" - }, - "RoleArns": { - "items": { - "maxLength": 1011, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "SessionPolicy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ProfileId", - "/properties/ProfileArn" - ], - "required": [ - "Name", - "RoleArns" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RolesAnywhere::Profile" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-route53resolver-firewallrulegroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-route53resolver-firewallrulegroup.json deleted file mode 100644 index aaa7151526..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-route53resolver-firewallrulegroup.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "enum": [ - "ALLOW", - "BLOCK", - "ALERT" - ], - "type": "string" - }, - "BlockOverrideDnsType": { - "enum": [ - "CNAME" - ], - "type": "string" - }, - "BlockOverrideDomain": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "BlockOverrideTtl": { - "maximum": 604800, - "minimum": 0, - "type": "integer" - }, - "BlockResponse": { - "enum": [ - "NODATA", - "NXDOMAIN", - "OVERRIDE" - ], - "type": "string" - }, - "FirewallDomainListId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Priority": { - "type": "integer" - }, - "Qtype": { - "maxLength": 16, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "FirewallDomainListId", - "Priority", - "Action" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "delete": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "list": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "read": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "update": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "maxLength": 600, - "minLength": 1, - "type": "string" - }, - "CreationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "CreatorRequestId": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "FirewallRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ModificationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)", - "type": "string" - }, - "OwnerId": { - "maxLength": 32, - "minLength": 12, - "type": "string" - }, - "RuleCount": { - "type": "integer" - }, - "ShareStatus": { - "enum": [ - "NOT_SHARED", - "SHARED_WITH_ME", - "SHARED_BY_ME" - ], - "type": "string" - }, - "Status": { - "enum": [ - "COMPLETE", - "DELETING", - "UPDATING", - "INACTIVE_OWNER_ACCOUNT_CLOSED" - ], - "type": "string" - }, - "StatusMessage": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/Arn", - "/properties/RuleCount", - "/properties/Status", - "/properties/StatusMessage", - "/properties/OwnerId", - "/properties/ShareStatus", - "/properties/CreatorRequestId", - "/properties/CreationTime", - "/properties/ModificationTime" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::FirewallRuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-route53resolver-resolverrule.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-route53resolver-resolverrule.json deleted file mode 100644 index ca41a553a3..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-route53resolver-resolverrule.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/DomainName" - ], - "createOnlyProperties": [ - "/properties/RuleType" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Ipv6": { - "type": "string" - }, - "Port": { - "maxLength": 65535, - "minLength": 0, - "type": "string" - }, - "Protocol": { - "enum": [ - "Do53", - "DoH" - ], - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:CreateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource" - ] - }, - "delete": { - "permissions": [ - "route53resolver:DeleteResolverRule", - "route53resolver:GetResolverRule" - ] - }, - "list": { - "permissions": [ - "route53resolver:ListResolverRules" - ] - }, - "read": { - "permissions": [ - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "route53resolver:UpdateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource", - "route53resolver:UntagResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/ResolverRuleId" - ], - "properties": { - "Arn": { - "type": "string" - }, - "DomainName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 0, - "type": "string" - }, - "ResolverEndpointId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "RuleType": { - "enum": [ - "FORWARD", - "SYSTEM", - "RECURSIVE" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TargetIps": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/TargetAddress" - }, - "type": "array", - "uniqueItems": false - } - }, - "propertyTransform": { - "/properties/DomainName": "$join([DomainName, \".\"]) $OR DomainName" - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/ResolverRuleId" - ], - "required": [ - "DomainName", - "RuleType" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-route53resolver.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::ResolverRule" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-scheduler-schedulegroup.json b/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-scheduler-schedulegroup.json deleted file mode 100644 index 24fd8cef8b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_2/aws-scheduler-schedulegroup.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ScheduleGroupState": { - "enum": [ - "ACTIVE", - "DELETING" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "scheduler:TagResource", - "scheduler:CreateScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "scheduler:DeleteScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:DeleteSchedule" - ] - }, - "list": { - "permissions": [ - "scheduler:ListScheduleGroups" - ] - }, - "read": { - "permissions": [ - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "scheduler:TagResource", - "scheduler:UntagResource", - "scheduler:ListTagsForResource", - "scheduler:GetScheduleGroup" - ] - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\\-]+:\\d{12}:schedule-group\\/[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "CreationDate": { - "format": "date-time", - "type": "string" - }, - "LastModificationDate": { - "format": "date-time", - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "State": { - "$ref": "#/definitions/ScheduleGroupState" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreationDate", - "/properties/LastModificationDate", - "/properties/State" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Scheduler::ScheduleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py b/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py index 495b795c66..081b21d5a4 100644 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/__init__.py @@ -276,6 +276,8 @@ "AWS::EC2::TransitGatewayConnect", "AWS::EC2::TransitGatewayMulticastDomain", "AWS::EC2::TransitGatewayMulticastDomainAssociation", + "AWS::EC2::TransitGatewayMulticastGroupMember", + "AWS::EC2::TransitGatewayMulticastGroupSource", "AWS::EC2::TransitGatewayPeeringAttachment", "AWS::EC2::TransitGatewayRoute", "AWS::EC2::TransitGatewayRouteTable", @@ -787,6 +789,7 @@ "Module", "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -919,8 +922,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -996,7 +997,9 @@ "aws-ec2-keypair.json", "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", + "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", + "aws-ec2-localgatewayroutetablevpcassociation.json", "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkaclentry.json", @@ -1028,6 +1031,8 @@ "aws-ec2-transitgatewayconnect.json", "aws-ec2-transitgatewaymulticastdomain.json", "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetableassociation.json", @@ -1254,15 +1259,20 @@ "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", + "aws-networkmanager-connectattachment.json", "aws-networkmanager-connectpeer.json", + "aws-networkmanager-corenetwork.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", "aws-networkmanager-link.json", "aws-networkmanager-linkassociation.json", "aws-networkmanager-site.json", + "aws-networkmanager-sitetositevpnattachment.json", "aws-networkmanager-transitgatewaypeering.json", "aws-networkmanager-transitgatewayregistration.json", + "aws-networkmanager-transitgatewayroutetableattachment.json", + "aws-networkmanager-vpcattachment.json", "aws-oam-link.json", "aws-oam-sink.json", "aws-opensearchservice-domain.json", diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-acmpca-certificateauthority.json deleted file mode 100644 index bac8f101fb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "CustomPath": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "MaxPartitionSizeMB": { - "type": "integer" - }, - "PartitioningEnabled": { - "type": "boolean" - }, - "RetainExpiredCertificates": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-localgatewayroutetable.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-localgatewayroutetable.json deleted file mode 100644 index f38818d6f9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-localgatewayroutetable.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/Mode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableArn": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "OutpostArn": { - "type": "string" - }, - "OwnerId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/LocalGatewayRouteTableArn", - "/properties/OutpostArn", - "/properties/OwnerId", - "/properties/State" - ], - "replacementStrategy": "delete_then_create", - "required": [ - "LocalGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTable" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-localgatewayroutetablevpcassociation.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-localgatewayroutetablevpcassociation.json deleted file mode 100644 index 001e95a09d..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-ec2-localgatewayroutetablevpcassociation.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableVpcAssociationId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayRouteTableVpcAssociationId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/LocalGatewayRouteTableVpcAssociationId", - "/properties/State" - ], - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTableVPCAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-connectattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-connectattachment.json deleted file mode 100644 index 6ebaa23e63..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-connectattachment.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/EdgeLocation", - "/properties/TransportAttachmentId", - "/properties/Options" - ], - "definitions": { - "ConnectAttachmentOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:CreateConnectAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetConnectAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/ConnectAttachmentOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransportAttachmentId": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "EdgeLocation", - "TransportAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::ConnectAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-corenetwork.json deleted file mode 100644 index a33cde44d0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-corenetwork.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkArn" - ], - [ - "/properties/GlobalNetworkId" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalNetworkId" - ], - "definitions": { - "CoreNetworkEdge": { - "additionalProperties": false, - "properties": { - "Asn": { - "type": "number" - }, - "EdgeLocation": { - "type": "string" - }, - "InsideCidrBlocks": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CoreNetworkSegment": { - "additionalProperties": false, - "properties": { - "EdgeLocations": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SharedSegments": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteCoreNetwork", - "networkmanager:UntagResource", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListCoreNetworks" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:ListTagsForResource", - "networkmanager:PutCoreNetworkPolicy", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:ExecuteCoreNetworkChangeSet", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - } - }, - "primaryIdentifier": [ - "/properties/CoreNetworkId" - ], - "properties": { - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Edges": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkEdge" - }, - "type": "array" - }, - "GlobalNetworkId": { - "type": "string" - }, - "OwnerAccount": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Segments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkSegment" - }, - "type": "array" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/OwnerAccount", - "/properties/CoreNetworkId", - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/State", - "/properties/Segments", - "/properties/Edges" - ], - "required": [ - "GlobalNetworkId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::CoreNetwork" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-sitetositevpnattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-sitetositevpnattachment.json deleted file mode 100644 index 899ed1a630..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-sitetositevpnattachment.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:CreateSiteToSiteVpnAttachment", - "ec2:DescribeRegions", - "networkmanager:TagResource" - ], - "timeoutInMinutes": 40 - }, - "delete": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpnConnectionArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "VpnConnectionArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-transitgatewayroutetableattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-transitgatewayroutetableattachment.json deleted file mode 100644 index 62e5e8099c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-transitgatewayroutetableattachment.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PeeringId", - "/properties/TransitGatewayRouteTableArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "insertionOrder": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateTransitGatewayRouteTableAttachment", - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:TagResource", - "iam:CreateServiceLinkedRole", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "PeeringId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransitGatewayRouteTableArn": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CoreNetworkId", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "PeeringId", - "TransitGatewayRouteTableArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewayroutetableattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-vpcattachment.json b/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-vpcattachment.json deleted file mode 100644 index 73865f4906..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_northeast_3/aws-networkmanager-vpcattachment.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VpcOptions": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "default": false, - "type": "boolean" - }, - "Ipv6Support": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions", - "iam:CreateServiceLinkedRole" - ], - "timeoutInMinutes": 60 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetVpcAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/VpcOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpcArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName", - "/properties/ResourceArn" - ], - "required": [ - "CoreNetworkId", - "VpcArn", - "SubnetArns" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::VpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py index a1ae7ae77c..aaca152da7 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_1/__init__.py @@ -622,6 +622,7 @@ "AWS::IoTEvents::DetectorModel", "AWS::IoTEvents::Input", "AWS::IoTFleetHub::Application", + "AWS::IoTFleetWise::SignalCatalog", "AWS::IoTSiteWise::AccessPolicy", "AWS::IoTSiteWise::Asset", "AWS::IoTSiteWise::AssetModel", @@ -1336,8 +1337,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -1415,8 +1414,11 @@ "aws-directoryservice-microsoftad.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-certificate.json", + "aws-dms-dataprovider.json", "aws-dms-endpoint.json", "aws-dms-eventsubscription.json", + "aws-dms-instanceprofile.json", + "aws-dms-migrationproject.json", "aws-dms-replicationconfig.json", "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", @@ -1491,6 +1493,7 @@ "aws-ec2-trafficmirrortarget.json", "aws-ec2-transitgateway.json", "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", "aws-ec2-transitgatewaymulticastdomain.json", "aws-ec2-transitgatewaymulticastdomainassociation.json", "aws-ec2-transitgatewaymulticastgroupmember.json", @@ -1723,6 +1726,7 @@ "aws-iotevents-detectormodel.json", "aws-iotevents-input.json", "aws-iotfleethub-application.json", + "aws-iotfleetwise-signalcatalog.json", "aws-iotsitewise-accesspolicy.json", "aws-iotsitewise-asset.json", "aws-iotsitewise-assetmodel.json", diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_1/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-dataprovider.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-dataprovider.json deleted file mode 100644 index 6c1007bfa0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-dataprovider.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/DataProviderName" - ] - ], - "additionalProperties": false, - "definitions": { - "DmsSslModeValue": { - "enum": [ - "none", - "require", - "verify-ca", - "verify-full" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateDataProvider", - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:GetRole", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteDataProvider" - ] - }, - "list": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateDataProvider", - "dms:ModifyDataProvider", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/DataProviderArn" - ], - "properties": { - "DataProviderArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "DataProviderIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Engine": { - "enum": [ - "postgres", - "mysql", - "oracle", - "sqlserver", - "aurora", - "aurora_postgresql" - ], - "type": "string" - }, - "ExactSettings": { - "default": false, - "type": "boolean" - }, - "Settings": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "PostgreSqlSettings" - ] - }, - { - "required": [ - "MySqlSettings" - ] - }, - { - "required": [ - "OracleSettings" - ] - }, - { - "required": [ - "MicrosoftSqlServerSettings" - ] - } - ], - "properties": { - "MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "MySqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode" - ], - "type": "object" - }, - "OracleSettings": { - "additionalProperties": false, - "properties": { - "AsmServer": { - "type": "string" - }, - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "SecretsManagerOracleAsmAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmSecretId": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "PostgreSqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/DataProviderArn", - "/properties/DataProviderCreationTime" - ], - "required": [ - "Engine" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-dms.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::DataProvider", - "writeOnlyProperties": [ - "/properties/DataProviderIdentifier", - "/properties/ExactSettings" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-instanceprofile.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-instanceprofile.json deleted file mode 100644 index 1e6c803e41..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-instanceprofile.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/InstanceProfileName" - ] - ], - "additionalProperties": false, - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateInstanceProfile", - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:AddTagsToResource", - "dms:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteInstanceProfile" - ] - }, - "list": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateInstanceProfile", - "dms:ModifyInstanceProfile", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/InstanceProfileArn" - ], - "properties": { - "AvailabilityZone": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "NetworkType": { - "enum": [ - "IPV4", - "IPV6", - "DUAL" - ], - "type": "string" - }, - "PubliclyAccessible": { - "default": false, - "type": "boolean" - }, - "SubnetGroupIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "VpcSecurityGroups": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/InstanceProfileArn", - "/properties/InstanceProfileCreationTime" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::InstanceProfile", - "writeOnlyProperties": [ - "/properties/InstanceProfileIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-migrationproject.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-migrationproject.json deleted file mode 100644 index a72821a065..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-dms-migrationproject.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/MigrationProjectName" - ] - ], - "additionalProperties": false, - "definitions": { - "DataProviderDescriptor": { - "additionalProperties": false, - "properties": { - "DataProviderArn": { - "type": "string" - }, - "DataProviderIdentifier": { - "type": "string" - }, - "DataProviderName": { - "type": "string" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "deprecatedProperties": [ - "/properties/MigrationProjectCreationTime" - ], - "handlers": { - "create": { - "permissions": [ - "dms:CreateMigrationProject", - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteMigrationProject" - ] - }, - "list": { - "permissions": [ - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:DescribeMigrationProjects", - "dms:ListMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateMigrationProject", - "dms:ModifyMigrationProject", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - } - }, - "primaryIdentifier": [ - "/properties/MigrationProjectArn" - ], - "properties": { - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "MigrationProjectIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "SchemaConversionApplicationAttributes": { - "additionalProperties": false, - "properties": { - "S3BucketPath": { - "type": "string" - }, - "S3BucketRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "SourceDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TargetDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "TransformationRules": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/MigrationProjectArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::MigrationProject", - "writeOnlyProperties": [ - "/properties/MigrationProjectIdentifier", - "/properties/InstanceProfileIdentifier", - "/properties/SourceDataProviderDescriptors/*/DataProviderIdentifier", - "/properties/TargetDataProviderDescriptors/*/DataProviderIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/ap_south_1/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_1/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py b/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py index 879a74b48e..ac0dc7a31f 100644 --- a/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_south_2/__init__.py @@ -628,7 +628,9 @@ # pylint: disable=too-many-lines cached: list[str] = [ "Module", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -732,8 +734,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolriskconfigurationattachment.json", @@ -819,6 +819,14 @@ "aws-ec2-trafficmirrorfilter.json", "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", @@ -844,6 +852,7 @@ "aws-ecr-repository.json", "aws-ecr-repositorycreationtemplate.json", "aws-ecs-capacityprovider.json", + "aws-ecs-cluster.json", "aws-ecs-clustercapacityproviderassociations.json", "aws-ecs-primarytaskset.json", "aws-ecs-service.json", @@ -1075,6 +1084,7 @@ "aws-sagemaker-mlflowtrackingserver.json", "aws-sagemaker-modelcard.json", "aws-scheduler-schedule.json", + "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", "aws-secretsmanager-rotationschedule.json", diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-acmpca-certificateauthority.json deleted file mode 100644 index bac8f101fb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "CustomPath": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "MaxPartitionSizeMB": { - "type": "integer" - }, - "PartitioningEnabled": { - "type": "boolean" - }, - "RetainExpiredCertificates": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_south_2/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgateway.json deleted file mode 100644 index 1de03d1c22..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgateway.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "delete": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "list": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "read": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "update": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index ac1cace626..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastgroupmember.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastgroupmember.json deleted file mode 100644 index 7c84a9b5e9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastgroupmember.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupMember" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ecs-cluster.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-ecs-cluster.json deleted file mode 100644 index 86ad593a4e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-ecs-cluster.json +++ /dev/null @@ -1,223 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName" - ], - "definitions": { - "CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "integer" - }, - "CapacityProvider": { - "relationshipRef": { - "propertyPath": "/properties/Name", - "typeName": "AWS::ECS::CapacityProvider" - }, - "type": "string" - }, - "Weight": { - "type": "integer" - } - }, - "type": "object" - }, - "ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/ExecuteCommandConfiguration" - }, - "ManagedStorageConfiguration": { - "$ref": "#/definitions/ManagedStorageConfiguration" - } - }, - "type": "object" - }, - "ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "ManagedStorageConfiguration": { - "additionalProperties": false, - "properties": { - "FargateEphemeralStorageKmsKeyId": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "ServiceConnectDefaults": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ecs:CreateCluster", - "ecs:DescribeClusters", - "iam:CreateServiceLinkedRole", - "ecs:TagResource", - "kms:DescribeKey" - ] - }, - "delete": { - "permissions": [ - "ecs:DeleteCluster", - "ecs:DescribeClusters", - "kms:DescribeKey" - ] - }, - "list": { - "permissions": [ - "ecs:DescribeClusters", - "ecs:ListClusters" - ] - }, - "read": { - "permissions": [ - "ecs:DescribeClusters", - "kms:DescribeKey" - ] - }, - "update": { - "permissions": [ - "ecs:PutAccountSettingDefault", - "ecs:DescribeClusters", - "ecs:TagResource", - "ecs:UntagResource", - "ecs:PutAccountSetting", - "ecs:ListTagsForResource", - "ecs:UpdateCluster", - "ecs:UpdateClusterSettings", - "ecs:PutClusterCapacityProviders", - "kms:DescribeKey" - ] - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/CapacityProviderStrategyItem" - }, - "type": "array" - }, - "ServiceConnectDefaults": { - "$ref": "#/definitions/ServiceConnectDefaults" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "tagging": { - "taggable": true - }, - "typeName": "AWS::ECS::Cluster", - "writeOnlyProperties": [ - "/properties/ServiceConnectDefaults" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_south_2/aws-scheduler-schedulegroup.json b/src/cfnlint/data/schemas/providers/ap_south_2/aws-scheduler-schedulegroup.json deleted file mode 100644 index 24fd8cef8b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_south_2/aws-scheduler-schedulegroup.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ScheduleGroupState": { - "enum": [ - "ACTIVE", - "DELETING" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "scheduler:TagResource", - "scheduler:CreateScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "scheduler:DeleteScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:DeleteSchedule" - ] - }, - "list": { - "permissions": [ - "scheduler:ListScheduleGroups" - ] - }, - "read": { - "permissions": [ - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "scheduler:TagResource", - "scheduler:UntagResource", - "scheduler:ListTagsForResource", - "scheduler:GetScheduleGroup" - ] - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\\-]+:\\d{12}:schedule-group\\/[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "CreationDate": { - "format": "date-time", - "type": "string" - }, - "LastModificationDate": { - "format": "date-time", - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "State": { - "$ref": "#/definitions/ScheduleGroupState" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreationDate", - "/properties/LastModificationDate", - "/properties/State" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Scheduler::ScheduleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py index 6ca0233b3a..bfbd267d8d 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/__init__.py @@ -1203,6 +1203,7 @@ "alexa-ask-skill.json", "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -1422,7 +1423,6 @@ "aws-codestarconnections-repositorylink.json", "aws-codestarconnections-syncconfiguration.json", "aws-codestarnotifications-notificationrule.json", - "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", "aws-cognito-logdeliveryconfiguration.json", @@ -1527,8 +1527,11 @@ "aws-directoryservice-simplead.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-certificate.json", + "aws-dms-dataprovider.json", "aws-dms-endpoint.json", "aws-dms-eventsubscription.json", + "aws-dms-instanceprofile.json", + "aws-dms-migrationproject.json", "aws-dms-replicationconfig.json", "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", @@ -1587,7 +1590,6 @@ "aws-ec2-prefixlist.json", "aws-ec2-route.json", "aws-ec2-routetable.json", - "aws-ec2-securitygroup.json", "aws-ec2-securitygroupegress.json", "aws-ec2-securitygroupingress.json", "aws-ec2-snapshotblockpublicaccess.json", @@ -2000,15 +2002,20 @@ "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", + "aws-networkmanager-connectattachment.json", "aws-networkmanager-connectpeer.json", + "aws-networkmanager-corenetwork.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", "aws-networkmanager-link.json", "aws-networkmanager-linkassociation.json", "aws-networkmanager-site.json", + "aws-networkmanager-sitetositevpnattachment.json", "aws-networkmanager-transitgatewaypeering.json", "aws-networkmanager-transitgatewayregistration.json", + "aws-networkmanager-transitgatewayroutetableattachment.json", + "aws-networkmanager-vpcattachment.json", "aws-nimblestudio-studio.json", "aws-oam-link.json", "aws-oam-sink.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-acmpca-certificateauthority.json deleted file mode 100644 index 8ad28ae39f..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,444 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-cognito-identitypool.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-cognito-identitypool.json new file mode 100644 index 0000000000..034b2d3ba3 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-cognito-identitypool.json @@ -0,0 +1,213 @@ +{ + "additionalProperties": false, + "definitions": { + "CognitoIdentityProvider": { + "additionalProperties": false, + "properties": { + "ClientId": { + "type": "string" + }, + "ProviderName": { + "type": "string" + }, + "ServerSideTokenCheck": { + "type": "boolean" + } + }, + "required": [ + "ProviderName", + "ClientId" + ], + "type": "object" + }, + "CognitoStreams": { + "additionalProperties": false, + "properties": { + "RoleArn": { + "type": "string" + }, + "StreamName": { + "type": "string" + }, + "StreamingStatus": { + "type": "string" + } + }, + "type": "object" + }, + "PushSync": { + "additionalProperties": false, + "properties": { + "ApplicationArns": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "RoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-identity:CreateIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "iam:PassRole" + ] + }, + "delete": { + "permissions": [ + "cognito-identity:DeleteIdentityPool" + ] + }, + "list": { + "permissions": [ + "cognito-identity:ListIdentityPools" + ] + }, + "read": { + "permissions": [ + "cognito-identity:DescribeIdentityPool" + ] + }, + "update": { + "permissions": [ + "cognito-identity:UpdateIdentityPool", + "cognito-identity:DescribeIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "cognito-identity:UntagResource", + "iam:PassRole" + ] + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "AllowClassicFlow": { + "type": "boolean" + }, + "AllowUnauthenticatedIdentities": { + "type": "boolean" + }, + "CognitoEvents": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "CognitoIdentityProviders": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/CognitoIdentityProvider" + }, + "type": "array", + "uniqueItems": false + }, + "CognitoStreams": { + "$ref": "#/definitions/CognitoStreams" + }, + "DeveloperProviderName": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "IdentityPoolName": { + "type": "string" + }, + "IdentityPoolTags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + }, + "Name": { + "type": "string" + }, + "OpenIdConnectProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "PushSync": { + "$ref": "#/definitions/PushSync" + }, + "SamlProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "SupportedLoginProviders": { + "format": "json", + "type": [ + "object", + "string" + ] + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/Name" + ], + "required": [ + "AllowUnauthenticatedIdentities" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "permissions": [ + "cognito-identity:TagResource", + "cognito-identity:UntagResource" + ], + "tagOnCreate": true, + "tagProperty": "/properties/IdentityPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::IdentityPool", + "writeOnlyProperties": [ + "/properties/PushSync", + "/properties/CognitoStreams", + "/properties/CognitoEvents" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-dataprovider.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-dataprovider.json deleted file mode 100644 index 6c1007bfa0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-dataprovider.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/DataProviderName" - ] - ], - "additionalProperties": false, - "definitions": { - "DmsSslModeValue": { - "enum": [ - "none", - "require", - "verify-ca", - "verify-full" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateDataProvider", - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:GetRole", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteDataProvider" - ] - }, - "list": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateDataProvider", - "dms:ModifyDataProvider", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/DataProviderArn" - ], - "properties": { - "DataProviderArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "DataProviderIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Engine": { - "enum": [ - "postgres", - "mysql", - "oracle", - "sqlserver", - "aurora", - "aurora_postgresql" - ], - "type": "string" - }, - "ExactSettings": { - "default": false, - "type": "boolean" - }, - "Settings": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "PostgreSqlSettings" - ] - }, - { - "required": [ - "MySqlSettings" - ] - }, - { - "required": [ - "OracleSettings" - ] - }, - { - "required": [ - "MicrosoftSqlServerSettings" - ] - } - ], - "properties": { - "MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "MySqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode" - ], - "type": "object" - }, - "OracleSettings": { - "additionalProperties": false, - "properties": { - "AsmServer": { - "type": "string" - }, - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "SecretsManagerOracleAsmAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmSecretId": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "PostgreSqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/DataProviderArn", - "/properties/DataProviderCreationTime" - ], - "required": [ - "Engine" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-dms.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::DataProvider", - "writeOnlyProperties": [ - "/properties/DataProviderIdentifier", - "/properties/ExactSettings" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-instanceprofile.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-instanceprofile.json deleted file mode 100644 index 1e6c803e41..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-instanceprofile.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/InstanceProfileName" - ] - ], - "additionalProperties": false, - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateInstanceProfile", - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:AddTagsToResource", - "dms:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteInstanceProfile" - ] - }, - "list": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateInstanceProfile", - "dms:ModifyInstanceProfile", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/InstanceProfileArn" - ], - "properties": { - "AvailabilityZone": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "NetworkType": { - "enum": [ - "IPV4", - "IPV6", - "DUAL" - ], - "type": "string" - }, - "PubliclyAccessible": { - "default": false, - "type": "boolean" - }, - "SubnetGroupIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "VpcSecurityGroups": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/InstanceProfileArn", - "/properties/InstanceProfileCreationTime" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::InstanceProfile", - "writeOnlyProperties": [ - "/properties/InstanceProfileIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-migrationproject.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-migrationproject.json deleted file mode 100644 index a72821a065..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-dms-migrationproject.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/MigrationProjectName" - ] - ], - "additionalProperties": false, - "definitions": { - "DataProviderDescriptor": { - "additionalProperties": false, - "properties": { - "DataProviderArn": { - "type": "string" - }, - "DataProviderIdentifier": { - "type": "string" - }, - "DataProviderName": { - "type": "string" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "deprecatedProperties": [ - "/properties/MigrationProjectCreationTime" - ], - "handlers": { - "create": { - "permissions": [ - "dms:CreateMigrationProject", - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteMigrationProject" - ] - }, - "list": { - "permissions": [ - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:DescribeMigrationProjects", - "dms:ListMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateMigrationProject", - "dms:ModifyMigrationProject", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - } - }, - "primaryIdentifier": [ - "/properties/MigrationProjectArn" - ], - "properties": { - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "MigrationProjectIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "SchemaConversionApplicationAttributes": { - "additionalProperties": false, - "properties": { - "S3BucketPath": { - "type": "string" - }, - "S3BucketRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "SourceDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TargetDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "TransformationRules": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/MigrationProjectArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::MigrationProject", - "writeOnlyProperties": [ - "/properties/MigrationProjectIdentifier", - "/properties/InstanceProfileIdentifier", - "/properties/SourceDataProviderDescriptors/*/DataProviderIdentifier", - "/properties/TargetDataProviderDescriptors/*/DataProviderIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-ec2-securitygroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-ec2-securitygroup.json new file mode 100644 index 0000000000..2f7e3ef4ca --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-ec2-securitygroup.json @@ -0,0 +1,244 @@ +{ + "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/master/src/main/resources/schema/provider.definition.schema.v1.json", + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/GroupDescription", + "/properties/GroupName", + "/properties/VpcId" + ], + "definitions": { + "Egress": { + "additionalProperties": false, + "properties": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DestinationPrefixListId": { + "type": "string" + }, + "DestinationSecurityGroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "FromPort": { + "minimum": -1, + "type": "integer" + }, + "IpProtocol": { + "type": "string" + }, + "ToPort": { + "minimum": -1, + "type": "integer" + } + }, + "required": [ + "IpProtocol" + ], + "requiredXor": [ + "CidrIp", + "CidrIpv6", + "DestinationSecurityGroupId", + "DestinationPrefixListId" + ], + "type": "object" + }, + "Ingress": { + "additionalProperties": false, + "properties": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "FromPort": { + "minimum": -1, + "type": "integer" + }, + "IpProtocol": { + "type": "string" + }, + "SourcePrefixListId": { + "type": "string" + }, + "SourceSecurityGroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "SourceSecurityGroupName": { + "format": "AWS::EC2::SecurityGroup.GroupName", + "type": "string" + }, + "SourceSecurityGroupOwnerId": { + "type": "string" + }, + "ToPort": { + "minimum": -1, + "type": "integer" + } + }, + "required": [ + "IpProtocol" + ], + "requiredXor": [ + "CidrIp", + "CidrIpv6", + "SourcePrefixListId", + "SourceSecurityGroupId", + "SourceSecurityGroupName" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + } + }, + "dependentRequired": { + "SecurityGroupEgress": [ + "VpcId" + ] + }, + "handlers": { + "create": { + "permissions": [ + "ec2:CreateSecurityGroup", + "ec2:DescribeSecurityGroups", + "ec2:RevokeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupIngress", + "ec2:CreateTags" + ] + }, + "delete": { + "permissions": [ + "ec2:DescribeSecurityGroups", + "ec2:DeleteSecurityGroup", + "ec2:DescribeInstances" + ] + }, + "list": { + "permissions": [ + "ec2:DescribeSecurityGroups" + ] + }, + "read": { + "permissions": [ + "ec2:DescribeSecurityGroups" + ] + }, + "update": { + "permissions": [ + "ec2:RevokeSecurityGroupEgress", + "ec2:RevokeSecurityGroupIngress", + "ec2:DescribeSecurityGroups", + "ec2:AuthorizeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupIngress", + "ec2:CreateTags", + "ec2:DeleteTags" + ] + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "GroupDescription": { + "maxLength": 255, + "minLength": 0, + "pattern": "^([a-z,A-Z,0-9,. _\\-:/()#,@[\\]+=&;\\{\\}!$*])*$", + "type": "string" + }, + "GroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "GroupName": { + "format": "AWS::EC2::SecurityGroup.GroupName", + "type": "string" + }, + "Id": { + "type": "string" + }, + "SecurityGroupEgress": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Egress" + }, + "type": "array", + "uniqueItems": false + }, + "SecurityGroupIngress": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Ingress" + }, + "type": "array", + "uniqueItems": false + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "propertyTransform": { + "/properties/SecurityGroupEgress/*/FromPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? FromPort : -1)", + "/properties/SecurityGroupEgress/*/IpProtocol": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$mapVal ? $mapVal : $lowercase(IpProtocol))", + "/properties/SecurityGroupEgress/*/ToPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? ToPort : -1)", + "/properties/SecurityGroupIngress/*/FromPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? FromPort : -1)", + "/properties/SecurityGroupIngress/*/IpProtocol": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$mapVal ? $mapVal : $lowercase(IpProtocol))", + "/properties/SecurityGroupIngress/*/ToPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? ToPort : -1)" + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/GroupId" + ], + "required": [ + "GroupDescription" + ], + "tagging": { + "cloudFormationSystemTags": true, + "permissions": [ + "ec2:CreateTags", + "ec2:DeleteTags" + ], + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::EC2::SecurityGroup", + "writeOnlyProperties": [ + "/properties/SecurityGroupIngress/*/SourceSecurityGroupName" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-connectattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-connectattachment.json deleted file mode 100644 index 6ebaa23e63..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-connectattachment.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/EdgeLocation", - "/properties/TransportAttachmentId", - "/properties/Options" - ], - "definitions": { - "ConnectAttachmentOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:CreateConnectAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetConnectAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/ConnectAttachmentOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransportAttachmentId": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "EdgeLocation", - "TransportAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::ConnectAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-corenetwork.json deleted file mode 100644 index a33cde44d0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-corenetwork.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkArn" - ], - [ - "/properties/GlobalNetworkId" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalNetworkId" - ], - "definitions": { - "CoreNetworkEdge": { - "additionalProperties": false, - "properties": { - "Asn": { - "type": "number" - }, - "EdgeLocation": { - "type": "string" - }, - "InsideCidrBlocks": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CoreNetworkSegment": { - "additionalProperties": false, - "properties": { - "EdgeLocations": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SharedSegments": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteCoreNetwork", - "networkmanager:UntagResource", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListCoreNetworks" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:ListTagsForResource", - "networkmanager:PutCoreNetworkPolicy", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:ExecuteCoreNetworkChangeSet", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - } - }, - "primaryIdentifier": [ - "/properties/CoreNetworkId" - ], - "properties": { - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Edges": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkEdge" - }, - "type": "array" - }, - "GlobalNetworkId": { - "type": "string" - }, - "OwnerAccount": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Segments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkSegment" - }, - "type": "array" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/OwnerAccount", - "/properties/CoreNetworkId", - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/State", - "/properties/Segments", - "/properties/Edges" - ], - "required": [ - "GlobalNetworkId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::CoreNetwork" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-sitetositevpnattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-sitetositevpnattachment.json deleted file mode 100644 index 899ed1a630..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-sitetositevpnattachment.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:CreateSiteToSiteVpnAttachment", - "ec2:DescribeRegions", - "networkmanager:TagResource" - ], - "timeoutInMinutes": 40 - }, - "delete": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpnConnectionArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "VpnConnectionArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-transitgatewayroutetableattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-transitgatewayroutetableattachment.json deleted file mode 100644 index 62e5e8099c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-transitgatewayroutetableattachment.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PeeringId", - "/properties/TransitGatewayRouteTableArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "insertionOrder": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateTransitGatewayRouteTableAttachment", - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:TagResource", - "iam:CreateServiceLinkedRole", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "PeeringId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransitGatewayRouteTableArn": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CoreNetworkId", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "PeeringId", - "TransitGatewayRouteTableArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewayroutetableattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-vpcattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-vpcattachment.json deleted file mode 100644 index 73865f4906..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_1/aws-networkmanager-vpcattachment.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VpcOptions": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "default": false, - "type": "boolean" - }, - "Ipv6Support": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions", - "iam:CreateServiceLinkedRole" - ], - "timeoutInMinutes": 60 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetVpcAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/VpcOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpcArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName", - "/properties/ResourceArn" - ], - "required": [ - "CoreNetworkId", - "VpcArn", - "SubnetArns" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::VpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py index 1b379a953e..29ca2e3ab2 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/__init__.py @@ -1227,6 +1227,7 @@ "alexa-ask-skill.json", "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -1448,11 +1449,8 @@ "aws-codestarconnections-repositorylink.json", "aws-codestarconnections-syncconfiguration.json", "aws-codestarnotifications-notificationrule.json", - "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -1558,8 +1556,11 @@ "aws-directoryservice-simplead.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-certificate.json", + "aws-dms-dataprovider.json", "aws-dms-endpoint.json", "aws-dms-eventsubscription.json", + "aws-dms-instanceprofile.json", + "aws-dms-migrationproject.json", "aws-dms-replicationconfig.json", "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", @@ -1602,7 +1603,9 @@ "aws-ec2-keypair.json", "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", + "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", + "aws-ec2-localgatewayroutetablevpcassociation.json", "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkaclentry.json", @@ -2042,15 +2045,20 @@ "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", + "aws-networkmanager-connectattachment.json", "aws-networkmanager-connectpeer.json", + "aws-networkmanager-corenetwork.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", "aws-networkmanager-link.json", "aws-networkmanager-linkassociation.json", "aws-networkmanager-site.json", + "aws-networkmanager-sitetositevpnattachment.json", "aws-networkmanager-transitgatewaypeering.json", "aws-networkmanager-transitgatewayregistration.json", + "aws-networkmanager-transitgatewayroutetableattachment.json", + "aws-networkmanager-vpcattachment.json", "aws-nimblestudio-launchprofile.json", "aws-nimblestudio-streamingimage.json", "aws-nimblestudio-studio.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-acmpca-certificateauthority.json deleted file mode 100644 index 8ad28ae39f..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,444 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-identitypool.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-identitypool.json new file mode 100644 index 0000000000..034b2d3ba3 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-identitypool.json @@ -0,0 +1,213 @@ +{ + "additionalProperties": false, + "definitions": { + "CognitoIdentityProvider": { + "additionalProperties": false, + "properties": { + "ClientId": { + "type": "string" + }, + "ProviderName": { + "type": "string" + }, + "ServerSideTokenCheck": { + "type": "boolean" + } + }, + "required": [ + "ProviderName", + "ClientId" + ], + "type": "object" + }, + "CognitoStreams": { + "additionalProperties": false, + "properties": { + "RoleArn": { + "type": "string" + }, + "StreamName": { + "type": "string" + }, + "StreamingStatus": { + "type": "string" + } + }, + "type": "object" + }, + "PushSync": { + "additionalProperties": false, + "properties": { + "ApplicationArns": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "RoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-identity:CreateIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "iam:PassRole" + ] + }, + "delete": { + "permissions": [ + "cognito-identity:DeleteIdentityPool" + ] + }, + "list": { + "permissions": [ + "cognito-identity:ListIdentityPools" + ] + }, + "read": { + "permissions": [ + "cognito-identity:DescribeIdentityPool" + ] + }, + "update": { + "permissions": [ + "cognito-identity:UpdateIdentityPool", + "cognito-identity:DescribeIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "cognito-identity:UntagResource", + "iam:PassRole" + ] + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "AllowClassicFlow": { + "type": "boolean" + }, + "AllowUnauthenticatedIdentities": { + "type": "boolean" + }, + "CognitoEvents": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "CognitoIdentityProviders": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/CognitoIdentityProvider" + }, + "type": "array", + "uniqueItems": false + }, + "CognitoStreams": { + "$ref": "#/definitions/CognitoStreams" + }, + "DeveloperProviderName": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "IdentityPoolName": { + "type": "string" + }, + "IdentityPoolTags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + }, + "Name": { + "type": "string" + }, + "OpenIdConnectProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "PushSync": { + "$ref": "#/definitions/PushSync" + }, + "SamlProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "SupportedLoginProviders": { + "format": "json", + "type": [ + "object", + "string" + ] + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/Name" + ], + "required": [ + "AllowUnauthenticatedIdentities" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "permissions": [ + "cognito-identity:TagResource", + "cognito-identity:UntagResource" + ], + "tagOnCreate": true, + "tagProperty": "/properties/IdentityPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::IdentityPool", + "writeOnlyProperties": [ + "/properties/PushSync", + "/properties/CognitoStreams", + "/properties/CognitoEvents" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-dataprovider.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-dataprovider.json deleted file mode 100644 index 6c1007bfa0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-dataprovider.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/DataProviderName" - ] - ], - "additionalProperties": false, - "definitions": { - "DmsSslModeValue": { - "enum": [ - "none", - "require", - "verify-ca", - "verify-full" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateDataProvider", - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:GetRole", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteDataProvider" - ] - }, - "list": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateDataProvider", - "dms:ModifyDataProvider", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/DataProviderArn" - ], - "properties": { - "DataProviderArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "DataProviderIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Engine": { - "enum": [ - "postgres", - "mysql", - "oracle", - "sqlserver", - "aurora", - "aurora_postgresql" - ], - "type": "string" - }, - "ExactSettings": { - "default": false, - "type": "boolean" - }, - "Settings": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "PostgreSqlSettings" - ] - }, - { - "required": [ - "MySqlSettings" - ] - }, - { - "required": [ - "OracleSettings" - ] - }, - { - "required": [ - "MicrosoftSqlServerSettings" - ] - } - ], - "properties": { - "MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "MySqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode" - ], - "type": "object" - }, - "OracleSettings": { - "additionalProperties": false, - "properties": { - "AsmServer": { - "type": "string" - }, - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "SecretsManagerOracleAsmAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmSecretId": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "PostgreSqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/DataProviderArn", - "/properties/DataProviderCreationTime" - ], - "required": [ - "Engine" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-dms.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::DataProvider", - "writeOnlyProperties": [ - "/properties/DataProviderIdentifier", - "/properties/ExactSettings" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-instanceprofile.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-instanceprofile.json deleted file mode 100644 index 1e6c803e41..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-instanceprofile.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/InstanceProfileName" - ] - ], - "additionalProperties": false, - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateInstanceProfile", - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:AddTagsToResource", - "dms:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteInstanceProfile" - ] - }, - "list": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateInstanceProfile", - "dms:ModifyInstanceProfile", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/InstanceProfileArn" - ], - "properties": { - "AvailabilityZone": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "NetworkType": { - "enum": [ - "IPV4", - "IPV6", - "DUAL" - ], - "type": "string" - }, - "PubliclyAccessible": { - "default": false, - "type": "boolean" - }, - "SubnetGroupIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "VpcSecurityGroups": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/InstanceProfileArn", - "/properties/InstanceProfileCreationTime" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::InstanceProfile", - "writeOnlyProperties": [ - "/properties/InstanceProfileIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-migrationproject.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-migrationproject.json deleted file mode 100644 index a72821a065..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-dms-migrationproject.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/MigrationProjectName" - ] - ], - "additionalProperties": false, - "definitions": { - "DataProviderDescriptor": { - "additionalProperties": false, - "properties": { - "DataProviderArn": { - "type": "string" - }, - "DataProviderIdentifier": { - "type": "string" - }, - "DataProviderName": { - "type": "string" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "deprecatedProperties": [ - "/properties/MigrationProjectCreationTime" - ], - "handlers": { - "create": { - "permissions": [ - "dms:CreateMigrationProject", - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteMigrationProject" - ] - }, - "list": { - "permissions": [ - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:DescribeMigrationProjects", - "dms:ListMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateMigrationProject", - "dms:ModifyMigrationProject", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - } - }, - "primaryIdentifier": [ - "/properties/MigrationProjectArn" - ], - "properties": { - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "MigrationProjectIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "SchemaConversionApplicationAttributes": { - "additionalProperties": false, - "properties": { - "S3BucketPath": { - "type": "string" - }, - "S3BucketRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "SourceDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TargetDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "TransformationRules": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/MigrationProjectArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::MigrationProject", - "writeOnlyProperties": [ - "/properties/MigrationProjectIdentifier", - "/properties/InstanceProfileIdentifier", - "/properties/SourceDataProviderDescriptors/*/DataProviderIdentifier", - "/properties/TargetDataProviderDescriptors/*/DataProviderIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-ec2-localgatewayroutetable.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-ec2-localgatewayroutetable.json deleted file mode 100644 index f38818d6f9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-ec2-localgatewayroutetable.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/Mode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableArn": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "OutpostArn": { - "type": "string" - }, - "OwnerId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/LocalGatewayRouteTableArn", - "/properties/OutpostArn", - "/properties/OwnerId", - "/properties/State" - ], - "replacementStrategy": "delete_then_create", - "required": [ - "LocalGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTable" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-ec2-localgatewayroutetablevpcassociation.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-ec2-localgatewayroutetablevpcassociation.json deleted file mode 100644 index 001e95a09d..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-ec2-localgatewayroutetablevpcassociation.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableVpcAssociationId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayRouteTableVpcAssociationId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/LocalGatewayRouteTableVpcAssociationId", - "/properties/State" - ], - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTableVPCAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-connectattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-connectattachment.json deleted file mode 100644 index 6ebaa23e63..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-connectattachment.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/EdgeLocation", - "/properties/TransportAttachmentId", - "/properties/Options" - ], - "definitions": { - "ConnectAttachmentOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:CreateConnectAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetConnectAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/ConnectAttachmentOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransportAttachmentId": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "EdgeLocation", - "TransportAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::ConnectAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-corenetwork.json deleted file mode 100644 index a33cde44d0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-corenetwork.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkArn" - ], - [ - "/properties/GlobalNetworkId" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalNetworkId" - ], - "definitions": { - "CoreNetworkEdge": { - "additionalProperties": false, - "properties": { - "Asn": { - "type": "number" - }, - "EdgeLocation": { - "type": "string" - }, - "InsideCidrBlocks": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CoreNetworkSegment": { - "additionalProperties": false, - "properties": { - "EdgeLocations": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SharedSegments": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteCoreNetwork", - "networkmanager:UntagResource", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListCoreNetworks" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:ListTagsForResource", - "networkmanager:PutCoreNetworkPolicy", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:ExecuteCoreNetworkChangeSet", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - } - }, - "primaryIdentifier": [ - "/properties/CoreNetworkId" - ], - "properties": { - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Edges": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkEdge" - }, - "type": "array" - }, - "GlobalNetworkId": { - "type": "string" - }, - "OwnerAccount": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Segments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkSegment" - }, - "type": "array" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/OwnerAccount", - "/properties/CoreNetworkId", - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/State", - "/properties/Segments", - "/properties/Edges" - ], - "required": [ - "GlobalNetworkId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::CoreNetwork" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-sitetositevpnattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-sitetositevpnattachment.json deleted file mode 100644 index 899ed1a630..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-sitetositevpnattachment.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:CreateSiteToSiteVpnAttachment", - "ec2:DescribeRegions", - "networkmanager:TagResource" - ], - "timeoutInMinutes": 40 - }, - "delete": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpnConnectionArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "VpnConnectionArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-transitgatewayroutetableattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-transitgatewayroutetableattachment.json deleted file mode 100644 index 62e5e8099c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-transitgatewayroutetableattachment.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PeeringId", - "/properties/TransitGatewayRouteTableArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "insertionOrder": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateTransitGatewayRouteTableAttachment", - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:TagResource", - "iam:CreateServiceLinkedRole", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "PeeringId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransitGatewayRouteTableArn": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CoreNetworkId", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "PeeringId", - "TransitGatewayRouteTableArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewayroutetableattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-vpcattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-vpcattachment.json deleted file mode 100644 index 73865f4906..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_2/aws-networkmanager-vpcattachment.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VpcOptions": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "default": false, - "type": "boolean" - }, - "Ipv6Support": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions", - "iam:CreateServiceLinkedRole" - ], - "timeoutInMinutes": 60 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetVpcAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/VpcOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpcArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName", - "/properties/ResourceArn" - ], - "required": [ - "CoreNetworkId", - "VpcArn", - "SubnetArns" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::VpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py index 6e2e356633..f71d167b91 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/__init__.py @@ -708,7 +708,9 @@ # pylint: disable=too-many-lines cached: list[str] = [ "Module", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -822,8 +824,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -889,7 +889,9 @@ "aws-ec2-keypair.json", "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", + "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", + "aws-ec2-localgatewayroutetablevpcassociation.json", "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkinterface.json", @@ -911,10 +913,19 @@ "aws-ec2-trafficmirrorfilter.json", "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", "aws-ec2-transitgatewayroutetablepropagation.json", + "aws-ec2-transitgatewayvpcattachment.json", "aws-ec2-verifiedaccessendpoint.json", "aws-ec2-verifiedaccessgroup.json", "aws-ec2-verifiedaccessinstance.json", @@ -939,6 +950,7 @@ "aws-ecr-repository.json", "aws-ecr-repositorycreationtemplate.json", "aws-ecs-capacityprovider.json", + "aws-ecs-cluster.json", "aws-ecs-clustercapacityproviderassociations.json", "aws-ecs-primarytaskset.json", "aws-ecs-service.json", @@ -1103,15 +1115,20 @@ "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", + "aws-networkmanager-connectattachment.json", "aws-networkmanager-connectpeer.json", + "aws-networkmanager-corenetwork.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", "aws-networkmanager-link.json", "aws-networkmanager-linkassociation.json", "aws-networkmanager-site.json", + "aws-networkmanager-sitetositevpnattachment.json", "aws-networkmanager-transitgatewaypeering.json", "aws-networkmanager-transitgatewayregistration.json", + "aws-networkmanager-transitgatewayroutetableattachment.json", + "aws-networkmanager-vpcattachment.json", "aws-oam-link.json", "aws-oam-sink.json", "aws-opensearchservice-domain.json", @@ -1168,6 +1185,7 @@ "aws-resourceexplorer2-view.json", "aws-resourcegroups-group.json", "aws-rolesanywhere-crl.json", + "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", "aws-route53-cidrcollection.json", "aws-route53-dnssec.json", @@ -1178,12 +1196,14 @@ "aws-route53profiles-profileassociation.json", "aws-route53profiles-profileresourceassociation.json", "aws-route53resolver-firewalldomainlist.json", + "aws-route53resolver-firewallrulegroup.json", "aws-route53resolver-firewallrulegroupassociation.json", "aws-route53resolver-outpostresolver.json", "aws-route53resolver-resolverconfig.json", "aws-route53resolver-resolverdnssecconfig.json", "aws-route53resolver-resolverqueryloggingconfig.json", "aws-route53resolver-resolverqueryloggingconfigassociation.json", + "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-rum-appmonitor.json", "aws-s3-accessgrant.json", @@ -1221,6 +1241,7 @@ "aws-sagemaker-userprofile.json", "aws-sagemaker-workteam.json", "aws-scheduler-schedule.json", + "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", "aws-secretsmanager-rotationschedule.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-acmpca-certificateauthority.json deleted file mode 100644 index bac8f101fb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "CustomPath": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "MaxPartitionSizeMB": { - "type": "integer" - }, - "PartitioningEnabled": { - "type": "boolean" - }, - "RetainExpiredCertificates": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-localgatewayroutetable.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-localgatewayroutetable.json deleted file mode 100644 index f38818d6f9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-localgatewayroutetable.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/Mode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableArn": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "OutpostArn": { - "type": "string" - }, - "OwnerId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/LocalGatewayRouteTableArn", - "/properties/OutpostArn", - "/properties/OwnerId", - "/properties/State" - ], - "replacementStrategy": "delete_then_create", - "required": [ - "LocalGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTable" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-localgatewayroutetablevpcassociation.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-localgatewayroutetablevpcassociation.json deleted file mode 100644 index 001e95a09d..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-localgatewayroutetablevpcassociation.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableVpcAssociationId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayRouteTableVpcAssociationId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/LocalGatewayRouteTableVpcAssociationId", - "/properties/State" - ], - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTableVPCAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgateway.json deleted file mode 100644 index 54dbdc58c5..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgateway.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGateway", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGateways", - "ec2:DescribeTags" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGateways", - "ec2:DescribeTags" - ] - }, - "update": { - "permissions": [ - "ec2:ModifyTransitGateway", - "ec2:DeleteTags", - "ec2:CreateTags", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "taggable": true, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index dd8838fe93..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags" - ] - }, - "update": { - "permissions": [ - "ec2:ModifyTransitGatewayVpcAttachment", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastgroupmember.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastgroupmember.json deleted file mode 100644 index 7c84a9b5e9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastgroupmember.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupMember" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayvpcattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayvpcattachment.json deleted file mode 100644 index 228a71ca58..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ec2-transitgatewayvpcattachment.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/SubnetIds", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags" - ] - }, - "update": { - "permissions": [ - "ec2:ModifyTransitGatewayVpcAttachment", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AddSubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "RemoveSubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SubnetIds", - "VpcId", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayVpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ecs-cluster.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ecs-cluster.json deleted file mode 100644 index af82f4c69c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-ecs-cluster.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName" - ], - "definitions": { - "CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "integer" - }, - "CapacityProvider": { - "relationshipRef": { - "propertyPath": "/properties/Name", - "typeName": "AWS::ECS::CapacityProvider" - }, - "type": "string" - }, - "Weight": { - "type": "integer" - } - }, - "type": "object" - }, - "ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "ServiceConnectDefaults": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ecs:CreateCluster", - "ecs:DescribeClusters", - "iam:CreateServiceLinkedRole", - "ecs:TagResource" - ] - }, - "delete": { - "permissions": [ - "ecs:DeleteCluster", - "ecs:DescribeClusters" - ] - }, - "list": { - "permissions": [ - "ecs:DescribeClusters", - "ecs:ListClusters" - ] - }, - "read": { - "permissions": [ - "ecs:DescribeClusters" - ] - }, - "update": { - "permissions": [ - "ecs:PutAccountSettingDefault", - "ecs:DescribeClusters", - "ecs:TagResource", - "ecs:UntagResource", - "ecs:PutAccountSetting", - "ecs:ListTagsForResource", - "ecs:UpdateCluster", - "ecs:UpdateClusterSettings", - "ecs:PutClusterCapacityProviders" - ] - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/CapacityProviderStrategyItem" - }, - "type": "array" - }, - "ServiceConnectDefaults": { - "$ref": "#/definitions/ServiceConnectDefaults" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "tagging": { - "taggable": true - }, - "typeName": "AWS::ECS::Cluster", - "writeOnlyProperties": [ - "/properties/ServiceConnectDefaults" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-connectattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-connectattachment.json deleted file mode 100644 index 6ebaa23e63..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-connectattachment.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/EdgeLocation", - "/properties/TransportAttachmentId", - "/properties/Options" - ], - "definitions": { - "ConnectAttachmentOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:CreateConnectAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetConnectAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/ConnectAttachmentOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransportAttachmentId": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "EdgeLocation", - "TransportAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::ConnectAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-corenetwork.json deleted file mode 100644 index a33cde44d0..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-corenetwork.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkArn" - ], - [ - "/properties/GlobalNetworkId" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalNetworkId" - ], - "definitions": { - "CoreNetworkEdge": { - "additionalProperties": false, - "properties": { - "Asn": { - "type": "number" - }, - "EdgeLocation": { - "type": "string" - }, - "InsideCidrBlocks": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CoreNetworkSegment": { - "additionalProperties": false, - "properties": { - "EdgeLocations": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SharedSegments": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteCoreNetwork", - "networkmanager:UntagResource", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListCoreNetworks" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:ListTagsForResource", - "networkmanager:PutCoreNetworkPolicy", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:ExecuteCoreNetworkChangeSet", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - } - }, - "primaryIdentifier": [ - "/properties/CoreNetworkId" - ], - "properties": { - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Edges": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkEdge" - }, - "type": "array" - }, - "GlobalNetworkId": { - "type": "string" - }, - "OwnerAccount": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Segments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkSegment" - }, - "type": "array" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/OwnerAccount", - "/properties/CoreNetworkId", - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/State", - "/properties/Segments", - "/properties/Edges" - ], - "required": [ - "GlobalNetworkId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::CoreNetwork" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-sitetositevpnattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-sitetositevpnattachment.json deleted file mode 100644 index 899ed1a630..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-sitetositevpnattachment.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:CreateSiteToSiteVpnAttachment", - "ec2:DescribeRegions", - "networkmanager:TagResource" - ], - "timeoutInMinutes": 40 - }, - "delete": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpnConnectionArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "VpnConnectionArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-transitgatewayroutetableattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-transitgatewayroutetableattachment.json deleted file mode 100644 index 62e5e8099c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-transitgatewayroutetableattachment.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PeeringId", - "/properties/TransitGatewayRouteTableArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "insertionOrder": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateTransitGatewayRouteTableAttachment", - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:TagResource", - "iam:CreateServiceLinkedRole", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "PeeringId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransitGatewayRouteTableArn": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CoreNetworkId", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "PeeringId", - "TransitGatewayRouteTableArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewayroutetableattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-vpcattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-vpcattachment.json deleted file mode 100644 index 73865f4906..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-networkmanager-vpcattachment.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VpcOptions": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "default": false, - "type": "boolean" - }, - "Ipv6Support": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions", - "iam:CreateServiceLinkedRole" - ], - "timeoutInMinutes": 60 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetVpcAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/VpcOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpcArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName", - "/properties/ResourceArn" - ], - "required": [ - "CoreNetworkId", - "VpcArn", - "SubnetArns" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::VpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-rolesanywhere-profile.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-rolesanywhere-profile.json deleted file mode 100644 index 8303473193..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-rolesanywhere-profile.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AttributeMapping": { - "additionalProperties": false, - "properties": { - "CertificateField": { - "$ref": "#/definitions/CertificateField" - }, - "MappingRules": { - "items": { - "$ref": "#/definitions/MappingRule" - }, - "type": "array" - } - }, - "required": [ - "CertificateField", - "MappingRules" - ], - "type": "object" - }, - "CertificateField": { - "enum": [ - "x509Subject", - "x509Issuer", - "x509SAN" - ], - "type": "string" - }, - "MappingRule": { - "additionalProperties": false, - "properties": { - "Specifier": { - "type": "string" - } - }, - "required": [ - "Specifier" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:CreateProfile", - "rolesanywhere:TagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - }, - "delete": { - "permissions": [ - "rolesanywhere:DeleteProfile" - ] - }, - "list": { - "permissions": [ - "rolesanywhere:ListProfiles", - "rolesanywhere:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "rolesanywhere:GetProfile", - "rolesanywhere:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:GetProfile", - "rolesanywhere:UpdateProfile", - "rolesanywhere:EnableProfile", - "rolesanywhere:DisableProfile", - "rolesanywhere:TagResource", - "rolesanywhere:UntagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - } - }, - "primaryIdentifier": [ - "/properties/ProfileId" - ], - "properties": { - "AttributeMappings": { - "items": { - "$ref": "#/definitions/AttributeMapping" - }, - "type": "array" - }, - "DurationSeconds": { - "maximum": 43200, - "minimum": 900, - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ProfileArn": { - "type": "string" - }, - "ProfileId": { - "pattern": "[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}", - "type": "string" - }, - "RequireInstanceProperties": { - "type": "boolean" - }, - "RoleArns": { - "items": { - "maxLength": 1011, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "SessionPolicy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ProfileId", - "/properties/ProfileArn" - ], - "required": [ - "Name", - "RoleArns" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RolesAnywhere::Profile" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-route53resolver-firewallrulegroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-route53resolver-firewallrulegroup.json deleted file mode 100644 index aaa7151526..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-route53resolver-firewallrulegroup.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "enum": [ - "ALLOW", - "BLOCK", - "ALERT" - ], - "type": "string" - }, - "BlockOverrideDnsType": { - "enum": [ - "CNAME" - ], - "type": "string" - }, - "BlockOverrideDomain": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "BlockOverrideTtl": { - "maximum": 604800, - "minimum": 0, - "type": "integer" - }, - "BlockResponse": { - "enum": [ - "NODATA", - "NXDOMAIN", - "OVERRIDE" - ], - "type": "string" - }, - "FirewallDomainListId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Priority": { - "type": "integer" - }, - "Qtype": { - "maxLength": 16, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "FirewallDomainListId", - "Priority", - "Action" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "delete": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "list": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "read": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "update": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "maxLength": 600, - "minLength": 1, - "type": "string" - }, - "CreationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "CreatorRequestId": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "FirewallRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ModificationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)", - "type": "string" - }, - "OwnerId": { - "maxLength": 32, - "minLength": 12, - "type": "string" - }, - "RuleCount": { - "type": "integer" - }, - "ShareStatus": { - "enum": [ - "NOT_SHARED", - "SHARED_WITH_ME", - "SHARED_BY_ME" - ], - "type": "string" - }, - "Status": { - "enum": [ - "COMPLETE", - "DELETING", - "UPDATING", - "INACTIVE_OWNER_ACCOUNT_CLOSED" - ], - "type": "string" - }, - "StatusMessage": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/Arn", - "/properties/RuleCount", - "/properties/Status", - "/properties/StatusMessage", - "/properties/OwnerId", - "/properties/ShareStatus", - "/properties/CreatorRequestId", - "/properties/CreationTime", - "/properties/ModificationTime" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::FirewallRuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-route53resolver-resolverrule.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-route53resolver-resolverrule.json deleted file mode 100644 index ca41a553a3..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-route53resolver-resolverrule.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/DomainName" - ], - "createOnlyProperties": [ - "/properties/RuleType" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Ipv6": { - "type": "string" - }, - "Port": { - "maxLength": 65535, - "minLength": 0, - "type": "string" - }, - "Protocol": { - "enum": [ - "Do53", - "DoH" - ], - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:CreateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource" - ] - }, - "delete": { - "permissions": [ - "route53resolver:DeleteResolverRule", - "route53resolver:GetResolverRule" - ] - }, - "list": { - "permissions": [ - "route53resolver:ListResolverRules" - ] - }, - "read": { - "permissions": [ - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "route53resolver:UpdateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource", - "route53resolver:UntagResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/ResolverRuleId" - ], - "properties": { - "Arn": { - "type": "string" - }, - "DomainName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 0, - "type": "string" - }, - "ResolverEndpointId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "RuleType": { - "enum": [ - "FORWARD", - "SYSTEM", - "RECURSIVE" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TargetIps": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/TargetAddress" - }, - "type": "array", - "uniqueItems": false - } - }, - "propertyTransform": { - "/properties/DomainName": "$join([DomainName, \".\"]) $OR DomainName" - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/ResolverRuleId" - ], - "required": [ - "DomainName", - "RuleType" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-route53resolver.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::ResolverRule" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-scheduler-schedulegroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-scheduler-schedulegroup.json deleted file mode 100644 index 24fd8cef8b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_3/aws-scheduler-schedulegroup.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ScheduleGroupState": { - "enum": [ - "ACTIVE", - "DELETING" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "scheduler:TagResource", - "scheduler:CreateScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "scheduler:DeleteScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:DeleteSchedule" - ] - }, - "list": { - "permissions": [ - "scheduler:ListScheduleGroups" - ] - }, - "read": { - "permissions": [ - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "scheduler:TagResource", - "scheduler:UntagResource", - "scheduler:ListTagsForResource", - "scheduler:GetScheduleGroup" - ] - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\\-]+:\\d{12}:schedule-group\\/[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "CreationDate": { - "format": "date-time", - "type": "string" - }, - "LastModificationDate": { - "format": "date-time", - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "State": { - "$ref": "#/definitions/ScheduleGroupState" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreationDate", - "/properties/LastModificationDate", - "/properties/State" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Scheduler::ScheduleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py b/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py index b140f7713a..91dfcb26ce 100644 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/__init__.py @@ -627,7 +627,9 @@ # pylint: disable=too-many-lines cached: list[str] = [ "Module", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -726,8 +728,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolriskconfigurationattachment.json", @@ -809,10 +809,19 @@ "aws-ec2-trafficmirrorfilter.json", "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", "aws-ec2-transitgatewayroutetablepropagation.json", + "aws-ec2-transitgatewayvpcattachment.json", "aws-ec2-volumeattachment.json", "aws-ec2-vpc.json", "aws-ec2-vpccidrblock.json", @@ -832,6 +841,7 @@ "aws-ecr-repository.json", "aws-ecr-repositorycreationtemplate.json", "aws-ecs-capacityprovider.json", + "aws-ecs-cluster.json", "aws-ecs-clustercapacityproviderassociations.json", "aws-ecs-primarytaskset.json", "aws-ecs-service.json", @@ -1040,6 +1050,7 @@ "aws-resourceexplorer2-view.json", "aws-resourcegroups-group.json", "aws-rolesanywhere-crl.json", + "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", "aws-route53-dnssec.json", "aws-route53-keysigningkey.json", @@ -1049,12 +1060,14 @@ "aws-route53profiles-profileassociation.json", "aws-route53profiles-profileresourceassociation.json", "aws-route53resolver-firewalldomainlist.json", + "aws-route53resolver-firewallrulegroup.json", "aws-route53resolver-firewallrulegroupassociation.json", "aws-route53resolver-resolverconfig.json", "aws-route53resolver-resolverdnssecconfig.json", "aws-route53resolver-resolverendpoint.json", "aws-route53resolver-resolverqueryloggingconfig.json", "aws-route53resolver-resolverqueryloggingconfigassociation.json", + "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-rum-appmonitor.json", "aws-s3-accessgrant.json", @@ -1068,6 +1081,7 @@ "aws-sagemaker-mlflowtrackingserver.json", "aws-sagemaker-modelcard.json", "aws-scheduler-schedule.json", + "aws-scheduler-schedulegroup.json", "aws-sdb-domain.json", "aws-secretsmanager-resourcepolicy.json", "aws-secretsmanager-rotationschedule.json", diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-acmpca-certificateauthority.json deleted file mode 100644 index 8ad28ae39f..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,444 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgateway.json deleted file mode 100644 index 6e79c4242f..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgateway.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGateway", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGateways", - "ec2:DescribeTags" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGateways", - "ec2:DescribeTags" - ] - }, - "update": { - "permissions": [ - "ec2:ModifyTransitGateway", - "ec2:DeleteTags", - "ec2:CreateTags", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index ac1cace626..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastgroupmember.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastgroupmember.json deleted file mode 100644 index 7c84a9b5e9..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastgroupmember.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupMember" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayvpcattachment.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayvpcattachment.json deleted file mode 100644 index 228a71ca58..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ec2-transitgatewayvpcattachment.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/SubnetIds", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags" - ] - }, - "update": { - "permissions": [ - "ec2:ModifyTransitGatewayVpcAttachment", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AddSubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "RemoveSubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "SubnetIds", - "VpcId", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayVpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ecs-cluster.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ecs-cluster.json deleted file mode 100644 index af82f4c69c..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-ecs-cluster.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName" - ], - "definitions": { - "CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "integer" - }, - "CapacityProvider": { - "relationshipRef": { - "propertyPath": "/properties/Name", - "typeName": "AWS::ECS::CapacityProvider" - }, - "type": "string" - }, - "Weight": { - "type": "integer" - } - }, - "type": "object" - }, - "ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "ServiceConnectDefaults": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ecs:CreateCluster", - "ecs:DescribeClusters", - "iam:CreateServiceLinkedRole", - "ecs:TagResource" - ] - }, - "delete": { - "permissions": [ - "ecs:DeleteCluster", - "ecs:DescribeClusters" - ] - }, - "list": { - "permissions": [ - "ecs:DescribeClusters", - "ecs:ListClusters" - ] - }, - "read": { - "permissions": [ - "ecs:DescribeClusters" - ] - }, - "update": { - "permissions": [ - "ecs:PutAccountSettingDefault", - "ecs:DescribeClusters", - "ecs:TagResource", - "ecs:UntagResource", - "ecs:PutAccountSetting", - "ecs:ListTagsForResource", - "ecs:UpdateCluster", - "ecs:UpdateClusterSettings", - "ecs:PutClusterCapacityProviders" - ] - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/CapacityProviderStrategyItem" - }, - "type": "array" - }, - "ServiceConnectDefaults": { - "$ref": "#/definitions/ServiceConnectDefaults" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "tagging": { - "taggable": true - }, - "typeName": "AWS::ECS::Cluster", - "writeOnlyProperties": [ - "/properties/ServiceConnectDefaults" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rolesanywhere-profile.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rolesanywhere-profile.json deleted file mode 100644 index 8303473193..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-rolesanywhere-profile.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AttributeMapping": { - "additionalProperties": false, - "properties": { - "CertificateField": { - "$ref": "#/definitions/CertificateField" - }, - "MappingRules": { - "items": { - "$ref": "#/definitions/MappingRule" - }, - "type": "array" - } - }, - "required": [ - "CertificateField", - "MappingRules" - ], - "type": "object" - }, - "CertificateField": { - "enum": [ - "x509Subject", - "x509Issuer", - "x509SAN" - ], - "type": "string" - }, - "MappingRule": { - "additionalProperties": false, - "properties": { - "Specifier": { - "type": "string" - } - }, - "required": [ - "Specifier" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:CreateProfile", - "rolesanywhere:TagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - }, - "delete": { - "permissions": [ - "rolesanywhere:DeleteProfile" - ] - }, - "list": { - "permissions": [ - "rolesanywhere:ListProfiles", - "rolesanywhere:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "rolesanywhere:GetProfile", - "rolesanywhere:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:GetProfile", - "rolesanywhere:UpdateProfile", - "rolesanywhere:EnableProfile", - "rolesanywhere:DisableProfile", - "rolesanywhere:TagResource", - "rolesanywhere:UntagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - } - }, - "primaryIdentifier": [ - "/properties/ProfileId" - ], - "properties": { - "AttributeMappings": { - "items": { - "$ref": "#/definitions/AttributeMapping" - }, - "type": "array" - }, - "DurationSeconds": { - "maximum": 43200, - "minimum": 900, - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ProfileArn": { - "type": "string" - }, - "ProfileId": { - "pattern": "[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}", - "type": "string" - }, - "RequireInstanceProperties": { - "type": "boolean" - }, - "RoleArns": { - "items": { - "maxLength": 1011, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "SessionPolicy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ProfileId", - "/properties/ProfileArn" - ], - "required": [ - "Name", - "RoleArns" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RolesAnywhere::Profile" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-route53resolver-firewallrulegroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-route53resolver-firewallrulegroup.json deleted file mode 100644 index aaa7151526..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-route53resolver-firewallrulegroup.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "enum": [ - "ALLOW", - "BLOCK", - "ALERT" - ], - "type": "string" - }, - "BlockOverrideDnsType": { - "enum": [ - "CNAME" - ], - "type": "string" - }, - "BlockOverrideDomain": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "BlockOverrideTtl": { - "maximum": 604800, - "minimum": 0, - "type": "integer" - }, - "BlockResponse": { - "enum": [ - "NODATA", - "NXDOMAIN", - "OVERRIDE" - ], - "type": "string" - }, - "FirewallDomainListId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Priority": { - "type": "integer" - }, - "Qtype": { - "maxLength": 16, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "FirewallDomainListId", - "Priority", - "Action" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "delete": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "list": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "read": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "update": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "maxLength": 600, - "minLength": 1, - "type": "string" - }, - "CreationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "CreatorRequestId": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "FirewallRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ModificationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)", - "type": "string" - }, - "OwnerId": { - "maxLength": 32, - "minLength": 12, - "type": "string" - }, - "RuleCount": { - "type": "integer" - }, - "ShareStatus": { - "enum": [ - "NOT_SHARED", - "SHARED_WITH_ME", - "SHARED_BY_ME" - ], - "type": "string" - }, - "Status": { - "enum": [ - "COMPLETE", - "DELETING", - "UPDATING", - "INACTIVE_OWNER_ACCOUNT_CLOSED" - ], - "type": "string" - }, - "StatusMessage": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/Arn", - "/properties/RuleCount", - "/properties/Status", - "/properties/StatusMessage", - "/properties/OwnerId", - "/properties/ShareStatus", - "/properties/CreatorRequestId", - "/properties/CreationTime", - "/properties/ModificationTime" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::FirewallRuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-route53resolver-resolverrule.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-route53resolver-resolverrule.json deleted file mode 100644 index ca41a553a3..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-route53resolver-resolverrule.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/DomainName" - ], - "createOnlyProperties": [ - "/properties/RuleType" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Ipv6": { - "type": "string" - }, - "Port": { - "maxLength": 65535, - "minLength": 0, - "type": "string" - }, - "Protocol": { - "enum": [ - "Do53", - "DoH" - ], - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:CreateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource" - ] - }, - "delete": { - "permissions": [ - "route53resolver:DeleteResolverRule", - "route53resolver:GetResolverRule" - ] - }, - "list": { - "permissions": [ - "route53resolver:ListResolverRules" - ] - }, - "read": { - "permissions": [ - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "route53resolver:UpdateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource", - "route53resolver:UntagResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/ResolverRuleId" - ], - "properties": { - "Arn": { - "type": "string" - }, - "DomainName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 0, - "type": "string" - }, - "ResolverEndpointId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "RuleType": { - "enum": [ - "FORWARD", - "SYSTEM", - "RECURSIVE" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TargetIps": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/TargetAddress" - }, - "type": "array", - "uniqueItems": false - } - }, - "propertyTransform": { - "/properties/DomainName": "$join([DomainName, \".\"]) $OR DomainName" - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/ResolverRuleId" - ], - "required": [ - "DomainName", - "RuleType" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-route53resolver.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::ResolverRule" -} diff --git a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-scheduler-schedulegroup.json b/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-scheduler-schedulegroup.json deleted file mode 100644 index 24fd8cef8b..0000000000 --- a/src/cfnlint/data/schemas/providers/ap_southeast_4/aws-scheduler-schedulegroup.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "ScheduleGroupState": { - "enum": [ - "ACTIVE", - "DELETING" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "scheduler:TagResource", - "scheduler:CreateScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "scheduler:DeleteScheduleGroup", - "scheduler:GetScheduleGroup", - "scheduler:DeleteSchedule" - ] - }, - "list": { - "permissions": [ - "scheduler:ListScheduleGroups" - ] - }, - "read": { - "permissions": [ - "scheduler:GetScheduleGroup", - "scheduler:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "scheduler:TagResource", - "scheduler:UntagResource", - "scheduler:ListTagsForResource", - "scheduler:GetScheduleGroup" - ] - } - }, - "primaryIdentifier": [ - "/properties/Name" - ], - "properties": { - "Arn": { - "maxLength": 1224, - "minLength": 1, - "pattern": "^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\\-]+:\\d{12}:schedule-group\\/[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "CreationDate": { - "format": "date-time", - "type": "string" - }, - "LastModificationDate": { - "format": "date-time", - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "^[0-9a-zA-Z-_.]+$", - "type": "string" - }, - "State": { - "$ref": "#/definitions/ScheduleGroupState" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CreationDate", - "/properties/LastModificationDate", - "/properties/State" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Scheduler::ScheduleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py b/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py index 52bd8b732e..5d1d7a2952 100644 --- a/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_central_1/__init__.py @@ -1095,6 +1095,7 @@ "alexa-ask-skill.json", "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -1284,8 +1285,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpooldomain.json", "aws-cognito-userpoolgroup.json", @@ -1377,8 +1376,11 @@ "aws-directoryservice-microsoftad.json", "aws-dlm-lifecyclepolicy.json", "aws-dms-certificate.json", + "aws-dms-dataprovider.json", "aws-dms-endpoint.json", "aws-dms-eventsubscription.json", + "aws-dms-instanceprofile.json", + "aws-dms-migrationproject.json", "aws-dms-replicationconfig.json", "aws-dms-replicationinstance.json", "aws-dms-replicationsubnetgroup.json", @@ -1420,7 +1422,9 @@ "aws-ec2-keypair.json", "aws-ec2-launchtemplate.json", "aws-ec2-localgatewayroute.json", + "aws-ec2-localgatewayroutetable.json", "aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.json", + "aws-ec2-localgatewayroutetablevpcassociation.json", "aws-ec2-natgateway.json", "aws-ec2-networkacl.json", "aws-ec2-networkaclentry.json", @@ -1449,6 +1453,14 @@ "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrorsession.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewayconnect.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", + "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", @@ -1784,15 +1796,20 @@ "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", + "aws-networkmanager-connectattachment.json", "aws-networkmanager-connectpeer.json", + "aws-networkmanager-corenetwork.json", "aws-networkmanager-customergatewayassociation.json", "aws-networkmanager-device.json", "aws-networkmanager-globalnetwork.json", "aws-networkmanager-link.json", "aws-networkmanager-linkassociation.json", "aws-networkmanager-site.json", + "aws-networkmanager-sitetositevpnattachment.json", "aws-networkmanager-transitgatewaypeering.json", "aws-networkmanager-transitgatewayregistration.json", + "aws-networkmanager-transitgatewayroutetableattachment.json", + "aws-networkmanager-vpcattachment.json", "aws-nimblestudio-launchprofile.json", "aws-nimblestudio-streamingimage.json", "aws-nimblestudio-studio.json", diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-acmpca-certificateauthority.json deleted file mode 100644 index bac8f101fb..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "CustomPath": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "MaxPartitionSizeMB": { - "type": "integer" - }, - "PartitioningEnabled": { - "type": "boolean" - }, - "RetainExpiredCertificates": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_central_1/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-dataprovider.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-dataprovider.json deleted file mode 100644 index 6c1007bfa0..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-dataprovider.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/DataProviderName" - ] - ], - "additionalProperties": false, - "definitions": { - "DmsSslModeValue": { - "enum": [ - "none", - "require", - "verify-ca", - "verify-full" - ], - "type": "string" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateDataProvider", - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:GetRole", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteDataProvider" - ] - }, - "list": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListDataProviders", - "dms:DescribeDataProviders", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateDataProvider", - "dms:ModifyDataProvider", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/DataProviderArn" - ], - "properties": { - "DataProviderArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "DataProviderIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataProviderName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Engine": { - "enum": [ - "postgres", - "mysql", - "oracle", - "sqlserver", - "aurora", - "aurora_postgresql" - ], - "type": "string" - }, - "ExactSettings": { - "default": false, - "type": "boolean" - }, - "Settings": { - "additionalProperties": false, - "anyOf": [ - { - "required": [ - "PostgreSqlSettings" - ] - }, - { - "required": [ - "MySqlSettings" - ] - }, - { - "required": [ - "OracleSettings" - ] - }, - { - "required": [ - "MicrosoftSqlServerSettings" - ] - } - ], - "properties": { - "MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "MySqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode" - ], - "type": "object" - }, - "OracleSettings": { - "additionalProperties": false, - "properties": { - "AsmServer": { - "type": "string" - }, - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "SecretsManagerOracleAsmAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmSecretId": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecurityDbEncryptionSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - }, - "PostgreSqlSettings": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Port": { - "type": "integer" - }, - "ServerName": { - "type": "string" - }, - "SslMode": { - "$ref": "#/definitions/DmsSslModeValue", - "type": "object" - } - }, - "required": [ - "ServerName", - "Port", - "SslMode", - "DatabaseName" - ], - "type": "object" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/DataProviderArn", - "/properties/DataProviderCreationTime" - ], - "required": [ - "Engine" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-dms.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::DataProvider", - "writeOnlyProperties": [ - "/properties/DataProviderIdentifier", - "/properties/ExactSettings" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-instanceprofile.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-instanceprofile.json deleted file mode 100644 index 1e6c803e41..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-instanceprofile.json +++ /dev/null @@ -1,158 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/InstanceProfileName" - ] - ], - "additionalProperties": false, - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "dms:CreateInstanceProfile", - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:AddTagsToResource", - "dms:ListTagsForResource" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteInstanceProfile" - ] - }, - "list": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:ListInstanceProfiles", - "dms:DescribeInstanceProfiles", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateInstanceProfile", - "dms:ModifyInstanceProfile", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/InstanceProfileArn" - ], - "properties": { - "AvailabilityZone": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KmsKeyArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "NetworkType": { - "enum": [ - "IPV4", - "IPV6", - "DUAL" - ], - "type": "string" - }, - "PubliclyAccessible": { - "default": false, - "type": "boolean" - }, - "SubnetGroupIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "VpcSecurityGroups": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/InstanceProfileArn", - "/properties/InstanceProfileCreationTime" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::InstanceProfile", - "writeOnlyProperties": [ - "/properties/InstanceProfileIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-migrationproject.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-migrationproject.json deleted file mode 100644 index a72821a065..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-dms-migrationproject.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/MigrationProjectName" - ] - ], - "additionalProperties": false, - "definitions": { - "DataProviderDescriptor": { - "additionalProperties": false, - "properties": { - "DataProviderArn": { - "type": "string" - }, - "DataProviderIdentifier": { - "type": "string" - }, - "DataProviderName": { - "type": "string" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "deprecatedProperties": [ - "/properties/MigrationProjectCreationTime" - ], - "handlers": { - "create": { - "permissions": [ - "dms:CreateMigrationProject", - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:AddTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - }, - "delete": { - "permissions": [ - "dms:DeleteMigrationProject" - ] - }, - "list": { - "permissions": [ - "dms:ListMigrationProjects", - "dms:DescribeMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "dms:DescribeMigrationProjects", - "dms:ListMigrationProjects", - "dms:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "dms:UpdateMigrationProject", - "dms:ModifyMigrationProject", - "dms:AddTagsToResource", - "dms:RemoveTagsToResource", - "dms:ListTagsForResource", - "iam:PassRole" - ] - } - }, - "primaryIdentifier": [ - "/properties/MigrationProjectArn" - ], - "properties": { - "Description": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "InstanceProfileName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectArn": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectCreationTime": { - "maxLength": 40, - "minLength": 1, - "type": "string" - }, - "MigrationProjectIdentifier": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "MigrationProjectName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "SchemaConversionApplicationAttributes": { - "additionalProperties": false, - "properties": { - "S3BucketPath": { - "type": "string" - }, - "S3BucketRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "SourceDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TargetDataProviderDescriptors": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/DataProviderDescriptor" - }, - "type": "array", - "uniqueItems": true - }, - "TransformationRules": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/MigrationProjectArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-csf.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::DMS::MigrationProject", - "writeOnlyProperties": [ - "/properties/MigrationProjectIdentifier", - "/properties/InstanceProfileIdentifier", - "/properties/SourceDataProviderDescriptors/*/DataProviderIdentifier", - "/properties/TargetDataProviderDescriptors/*/DataProviderIdentifier" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-localgatewayroutetable.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-localgatewayroutetable.json deleted file mode 100644 index f38818d6f9..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-localgatewayroutetable.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/Mode" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTable", - "ec2:DescribeLocalGatewayRouteTables", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTables", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableArn": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "OutpostArn": { - "type": "string" - }, - "OwnerId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/LocalGatewayRouteTableArn", - "/properties/OutpostArn", - "/properties/OwnerId", - "/properties/State" - ], - "replacementStrategy": "delete_then_create", - "required": [ - "LocalGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTable" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-localgatewayroutetablevpcassociation.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-localgatewayroutetablevpcassociation.json deleted file mode 100644 index 001e95a09d..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-localgatewayroutetablevpcassociation.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/LocalGatewayRouteTableId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "pattern": "^(?!aws:.*)", - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteLocalGatewayRouteTableVpcAssociation", - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeLocalGatewayRouteTableVpcAssociations", - "ec2:CreateTags", - "ec2:DeleteTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/LocalGatewayRouteTableVpcAssociationId" - ], - "properties": { - "LocalGatewayId": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayRouteTableVpcAssociationId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/Tags" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/LocalGatewayId", - "/properties/LocalGatewayRouteTableVpcAssociationId", - "/properties/State" - ], - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::LocalGatewayRouteTableVPCAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgateway.json deleted file mode 100644 index 1de03d1c22..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgateway.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "delete": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "list": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "read": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "update": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index ac1cace626..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewayconnect.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewayconnect.json deleted file mode 100644 index 412b585362..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewayconnect.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransportTransitGatewayAttachmentId", - "/properties/Options" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayConnect", - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayConnects", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/TransitGatewayConnectOptions" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayId" - ], - "required": [ - "TransportTransitGatewayAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayConnect" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastgroupmember.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastgroupmember.json deleted file mode 100644 index 7c84a9b5e9..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastgroupmember.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupMembers", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupMember" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-connectattachment.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-connectattachment.json deleted file mode 100644 index 6ebaa23e63..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-connectattachment.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/EdgeLocation", - "/properties/TransportAttachmentId", - "/properties/Options" - ], - "definitions": { - "ConnectAttachmentOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:CreateConnectAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetConnectAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetConnectAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/ConnectAttachmentOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransportAttachmentId": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "EdgeLocation", - "TransportAttachmentId", - "Options" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-connectattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::ConnectAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-corenetwork.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-corenetwork.json deleted file mode 100644 index a33cde44d0..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-corenetwork.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkArn" - ], - [ - "/properties/GlobalNetworkId" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/GlobalNetworkId" - ], - "definitions": { - "CoreNetworkEdge": { - "additionalProperties": false, - "properties": { - "Asn": { - "type": "number" - }, - "EdgeLocation": { - "type": "string" - }, - "InsideCidrBlocks": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CoreNetworkSegment": { - "additionalProperties": false, - "properties": { - "EdgeLocations": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SharedSegments": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:TagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteCoreNetwork", - "networkmanager:UntagResource", - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListCoreNetworks" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetCoreNetwork", - "networkmanager:GetCoreNetworkPolicy" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateCoreNetwork", - "networkmanager:GetCoreNetwork", - "networkmanager:ListTagsForResource", - "networkmanager:PutCoreNetworkPolicy", - "networkmanager:GetCoreNetworkPolicy", - "networkmanager:ExecuteCoreNetworkChangeSet", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - } - }, - "primaryIdentifier": [ - "/properties/CoreNetworkId" - ], - "properties": { - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Edges": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkEdge" - }, - "type": "array" - }, - "GlobalNetworkId": { - "type": "string" - }, - "OwnerAccount": { - "type": "string" - }, - "PolicyDocument": { - "format": "json", - "type": [ - "object", - "string" - ] - }, - "Segments": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/CoreNetworkSegment" - }, - "type": "array" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/OwnerAccount", - "/properties/CoreNetworkId", - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/State", - "/properties/Segments", - "/properties/Edges" - ], - "required": [ - "GlobalNetworkId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::CoreNetwork" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-sitetositevpnattachment.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-sitetositevpnattachment.json deleted file mode 100644 index 899ed1a630..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-sitetositevpnattachment.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpnConnectionArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:CreateSiteToSiteVpnAttachment", - "ec2:DescribeRegions", - "networkmanager:TagResource" - ], - "timeoutInMinutes": 40 - }, - "delete": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 720 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetSiteToSiteVpnAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpnConnectionArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "CoreNetworkId", - "VpnConnectionArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-sitetositevpnattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-transitgatewayroutetableattachment.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-transitgatewayroutetableattachment.json deleted file mode 100644 index 62e5e8099c..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-transitgatewayroutetableattachment.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/PeeringId", - "/properties/TransitGatewayRouteTableArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "insertionOrder": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateTransitGatewayRouteTableAttachment", - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:TagResource", - "iam:CreateServiceLinkedRole", - "ec2:DescribeRegions" - ] - }, - "delete": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:DeleteAttachment", - "ec2:DescribeRegions" - ] - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:GetTransitGatewayRouteTableAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ] - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "OwnerAccountId": { - "type": "string" - }, - "PeeringId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "TransitGatewayRouteTableArn": { - "type": "string" - }, - "UpdatedAt": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CoreNetworkId", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/ResourceArn", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName" - ], - "required": [ - "PeeringId", - "TransitGatewayRouteTableArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewayroutetableattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-vpcattachment.json b/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-vpcattachment.json deleted file mode 100644 index 73865f4906..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_central_1/aws-networkmanager-vpcattachment.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "additionalIdentifiers": [ - [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ] - ], - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/CoreNetworkId", - "/properties/VpcArn" - ], - "definitions": { - "ProposedSegmentChange": { - "additionalProperties": false, - "properties": { - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "SegmentName": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "VpcOptions": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "default": false, - "type": "boolean" - }, - "Ipv6Support": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "networkmanager:CreateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:TagResource", - "ec2:DescribeRegions", - "iam:CreateServiceLinkedRole" - ], - "timeoutInMinutes": 60 - }, - "delete": { - "permissions": [ - "networkmanager:DeleteAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - }, - "list": { - "permissions": [ - "networkmanager:ListAttachments" - ] - }, - "read": { - "permissions": [ - "networkmanager:GetVpcAttachment" - ] - }, - "update": { - "permissions": [ - "networkmanager:UpdateVpcAttachment", - "networkmanager:GetVpcAttachment", - "networkmanager:ListTagsForResource", - "networkmanager:TagResource", - "networkmanager:UntagResource", - "ec2:DescribeRegions" - ], - "timeoutInMinutes": 60 - } - }, - "primaryIdentifier": [ - "/properties/AttachmentId" - ], - "properties": { - "AttachmentId": { - "type": "string" - }, - "AttachmentPolicyRuleNumber": { - "type": "integer" - }, - "AttachmentType": { - "type": "string" - }, - "CoreNetworkArn": { - "type": "string" - }, - "CoreNetworkId": { - "type": "string" - }, - "CreatedAt": { - "type": "string" - }, - "EdgeLocation": { - "type": "string" - }, - "Options": { - "$ref": "#/definitions/VpcOptions" - }, - "OwnerAccountId": { - "type": "string" - }, - "ProposedSegmentChange": { - "$ref": "#/definitions/ProposedSegmentChange" - }, - "ResourceArn": { - "type": "string" - }, - "SegmentName": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetArns": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - }, - "UpdatedAt": { - "type": "string" - }, - "VpcArn": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/CoreNetworkArn", - "/properties/CreatedAt", - "/properties/UpdatedAt", - "/properties/AttachmentType", - "/properties/State", - "/properties/AttachmentId", - "/properties/OwnerAccountId", - "/properties/EdgeLocation", - "/properties/AttachmentPolicyRuleNumber", - "/properties/SegmentName", - "/properties/ResourceArn" - ], - "required": [ - "CoreNetworkId", - "VpcArn", - "SubnetArns" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-vpcattachment", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::NetworkManager::VpcAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py b/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py index 245bb35bdb..c813f23733 100644 --- a/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/ca_west_1/__init__.py @@ -546,7 +546,9 @@ # pylint: disable=too-many-lines cached: list[str] = [ "Module", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -623,8 +625,6 @@ "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", - "aws-cognito-logdeliveryconfiguration.json", - "aws-cognito-userpool.json", "aws-cognito-userpoolclient.json", "aws-cognito-userpoolgroup.json", "aws-cognito-userpoolriskconfigurationattachment.json", @@ -702,7 +702,13 @@ "aws-ec2-trafficmirrorfilter.json", "aws-ec2-trafficmirrorfilterrule.json", "aws-ec2-trafficmirrortarget.json", + "aws-ec2-transitgateway.json", + "aws-ec2-transitgatewayattachment.json", + "aws-ec2-transitgatewaymulticastdomain.json", + "aws-ec2-transitgatewaymulticastdomainassociation.json", "aws-ec2-transitgatewaymulticastgroupmember.json", + "aws-ec2-transitgatewaymulticastgroupsource.json", + "aws-ec2-transitgatewaypeeringattachment.json", "aws-ec2-transitgatewayroute.json", "aws-ec2-transitgatewayroutetable.json", "aws-ec2-transitgatewayroutetableassociation.json", @@ -724,6 +730,7 @@ "aws-ecr-repository.json", "aws-ecr-repositorycreationtemplate.json", "aws-ecs-capacityprovider.json", + "aws-ecs-cluster.json", "aws-ecs-clustercapacityproviderassociations.json", "aws-ecs-primarytaskset.json", "aws-ecs-service.json", @@ -813,6 +820,7 @@ "aws-imagebuilder-workflow.json", "aws-kinesis-stream.json", "aws-kinesisanalyticsv2-application.json", + "aws-kinesisfirehose-deliverystream.json", "aws-kms-alias.json", "aws-kms-key.json", "aws-lakeformation-datacellsfilter.json", @@ -893,6 +901,7 @@ "aws-resourceexplorer2-view.json", "aws-resourcegroups-group.json", "aws-rolesanywhere-crl.json", + "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", "aws-route53-dnssec.json", "aws-route53-keysigningkey.json", @@ -902,12 +911,14 @@ "aws-route53profiles-profileassociation.json", "aws-route53profiles-profileresourceassociation.json", "aws-route53resolver-firewalldomainlist.json", + "aws-route53resolver-firewallrulegroup.json", "aws-route53resolver-firewallrulegroupassociation.json", "aws-route53resolver-resolverconfig.json", "aws-route53resolver-resolverdnssecconfig.json", "aws-route53resolver-resolverendpoint.json", "aws-route53resolver-resolverqueryloggingconfig.json", "aws-route53resolver-resolverqueryloggingconfigassociation.json", + "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-s3-accesspoint.json", "aws-s3-bucket.json", diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-acmpca-certificateauthority.json deleted file mode 100644 index 8ad28ae39f..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,444 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-logdeliveryconfiguration.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-logdeliveryconfiguration.json new file mode 100644 index 0000000000..a83e0bcce0 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-logdeliveryconfiguration.json @@ -0,0 +1,118 @@ +{ + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/UserPoolId" + ], + "definitions": { + "CloudWatchLogsConfiguration": { + "additionalProperties": false, + "properties": { + "LogGroupArn": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfiguration": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsConfiguration": { + "$ref": "#/definitions/CloudWatchLogsConfiguration" + }, + "EventSource": { + "type": "string" + }, + "LogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "LogConfigurations": { + "items": { + "$ref": "#/definitions/LogConfiguration" + }, + "type": "array" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + }, + "read": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration" + ] + }, + "update": { + "permissions": [ + "cognito-idp:GetLogDeliveryConfiguration", + "cognito-idp:SetLogDeliveryConfiguration", + "logs:CreateLogDelivery", + "logs:GetLogDelivery", + "logs:UpdateLogDelivery", + "logs:DeleteLogDelivery", + "logs:ListLogDeliveries", + "logs:PutResourcePolicy", + "logs:DescribeResourcePolicies", + "logs:DescribeLogGroups" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "Id": { + "type": "string" + }, + "LogConfigurations": { + "$ref": "#/definitions/LogConfigurations" + }, + "UserPoolId": { + "type": "string" + } + }, + "readOnlyProperties": [ + "/properties/Id" + ], + "required": [ + "UserPoolId" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": false, + "tagUpdatable": false, + "taggable": false + }, + "typeName": "AWS::Cognito::LogDeliveryConfiguration" +} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-userpool.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-userpool.json new file mode 100644 index 0000000000..d035f0721a --- /dev/null +++ b/src/cfnlint/data/schemas/providers/ca_west_1/aws-cognito-userpool.json @@ -0,0 +1,529 @@ +{ + "additionalProperties": false, + "definitions": { + "AccountRecoverySetting": { + "additionalProperties": false, + "properties": { + "RecoveryMechanisms": { + "items": { + "$ref": "#/definitions/RecoveryOption" + }, + "type": "array" + } + }, + "type": "object" + }, + "AdminCreateUserConfig": { + "additionalProperties": false, + "properties": { + "AllowAdminCreateUserOnly": { + "type": "boolean" + }, + "InviteMessageTemplate": { + "$ref": "#/definitions/InviteMessageTemplate" + }, + "UnusedAccountValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "CustomEmailSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "CustomSMSSender": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "DeviceConfiguration": { + "additionalProperties": false, + "properties": { + "ChallengeRequiredOnNewDevice": { + "type": "boolean" + }, + "DeviceOnlyRememberedOnUserPrompt": { + "type": "boolean" + } + }, + "type": "object" + }, + "EmailConfiguration": { + "additionalProperties": false, + "properties": { + "ConfigurationSet": { + "type": "string" + }, + "EmailSendingAccount": { + "type": "string" + }, + "From": { + "type": "string" + }, + "ReplyToEmailAddress": { + "type": "string" + }, + "SourceArn": { + "type": "string" + } + }, + "type": "object" + }, + "InviteMessageTemplate": { + "additionalProperties": false, + "properties": { + "EmailMessage": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "SMSMessage": { + "type": "string" + } + }, + "type": "object" + }, + "LambdaConfig": { + "additionalProperties": false, + "properties": { + "CreateAuthChallenge": { + "type": "string" + }, + "CustomEmailSender": { + "$ref": "#/definitions/CustomEmailSender" + }, + "CustomMessage": { + "type": "string" + }, + "CustomSMSSender": { + "$ref": "#/definitions/CustomSMSSender" + }, + "DefineAuthChallenge": { + "type": "string" + }, + "KMSKeyID": { + "type": "string" + }, + "PostAuthentication": { + "type": "string" + }, + "PostConfirmation": { + "type": "string" + }, + "PreAuthentication": { + "type": "string" + }, + "PreSignUp": { + "type": "string" + }, + "PreTokenGeneration": { + "type": "string" + }, + "PreTokenGenerationConfig": { + "$ref": "#/definitions/PreTokenGenerationConfig" + }, + "UserMigration": { + "type": "string" + }, + "VerifyAuthChallengeResponse": { + "type": "string" + } + }, + "type": "object" + }, + "NumberAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxValue": { + "type": "string" + }, + "MinValue": { + "type": "string" + } + }, + "type": "object" + }, + "PasswordPolicy": { + "additionalProperties": false, + "properties": { + "MinimumLength": { + "type": "integer" + }, + "RequireLowercase": { + "type": "boolean" + }, + "RequireNumbers": { + "type": "boolean" + }, + "RequireSymbols": { + "type": "boolean" + }, + "RequireUppercase": { + "type": "boolean" + }, + "TemporaryPasswordValidityDays": { + "type": "integer" + } + }, + "type": "object" + }, + "Policies": { + "additionalProperties": false, + "properties": { + "PasswordPolicy": { + "$ref": "#/definitions/PasswordPolicy" + } + }, + "type": "object" + }, + "PreTokenGenerationConfig": { + "additionalProperties": false, + "properties": { + "LambdaArn": { + "type": "string" + }, + "LambdaVersion": { + "type": "string" + } + }, + "type": "object" + }, + "RecoveryOption": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Priority": { + "type": "integer" + } + }, + "type": "object" + }, + "SchemaAttribute": { + "additionalProperties": false, + "properties": { + "AttributeDataType": { + "type": "string" + }, + "DeveloperOnlyAttribute": { + "type": "boolean" + }, + "Mutable": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "NumberAttributeConstraints": { + "$ref": "#/definitions/NumberAttributeConstraints" + }, + "Required": { + "type": "boolean" + }, + "StringAttributeConstraints": { + "$ref": "#/definitions/StringAttributeConstraints" + } + }, + "type": "object" + }, + "SmsConfiguration": { + "additionalProperties": false, + "properties": { + "ExternalId": { + "type": "string" + }, + "SnsCallerArn": { + "type": "string" + }, + "SnsRegion": { + "type": "string" + } + }, + "type": "object" + }, + "StringAttributeConstraints": { + "additionalProperties": false, + "properties": { + "MaxLength": { + "type": "string" + }, + "MinLength": { + "type": "string" + } + }, + "type": "object" + }, + "UserAttributeUpdateSettings": { + "additionalProperties": false, + "properties": { + "AttributesRequireVerificationBeforeUpdate": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "AttributesRequireVerificationBeforeUpdate" + ], + "type": "object" + }, + "UserPoolAddOns": { + "additionalProperties": false, + "properties": { + "AdvancedSecurityMode": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameConfiguration": { + "additionalProperties": false, + "properties": { + "CaseSensitive": { + "type": "boolean" + } + }, + "type": "object" + }, + "VerificationMessageTemplate": { + "additionalProperties": false, + "properties": { + "DefaultEmailOption": { + "type": "string" + }, + "EmailMessage": { + "type": "string" + }, + "EmailMessageByLink": { + "type": "string" + }, + "EmailSubject": { + "type": "string" + }, + "EmailSubjectByLink": { + "type": "string" + }, + "SmsMessage": { + "type": "string" + } + }, + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-idp:CreateUserPool", + "iam:PassRole", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:DescribeUserPool", + "kms:CreateGrant", + "iam:CreateServiceLinkedRole" + ], + "timeoutInMinutes": 2 + }, + "delete": { + "permissions": [ + "cognito-idp:DeleteUserPool" + ], + "timeoutInMinutes": 2 + }, + "list": { + "permissions": [ + "cognito-idp:ListUserPools" + ] + }, + "read": { + "permissions": [ + "cognito-idp:DescribeUserPool" + ] + }, + "update": { + "permissions": [ + "cognito-idp:UpdateUserPool", + "cognito-idp:ListTagsForResource", + "cognito-idp:UntagResource", + "cognito-idp:TagResource", + "cognito-idp:SetUserPoolMfaConfig", + "cognito-idp:AddCustomAttributes", + "cognito-idp:DescribeUserPool", + "iam:PassRole" + ], + "timeoutInMinutes": 2 + } + }, + "primaryIdentifier": [ + "/properties/UserPoolId" + ], + "properties": { + "AccountRecoverySetting": { + "$ref": "#/definitions/AccountRecoverySetting" + }, + "AdminCreateUserConfig": { + "$ref": "#/definitions/AdminCreateUserConfig" + }, + "AliasAttributes": { + "items": { + "enum": [ + "email", + "phone_number", + "preferred_username" + ], + "type": "string" + }, + "type": "array" + }, + "Arn": { + "type": "string" + }, + "AutoVerifiedAttributes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DeletionProtection": { + "type": "string" + }, + "DeviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration" + }, + "EmailConfiguration": { + "$ref": "#/definitions/EmailConfiguration" + }, + "EmailVerificationMessage": { + "maxLength": 20000, + "minLength": 6, + "type": "string" + }, + "EmailVerificationSubject": { + "maxLength": 140, + "minLength": 1, + "type": "string" + }, + "EnabledMfas": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LambdaConfig": { + "$ref": "#/definitions/LambdaConfig" + }, + "MfaConfiguration": { + "enum": [ + "OFF", + "ON", + "OPTIONAL" + ], + "type": "string" + }, + "Policies": { + "$ref": "#/definitions/Policies" + }, + "ProviderName": { + "type": "string" + }, + "ProviderURL": { + "type": "string" + }, + "Schema": { + "items": { + "$ref": "#/definitions/SchemaAttribute" + }, + "type": "array" + }, + "SmsAuthenticationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "SmsConfiguration": { + "$ref": "#/definitions/SmsConfiguration" + }, + "SmsVerificationMessage": { + "maxLength": 140, + "minLength": 6, + "type": "string" + }, + "UserAttributeUpdateSettings": { + "$ref": "#/definitions/UserAttributeUpdateSettings" + }, + "UserPoolAddOns": { + "$ref": "#/definitions/UserPoolAddOns" + }, + "UserPoolId": { + "type": "string" + }, + "UserPoolName": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "UserPoolTags": { + "additionalProperties": false, + "patternProperties": { + "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$": { + "type": "string" + } + }, + "type": "object" + }, + "UsernameAttributes": { + "items": { + "enum": [ + "email", + "phone_number" + ], + "type": "string" + }, + "type": "array" + }, + "UsernameConfiguration": { + "$ref": "#/definitions/UsernameConfiguration" + }, + "VerificationMessageTemplate": { + "$ref": "#/definitions/VerificationMessageTemplate" + } + }, + "propertyTransform": { + "/properties/Schema/*/Name": "'custom:' & '' & Name" + }, + "readOnlyProperties": [ + "/properties/ProviderName", + "/properties/UserPoolId", + "/properties/ProviderURL", + "/properties/Arn" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "tagOnCreate": true, + "tagProperty": "/properties/UserPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::UserPool", + "writeOnlyProperties": [ + "/properties/EnabledMfas" + ] +} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgateway.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgateway.json deleted file mode 100644 index 1de03d1c22..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgateway.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AmazonSideAsn", - "/properties/MulticastSupport" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "delete": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "list": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "read": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - }, - "update": { - "permissions": [ - "ec2:CreateTransitGateway", - "ec2:CreateTags", - "ec2:DescribeTransitGateways", - "ec2:DescribeTags", - "ec2:DeleteTransitGateway", - "ec2:DeleteTags", - "ec2:ModifyTransitGateway", - "ec2:ModifyTransitGatewayOptions" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "AmazonSideAsn": { - "format": "int64", - "type": "integer" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayArn": { - "type": "string" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/TransitGatewayArn" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "taggable": true - }, - "typeName": "AWS::EC2::TransitGateway" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewayattachment.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewayattachment.json deleted file mode 100644 index ac1cace626..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewayattachment.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/VpcId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTags", - "ec2:DescribeTags", - "ec2:DescribeTransitGatewayAttachments", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayAttachments", - "ec2:DescribeTransitGatewayVpcAttachments", - "ec2:DescribeTags", - "ec2:CreateTransitGatewayVpcAttachment", - "ec2:CreateTags", - "ec2:DeleteTransitGatewayVpcAttachment", - "ec2:DeleteTags", - "ec2:ModifyTransitGatewayVpcAttachment" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Id": { - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "ApplianceModeSupport": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "Ipv6Support": { - "type": "string" - } - }, - "type": "object" - }, - "SubnetIds": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": false - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "format": "AWS::EC2::VPC.Id", - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Id" - ], - "required": [ - "VpcId", - "SubnetIds", - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::EC2::TransitGatewayAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastdomain.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastdomain.json deleted file mode 100644 index 76505133bb..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastdomain.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:CreateTransitGatewayMulticastDomain", - "ec2:CreateTags" - ] - }, - "delete": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTransitGatewayMulticastDomain", - "ec2:DeleteTags" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayMulticastDomains", - "ec2:DeleteTags", - "ec2:CreateTags" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "Options": { - "additionalProperties": false, - "properties": { - "AutoAcceptSharedAssociations": { - "type": "string" - }, - "Igmpv2Support": { - "type": "string" - }, - "StaticSourcesSupport": { - "type": "string" - } - }, - "type": "object" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "TransitGatewayMulticastDomainArn": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/State", - "/properties/CreationTime", - "/properties/TransitGatewayMulticastDomainArn" - ], - "required": [ - "TransitGatewayId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway/aws-ec2-transitgatewaymulticastdomain", - "typeName": "AWS::EC2::TransitGatewayMulticastDomain" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastdomainassociation.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastdomainassociation.json deleted file mode 100644 index 5db4399d3e..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastdomainassociation.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:AssociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "delete": { - "permissions": [ - "ec2:DisassociateTransitGatewayMulticastDomain", - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "list": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - }, - "read": { - "permissions": [ - "ec2:GetTransitGatewayMulticastDomainAssociations" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/TransitGatewayAttachmentId", - "/properties/SubnetId" - ], - "properties": { - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "State": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/State" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "TransitGatewayAttachmentId", - "SubnetId" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayMulticastDomainAssociation" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastgroupsource.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastgroupsource.json deleted file mode 100644 index 04607b37d7..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaymulticastgroupsource.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "handlers": { - "create": { - "permissions": [ - "ec2:RegisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "delete": { - "permissions": [ - "ec2:DeregisterTransitGatewayMulticastGroupSources", - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "list": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - }, - "read": { - "permissions": [ - "ec2:SearchTransitGatewayMulticastGroups" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayMulticastDomainId", - "/properties/GroupIpAddress", - "/properties/NetworkInterfaceId" - ], - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "GroupMember": { - "type": "boolean" - }, - "GroupSource": { - "type": "boolean" - }, - "MemberType": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "SourceType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/SubnetId", - "/properties/ResourceId", - "/properties/ResourceType", - "/properties/GroupSource", - "/properties/GroupMember", - "/properties/MemberType", - "/properties/SourceType", - "/properties/TransitGatewayAttachmentId" - ], - "required": [ - "TransitGatewayMulticastDomainId", - "NetworkInterfaceId", - "GroupIpAddress" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgatewaymulticastdomain/aws-ec2-transitgatewaymulticastgroupsource", - "typeName": "AWS::EC2::TransitGatewayMulticastGroupSource" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaypeeringattachment.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaypeeringattachment.json deleted file mode 100644 index 8c55adce83..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ec2-transitgatewaypeeringattachment.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/TransitGatewayId", - "/properties/PeerTransitGatewayId", - "/properties/PeerRegion", - "/properties/PeerAccountId" - ], - "definitions": { - "PeeringAttachmentStatus": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "string" - }, - "Message": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ec2:CreateTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "delete": { - "permissions": [ - "ec2:DeleteTransitGatewayPeeringAttachment", - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "list": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "read": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - }, - "update": { - "permissions": [ - "ec2:DescribeTransitGatewayPeeringAttachments" - ] - } - }, - "primaryIdentifier": [ - "/properties/TransitGatewayAttachmentId" - ], - "properties": { - "CreationTime": { - "format": "date-time", - "type": "string" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Status": { - "$ref": "#/definitions/PeeringAttachmentStatus" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/TransitGatewayAttachmentId", - "/properties/Status", - "/properties/State", - "/properties/CreationTime" - ], - "required": [ - "TransitGatewayId", - "PeerTransitGatewayId", - "PeerAccountId", - "PeerRegion" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice", - "typeName": "AWS::EC2::TransitGatewayPeeringAttachment" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ecs-cluster.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-ecs-cluster.json deleted file mode 100644 index af82f4c69c..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-ecs-cluster.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/ClusterName" - ], - "definitions": { - "CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "integer" - }, - "CapacityProvider": { - "relationshipRef": { - "propertyPath": "/properties/Name", - "typeName": "AWS::ECS::CapacityProvider" - }, - "type": "string" - }, - "Weight": { - "type": "integer" - } - }, - "type": "object" - }, - "ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "ServiceConnectDefaults": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "ecs:CreateCluster", - "ecs:DescribeClusters", - "iam:CreateServiceLinkedRole", - "ecs:TagResource" - ] - }, - "delete": { - "permissions": [ - "ecs:DeleteCluster", - "ecs:DescribeClusters" - ] - }, - "list": { - "permissions": [ - "ecs:DescribeClusters", - "ecs:ListClusters" - ] - }, - "read": { - "permissions": [ - "ecs:DescribeClusters" - ] - }, - "update": { - "permissions": [ - "ecs:PutAccountSettingDefault", - "ecs:DescribeClusters", - "ecs:TagResource", - "ecs:UntagResource", - "ecs:PutAccountSetting", - "ecs:ListTagsForResource", - "ecs:UpdateCluster", - "ecs:UpdateClusterSettings", - "ecs:PutClusterCapacityProviders" - ] - } - }, - "primaryIdentifier": [ - "/properties/ClusterName" - ], - "properties": { - "Arn": { - "type": "string" - }, - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/CapacityProviderStrategyItem" - }, - "type": "array" - }, - "ServiceConnectDefaults": { - "$ref": "#/definitions/ServiceConnectDefaults" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "tagging": { - "taggable": true - }, - "typeName": "AWS::ECS::Cluster", - "writeOnlyProperties": [ - "/properties/ServiceConnectDefaults" - ] -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-kinesisfirehose-deliverystream.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-kinesisfirehose-deliverystream.json deleted file mode 100644 index 3d9d823296..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-kinesisfirehose-deliverystream.json +++ /dev/null @@ -1,1730 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/DeliveryStreamName", - "/properties/DeliveryStreamType", - "/properties/ElasticsearchDestinationConfiguration/VpcConfiguration", - "/properties/AmazonopensearchserviceDestinationConfiguration/VpcConfiguration", - "/properties/AmazonOpenSearchServerlessDestinationConfiguration/VpcConfiguration", - "/properties/KinesisStreamSourceConfiguration", - "/properties/MSKSourceConfiguration", - "/properties/IcebergDestinationConfiguration", - "/properties/SnowflakeDestinationConfiguration/SnowflakeVpcConfiguration" - ], - "definitions": { - "AmazonOpenSearchServerlessBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "AmazonOpenSearchServerlessDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AmazonOpenSearchServerlessBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "CollectionEndpoint": { - "maxLength": 512, - "minLength": 1, - "pattern": "https:.*", - "relationshipRef": { - "propertyPath": "/properties/CollectionEndpoint", - "typeName": "AWS::OpenSearchServerless::Collection" - }, - "type": "string" - }, - "IndexName": { - "maxLength": 80, - "minLength": 1, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AmazonOpenSearchServerlessRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDocumentsOnly", - "AllDocuments" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/VpcConfiguration" - } - }, - "required": [ - "IndexName", - "S3Configuration", - "RoleARN" - ], - "type": "object" - }, - "AmazonOpenSearchServerlessRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "AmazonopensearchserviceBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "AmazonopensearchserviceDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AmazonopensearchserviceBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "maxLength": 512, - "minLength": 1, - "pattern": "https:.*", - "type": "string" - }, - "DocumentIdOptions": { - "$ref": "#/definitions/DocumentIdOptions" - }, - "DomainARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "type": "string" - }, - "IndexName": { - "maxLength": 80, - "minLength": 1, - "type": "string" - }, - "IndexRotationPeriod": { - "enum": [ - "NoRotation", - "OneHour", - "OneDay", - "OneWeek", - "OneMonth" - ], - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AmazonopensearchserviceRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDocumentsOnly", - "AllDocuments" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "TypeName": { - "maxLength": 100, - "minLength": 0, - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/VpcConfiguration" - } - }, - "required": [ - "IndexName", - "S3Configuration", - "RoleARN" - ], - "type": "object" - }, - "AmazonopensearchserviceRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "Connectivity": { - "enum": [ - "PUBLIC", - "PRIVATE" - ], - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - } - }, - "required": [ - "RoleARN", - "Connectivity" - ], - "type": "object" - }, - "BufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "CatalogConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogArn": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "type": "string" - } - }, - "type": "object" - }, - "CloudWatchLoggingOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "LogStreamName": { - "relationshipRef": { - "propertyPath": "/properties/LogStreamName", - "typeName": "AWS::Logs::LogStream" - }, - "type": "string" - } - }, - "type": "object" - }, - "CopyCommand": { - "additionalProperties": false, - "properties": { - "CopyOptions": { - "maxLength": 204800, - "minLength": 0, - "type": "string" - }, - "DataTableColumns": { - "maxLength": 204800, - "minLength": 0, - "type": "string" - }, - "DataTableName": { - "maxLength": 512, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "DataTableName" - ], - "type": "object" - }, - "DataFormatConversionConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InputFormatConfiguration": { - "$ref": "#/definitions/InputFormatConfiguration" - }, - "OutputFormatConfiguration": { - "$ref": "#/definitions/OutputFormatConfiguration" - }, - "SchemaConfiguration": { - "$ref": "#/definitions/SchemaConfiguration" - } - }, - "type": "object" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "additionalProperties": false, - "properties": { - "KeyARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "KeyType": { - "enum": [ - "AWS_OWNED_CMK", - "CUSTOMER_MANAGED_CMK" - ], - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "Deserializer": { - "additionalProperties": false, - "properties": { - "HiveJsonSerDe": { - "$ref": "#/definitions/HiveJsonSerDe" - }, - "OpenXJsonSerDe": { - "$ref": "#/definitions/OpenXJsonSerDe" - } - }, - "type": "object" - }, - "DestinationTableConfiguration": { - "additionalProperties": false, - "properties": { - "DestinationDatabaseName": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "DestinationTableName": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "S3ErrorOutputPrefix": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "UniqueKeys": { - "items": { - "$ref": "#/definitions/UniqueKey" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "DestinationDatabaseName", - "DestinationTableName" - ], - "type": "object" - }, - "DestinationTableConfigurationList": { - "items": { - "$ref": "#/definitions/DestinationTableConfiguration" - }, - "type": "array" - }, - "DocumentIdOptions": { - "additionalProperties": false, - "properties": { - "DefaultDocumentIdFormat": { - "enum": [ - "FIREHOSE_DEFAULT", - "NO_DOCUMENT_ID" - ], - "type": "string" - } - }, - "required": [ - "DefaultDocumentIdFormat" - ], - "type": "object" - }, - "DynamicPartitioningConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RetryOptions": { - "$ref": "#/definitions/RetryOptions" - } - }, - "type": "object" - }, - "ElasticsearchBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "ElasticsearchDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/ElasticsearchBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "maxLength": 512, - "minLength": 1, - "pattern": "https:.*", - "type": "string" - }, - "DocumentIdOptions": { - "$ref": "#/definitions/DocumentIdOptions" - }, - "DomainARN": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Elasticsearch::Domain" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::OpenSearchService::Domain" - } - } - ], - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "type": "string" - }, - "IndexName": { - "maxLength": 80, - "minLength": 1, - "type": "string" - }, - "IndexRotationPeriod": { - "enum": [ - "NoRotation", - "OneHour", - "OneDay", - "OneWeek", - "OneMonth" - ], - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/ElasticsearchRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDocumentsOnly", - "AllDocuments" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "TypeName": { - "maxLength": 100, - "minLength": 0, - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/VpcConfiguration" - } - }, - "required": [ - "IndexName", - "S3Configuration", - "RoleARN" - ], - "type": "object" - }, - "ElasticsearchRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KMSEncryptionConfig": { - "$ref": "#/definitions/KMSEncryptionConfig" - }, - "NoEncryptionConfig": { - "enum": [ - "NoEncryption" - ], - "type": "string" - } - }, - "type": "object" - }, - "ExtendedS3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "maxLength": 2048, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::S3::Bucket" - }, - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "enum": [ - "UNCOMPRESSED", - "GZIP", - "ZIP", - "Snappy", - "HADOOP_SNAPPY" - ], - "type": "string" - }, - "CustomTimeZone": { - "maxLength": 50, - "minLength": 0, - "type": "string" - }, - "DataFormatConversionConfiguration": { - "$ref": "#/definitions/DataFormatConversionConfiguration" - }, - "DynamicPartitioningConfiguration": { - "$ref": "#/definitions/DynamicPartitioningConfiguration" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "FileExtension": { - "maxLength": 128, - "minLength": 0, - "pattern": "^$|\\.[0-9a-z!\\-_.*'()]+", - "type": "string" - }, - "Prefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "S3BackupMode": { - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "HiveJsonSerDe": { - "additionalProperties": false, - "properties": { - "TimestampFormats": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "HttpEndpointCommonAttribute": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "AttributeValue": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeValue" - ], - "type": "object" - }, - "HttpEndpointConfiguration": { - "additionalProperties": false, - "properties": { - "AccessKey": { - "maxLength": 4096, - "minLength": 0, - "type": "string" - }, - "Name": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Url": { - "maxLength": 1000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "HttpEndpointDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "EndpointConfiguration": { - "$ref": "#/definitions/HttpEndpointConfiguration" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RequestConfiguration": { - "$ref": "#/definitions/HttpEndpointRequestConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/RetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - } - }, - "required": [ - "EndpointConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "HttpEndpointRequestConfiguration": { - "additionalProperties": false, - "properties": { - "CommonAttributes": { - "items": { - "$ref": "#/definitions/HttpEndpointCommonAttribute" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "ContentEncoding": { - "enum": [ - "NONE", - "GZIP" - ], - "type": "string" - } - }, - "type": "object" - }, - "IcebergDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CatalogConfiguration": { - "$ref": "#/definitions/CatalogConfiguration" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "DestinationTableConfigurationList": { - "$ref": "#/definitions/DestinationTableConfigurationList" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/RetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "s3BackupMode": { - "enum": [ - "AllData", - "FailedDataOnly" - ], - "type": "string" - } - }, - "required": [ - "RoleARN", - "CatalogConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "InputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Deserializer": { - "$ref": "#/definitions/Deserializer" - } - }, - "type": "object" - }, - "KMSEncryptionConfig": { - "additionalProperties": false, - "properties": { - "AWSKMSKeyARN": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - } - }, - "required": [ - "AWSKMSKeyARN" - ], - "type": "object" - }, - "KinesisStreamSourceConfiguration": { - "additionalProperties": false, - "properties": { - "KinesisStreamARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - } - }, - "required": [ - "RoleARN", - "KinesisStreamARN" - ], - "type": "object" - }, - "MSKSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AuthenticationConfiguration" - }, - "MSKClusterARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::MSK::Cluster" - }, - "type": "string" - }, - "TopicName": { - "maxLength": 255, - "minLength": 1, - "pattern": "[a-zA-Z0-9\\._\\-]+", - "type": "string" - } - }, - "required": [ - "MSKClusterARN", - "TopicName", - "AuthenticationConfiguration" - ], - "type": "object" - }, - "OpenXJsonSerDe": { - "additionalProperties": false, - "properties": { - "CaseInsensitive": { - "type": "boolean" - }, - "ColumnToJsonKeyMappings": { - "additionalProperties": false, - "patternProperties": { - "[a-zA-Z0-9]+": { - "type": "string" - } - }, - "type": "object" - }, - "ConvertDotsInJsonKeysToUnderscores": { - "type": "boolean" - } - }, - "type": "object" - }, - "OrcSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "integer" - }, - "BloomFilterColumns": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BloomFilterFalsePositiveProbability": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "DictionaryKeyThreshold": { - "type": "number" - }, - "EnablePadding": { - "type": "boolean" - }, - "FormatVersion": { - "type": "string" - }, - "PaddingTolerance": { - "type": "number" - }, - "RowIndexStride": { - "type": "integer" - }, - "StripeSizeBytes": { - "type": "integer" - } - }, - "type": "object" - }, - "OutputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Serializer": { - "$ref": "#/definitions/Serializer" - } - }, - "type": "object" - }, - "ParquetSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "integer" - }, - "Compression": { - "type": "string" - }, - "EnableDictionaryCompression": { - "type": "boolean" - }, - "MaxPaddingBytes": { - "type": "integer" - }, - "PageSizeBytes": { - "type": "integer" - }, - "WriterVersion": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Processors": { - "items": { - "$ref": "#/definitions/Processor" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Processor": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/ProcessorParameter" - }, - "type": "array", - "uniqueItems": true - }, - "Type": { - "enum": [ - "RecordDeAggregation", - "Decompression", - "CloudWatchLogProcessing", - "Lambda", - "MetadataExtraction", - "AppendDelimiterToRecord" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "ProcessorParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Lambda::Function" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/Id", - "typeName": "AWS::Lambda::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "ParameterValue", - "ParameterName" - ], - "type": "object" - }, - "RedshiftDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ClusterJDBCURL": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "CopyCommand": { - "$ref": "#/definitions/CopyCommand" - }, - "Password": { - "maxLength": 512, - "minLength": 6, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/RedshiftRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "S3BackupMode": { - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - }, - "Username": { - "maxLength": 512, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "S3Configuration", - "ClusterJDBCURL", - "CopyCommand", - "RoleARN" - ], - "type": "object" - }, - "RedshiftRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "RetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "maxLength": 2048, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::S3::Bucket" - }, - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "enum": [ - "UNCOMPRESSED", - "GZIP", - "ZIP", - "Snappy", - "HADOOP_SNAPPY" - ], - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "Prefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "SchemaConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "relationshipRef": { - "propertyPath": "/properties/Id", - "typeName": "AWS::Glue::Database" - }, - "type": "string" - }, - "Region": { - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "TableName": { - "relationshipRef": { - "propertyPath": "/properties/Id", - "typeName": "AWS::Glue::Table" - }, - "type": "string" - }, - "VersionId": { - "type": "string" - } - }, - "type": "object" - }, - "SecretsManagerConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "SecretARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::SecretsManager::Secret" - }, - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "Serializer": { - "additionalProperties": false, - "properties": { - "OrcSerDe": { - "$ref": "#/definitions/OrcSerDe" - }, - "ParquetSerDe": { - "$ref": "#/definitions/ParquetSerDe" - } - }, - "type": "object" - }, - "SnowflakeBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "SnowflakeDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "AccountUrl": { - "maxLength": 2048, - "minLength": 24, - "pattern": ".+?\\.snowflakecomputing\\.com", - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/SnowflakeBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ContentColumnName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataLoadingOption": { - "enum": [ - "JSON_MAPPING", - "VARIANT_CONTENT_MAPPING", - "VARIANT_CONTENT_AND_METADATA_MAPPING" - ], - "type": "string" - }, - "Database": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyPassphrase": { - "maxLength": 255, - "minLength": 7, - "type": "string" - }, - "MetaDataColumnName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "PrivateKey": { - "maxLength": 4096, - "minLength": 256, - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$", - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/SnowflakeRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDataOnly", - "AllData" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "Schema": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - }, - "SnowflakeRoleConfiguration": { - "$ref": "#/definitions/SnowflakeRoleConfiguration" - }, - "SnowflakeVpcConfiguration": { - "$ref": "#/definitions/SnowflakeVpcConfiguration" - }, - "Table": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "User": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "AccountUrl", - "Database", - "Schema", - "Table", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "SnowflakeRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "SnowflakeRoleConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "SnowflakeRole": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "type": "object" - }, - "SnowflakeVpcConfiguration": { - "additionalProperties": false, - "properties": { - "PrivateLinkVpceId": { - "maxLength": 255, - "minLength": 47, - "pattern": "([a-zA-Z0-9\\-\\_]+\\.){2,3}vpce\\.[a-zA-Z0-9\\-]*\\.vpce-svc\\-[a-zA-Z0-9\\-]{17}$", - "type": "string" - } - }, - "required": [ - "PrivateLinkVpceId" - ], - "type": "object" - }, - "SplunkBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "SplunkDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/SplunkBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "HECAcknowledgmentTimeoutInSeconds": { - "maximum": 600, - "minimum": 180, - "type": "integer" - }, - "HECEndpoint": { - "maxLength": 2048, - "minLength": 0, - "type": "string" - }, - "HECEndpointType": { - "enum": [ - "Raw", - "Event" - ], - "type": "string" - }, - "HECToken": { - "maxLength": 2048, - "minLength": 0, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/SplunkRetryOptions" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - } - }, - "required": [ - "HECEndpoint", - "S3Configuration", - "HECEndpointType" - ], - "type": "object" - }, - "SplunkRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^(?!aws:)[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@%]*$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "pattern": "^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@%]*$", - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniqueKey": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "VpcConfiguration": { - "additionalProperties": false, - "properties": { - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "SecurityGroupIds": { - "format": "AWS::EC2::SecurityGroup.Ids", - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "maxLength": 1024, - "minLength": 1, - "relationshipRef": { - "propertyPath": "/properties/GroupId", - "typeName": "AWS::EC2::SecurityGroup" - }, - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SubnetIds": { - "items": { - "maxLength": 1024, - "minLength": 1, - "relationshipRef": { - "propertyPath": "/properties/SubnetId", - "typeName": "AWS::EC2::Subnet" - }, - "type": "string" - }, - "maxItems": 16, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "RoleARN", - "SubnetIds", - "SecurityGroupIds" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "firehose:CreateDeliveryStream", - "firehose:DescribeDeliveryStream", - "iam:GetRole", - "iam:PassRole", - "kms:CreateGrant", - "kms:DescribeKey" - ] - }, - "delete": { - "permissions": [ - "firehose:DeleteDeliveryStream", - "firehose:DescribeDeliveryStream", - "kms:RevokeGrant", - "kms:DescribeKey" - ] - }, - "list": { - "permissions": [ - "firehose:ListDeliveryStreams" - ] - }, - "read": { - "permissions": [ - "firehose:DescribeDeliveryStream", - "firehose:ListTagsForDeliveryStream" - ] - }, - "update": { - "permissions": [ - "firehose:UpdateDestination", - "firehose:DescribeDeliveryStream", - "firehose:StartDeliveryStreamEncryption", - "firehose:StopDeliveryStreamEncryption", - "firehose:ListTagsForDeliveryStream", - "firehose:TagDeliveryStream", - "firehose:UntagDeliveryStream", - "kms:CreateGrant", - "kms:RevokeGrant", - "kms:DescribeKey" - ] - } - }, - "primaryIdentifier": [ - "/properties/DeliveryStreamName" - ], - "properties": { - "AmazonOpenSearchServerlessDestinationConfiguration": { - "$ref": "#/definitions/AmazonOpenSearchServerlessDestinationConfiguration" - }, - "AmazonopensearchserviceDestinationConfiguration": { - "$ref": "#/definitions/AmazonopensearchserviceDestinationConfiguration" - }, - "Arn": { - "type": "string" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "$ref": "#/definitions/DeliveryStreamEncryptionConfigurationInput" - }, - "DeliveryStreamName": { - "maxLength": 64, - "minLength": 1, - "pattern": "[a-zA-Z0-9._-]+", - "type": "string" - }, - "DeliveryStreamType": { - "enum": [ - "DirectPut", - "KinesisStreamAsSource", - "MSKAsSource" - ], - "type": "string" - }, - "ElasticsearchDestinationConfiguration": { - "$ref": "#/definitions/ElasticsearchDestinationConfiguration" - }, - "ExtendedS3DestinationConfiguration": { - "$ref": "#/definitions/ExtendedS3DestinationConfiguration" - }, - "HttpEndpointDestinationConfiguration": { - "$ref": "#/definitions/HttpEndpointDestinationConfiguration" - }, - "IcebergDestinationConfiguration": { - "$ref": "#/definitions/IcebergDestinationConfiguration" - }, - "KinesisStreamSourceConfiguration": { - "$ref": "#/definitions/KinesisStreamSourceConfiguration" - }, - "MSKSourceConfiguration": { - "$ref": "#/definitions/MSKSourceConfiguration" - }, - "RedshiftDestinationConfiguration": { - "$ref": "#/definitions/RedshiftDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SnowflakeDestinationConfiguration": { - "$ref": "#/definitions/SnowflakeDestinationConfiguration" - }, - "SplunkDestinationConfiguration": { - "$ref": "#/definitions/SplunkDestinationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "typeName": "AWS::KinesisFirehose::DeliveryStream" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-rolesanywhere-profile.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-rolesanywhere-profile.json deleted file mode 100644 index 8303473193..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-rolesanywhere-profile.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "additionalProperties": false, - "definitions": { - "AttributeMapping": { - "additionalProperties": false, - "properties": { - "CertificateField": { - "$ref": "#/definitions/CertificateField" - }, - "MappingRules": { - "items": { - "$ref": "#/definitions/MappingRule" - }, - "type": "array" - } - }, - "required": [ - "CertificateField", - "MappingRules" - ], - "type": "object" - }, - "CertificateField": { - "enum": [ - "x509Subject", - "x509Issuer", - "x509SAN" - ], - "type": "string" - }, - "MappingRule": { - "additionalProperties": false, - "properties": { - "Specifier": { - "type": "string" - } - }, - "required": [ - "Specifier" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:CreateProfile", - "rolesanywhere:TagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - }, - "delete": { - "permissions": [ - "rolesanywhere:DeleteProfile" - ] - }, - "list": { - "permissions": [ - "rolesanywhere:ListProfiles", - "rolesanywhere:ListTagsForResource" - ] - }, - "read": { - "permissions": [ - "rolesanywhere:GetProfile", - "rolesanywhere:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "iam:GetRole", - "iam:GetPolicy", - "iam:PassRole", - "rolesanywhere:GetProfile", - "rolesanywhere:UpdateProfile", - "rolesanywhere:EnableProfile", - "rolesanywhere:DisableProfile", - "rolesanywhere:TagResource", - "rolesanywhere:UntagResource", - "rolesanywhere:ListTagsForResource", - "rolesanywhere:PutAttributeMapping", - "rolesanywhere:DeleteAttributeMapping" - ] - } - }, - "primaryIdentifier": [ - "/properties/ProfileId" - ], - "properties": { - "AttributeMappings": { - "items": { - "$ref": "#/definitions/AttributeMapping" - }, - "type": "array" - }, - "DurationSeconds": { - "maximum": 43200, - "minimum": 900, - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ProfileArn": { - "type": "string" - }, - "ProfileId": { - "pattern": "[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}", - "type": "string" - }, - "RequireInstanceProperties": { - "type": "boolean" - }, - "RoleArns": { - "items": { - "maxLength": 1011, - "minLength": 1, - "type": "string" - }, - "type": "array" - }, - "SessionPolicy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 200, - "minItems": 0, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/ProfileId", - "/properties/ProfileArn" - ], - "required": [ - "Name", - "RoleArns" - ], - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::RolesAnywhere::Profile" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-route53resolver-firewallrulegroup.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-route53resolver-firewallrulegroup.json deleted file mode 100644 index aaa7151526..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-route53resolver-firewallrulegroup.json +++ /dev/null @@ -1,236 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Name" - ], - "definitions": { - "FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "enum": [ - "ALLOW", - "BLOCK", - "ALERT" - ], - "type": "string" - }, - "BlockOverrideDnsType": { - "enum": [ - "CNAME" - ], - "type": "string" - }, - "BlockOverrideDomain": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "BlockOverrideTtl": { - "maximum": 604800, - "minimum": 0, - "type": "integer" - }, - "BlockResponse": { - "enum": [ - "NODATA", - "NXDOMAIN", - "OVERRIDE" - ], - "type": "string" - }, - "FirewallDomainListId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "Priority": { - "type": "integer" - }, - "Qtype": { - "maxLength": 16, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "FirewallDomainListId", - "Priority", - "Action" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "delete": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "list": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "read": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - }, - "update": { - "permissions": [ - "route53resolver:*", - "ec2:*", - "logs:*", - "iam:*", - "lambda:*", - "s3:*" - ] - } - }, - "primaryIdentifier": [ - "/properties/Id" - ], - "properties": { - "Arn": { - "maxLength": 600, - "minLength": 1, - "type": "string" - }, - "CreationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "CreatorRequestId": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "FirewallRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/FirewallRule" - }, - "type": "array", - "uniqueItems": true - }, - "Id": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ModificationTime": { - "maxLength": 40, - "minLength": 20, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 1, - "pattern": "(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)", - "type": "string" - }, - "OwnerId": { - "maxLength": 32, - "minLength": 12, - "type": "string" - }, - "RuleCount": { - "type": "integer" - }, - "ShareStatus": { - "enum": [ - "NOT_SHARED", - "SHARED_WITH_ME", - "SHARED_BY_ME" - ], - "type": "string" - }, - "Status": { - "enum": [ - "COMPLETE", - "DELETING", - "UPDATING", - "INACTIVE_OWNER_ACCOUNT_CLOSED" - ], - "type": "string" - }, - "StatusMessage": { - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": true - } - }, - "readOnlyProperties": [ - "/properties/Id", - "/properties/Arn", - "/properties/RuleCount", - "/properties/Status", - "/properties/StatusMessage", - "/properties/OwnerId", - "/properties/ShareStatus", - "/properties/CreatorRequestId", - "/properties/CreationTime", - "/properties/ModificationTime" - ], - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::FirewallRuleGroup" -} diff --git a/src/cfnlint/data/schemas/providers/ca_west_1/aws-route53resolver-resolverrule.json b/src/cfnlint/data/schemas/providers/ca_west_1/aws-route53resolver-resolverrule.json deleted file mode 100644 index ca41a553a3..0000000000 --- a/src/cfnlint/data/schemas/providers/ca_west_1/aws-route53resolver-resolverrule.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "additionalProperties": false, - "conditionalCreateOnlyProperties": [ - "/properties/DomainName" - ], - "createOnlyProperties": [ - "/properties/RuleType" - ], - "definitions": { - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "Value", - "Key" - ], - "type": "object" - }, - "TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Ipv6": { - "type": "string" - }, - "Port": { - "maxLength": 65535, - "minLength": 0, - "type": "string" - }, - "Protocol": { - "enum": [ - "Do53", - "DoH" - ], - "type": "string" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "route53resolver:CreateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource" - ] - }, - "delete": { - "permissions": [ - "route53resolver:DeleteResolverRule", - "route53resolver:GetResolverRule" - ] - }, - "list": { - "permissions": [ - "route53resolver:ListResolverRules" - ] - }, - "read": { - "permissions": [ - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource" - ] - }, - "update": { - "permissions": [ - "route53resolver:UpdateResolverRule", - "route53resolver:GetResolverRule", - "route53resolver:ListTagsForResource", - "route53resolver:TagResource", - "route53resolver:UntagResource" - ] - } - }, - "primaryIdentifier": [ - "/properties/ResolverRuleId" - ], - "properties": { - "Arn": { - "type": "string" - }, - "DomainName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Name": { - "maxLength": 64, - "minLength": 0, - "type": "string" - }, - "ResolverEndpointId": { - "maxLength": 64, - "minLength": 1, - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "RuleType": { - "enum": [ - "FORWARD", - "SYSTEM", - "RECURSIVE" - ], - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array", - "uniqueItems": false - }, - "TargetIps": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/TargetAddress" - }, - "type": "array", - "uniqueItems": false - } - }, - "propertyTransform": { - "/properties/DomainName": "$join([DomainName, \".\"]) $OR DomainName" - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/ResolverRuleId" - ], - "required": [ - "DomainName", - "RuleType" - ], - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-route53resolver.git", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::Route53Resolver::ResolverRule" -} diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py b/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py index 64e2434c08..dda995fa1a 100644 --- a/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/cn_north_1/__init__.py @@ -710,6 +710,7 @@ "Module", "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -833,7 +834,6 @@ "aws-codedeploy-deploymentgroup.json", "aws-codepipeline-customactiontype.json", "aws-codepipeline-pipeline.json", - "aws-cognito-identitypool.json", "aws-cognito-identitypoolprincipaltag.json", "aws-cognito-identitypoolroleattachment.json", "aws-config-aggregationauthorization.json", @@ -905,7 +905,6 @@ "aws-ec2-prefixlist.json", "aws-ec2-route.json", "aws-ec2-routetable.json", - "aws-ec2-securitygroup.json", "aws-ec2-securitygroupegress.json", "aws-ec2-securitygroupingress.json", "aws-ec2-snapshotblockpublicaccess.json", diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-acmpca-certificateauthority.json deleted file mode 100644 index bac8f101fb..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_north_1/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "CustomPath": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "MaxPartitionSizeMB": { - "type": "integer" - }, - "PartitioningEnabled": { - "type": "boolean" - }, - "RetainExpiredCertificates": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-cognito-identitypool.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-cognito-identitypool.json new file mode 100644 index 0000000000..034b2d3ba3 --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-cognito-identitypool.json @@ -0,0 +1,213 @@ +{ + "additionalProperties": false, + "definitions": { + "CognitoIdentityProvider": { + "additionalProperties": false, + "properties": { + "ClientId": { + "type": "string" + }, + "ProviderName": { + "type": "string" + }, + "ServerSideTokenCheck": { + "type": "boolean" + } + }, + "required": [ + "ProviderName", + "ClientId" + ], + "type": "object" + }, + "CognitoStreams": { + "additionalProperties": false, + "properties": { + "RoleArn": { + "type": "string" + }, + "StreamName": { + "type": "string" + }, + "StreamingStatus": { + "type": "string" + } + }, + "type": "object" + }, + "PushSync": { + "additionalProperties": false, + "properties": { + "ApplicationArns": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "RoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "maxLength": 128, + "minLength": 1, + "type": "string" + }, + "Value": { + "maxLength": 256, + "minLength": 0, + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + } + }, + "handlers": { + "create": { + "permissions": [ + "cognito-identity:CreateIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "iam:PassRole" + ] + }, + "delete": { + "permissions": [ + "cognito-identity:DeleteIdentityPool" + ] + }, + "list": { + "permissions": [ + "cognito-identity:ListIdentityPools" + ] + }, + "read": { + "permissions": [ + "cognito-identity:DescribeIdentityPool" + ] + }, + "update": { + "permissions": [ + "cognito-identity:UpdateIdentityPool", + "cognito-identity:DescribeIdentityPool", + "cognito-sync:SetIdentityPoolConfiguration", + "cognito-sync:SetCognitoEvents", + "cognito-identity:TagResource", + "cognito-identity:UntagResource", + "iam:PassRole" + ] + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "AllowClassicFlow": { + "type": "boolean" + }, + "AllowUnauthenticatedIdentities": { + "type": "boolean" + }, + "CognitoEvents": { + "format": "json", + "type": [ + "object", + "string" + ] + }, + "CognitoIdentityProviders": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/CognitoIdentityProvider" + }, + "type": "array", + "uniqueItems": false + }, + "CognitoStreams": { + "$ref": "#/definitions/CognitoStreams" + }, + "DeveloperProviderName": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "IdentityPoolName": { + "type": "string" + }, + "IdentityPoolTags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": true + }, + "Name": { + "type": "string" + }, + "OpenIdConnectProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "PushSync": { + "$ref": "#/definitions/PushSync" + }, + "SamlProviderARNs": { + "insertionOrder": false, + "items": { + "type": "string" + }, + "type": "array", + "uniqueItems": false + }, + "SupportedLoginProviders": { + "format": "json", + "type": [ + "object", + "string" + ] + } + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/Name" + ], + "required": [ + "AllowUnauthenticatedIdentities" + ], + "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "tagging": { + "cloudFormationSystemTags": false, + "permissions": [ + "cognito-identity:TagResource", + "cognito-identity:UntagResource" + ], + "tagOnCreate": true, + "tagProperty": "/properties/IdentityPoolTags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::Cognito::IdentityPool", + "writeOnlyProperties": [ + "/properties/PushSync", + "/properties/CognitoStreams", + "/properties/CognitoEvents" + ] +} diff --git a/src/cfnlint/data/schemas/providers/cn_north_1/aws-ec2-securitygroup.json b/src/cfnlint/data/schemas/providers/cn_north_1/aws-ec2-securitygroup.json new file mode 100644 index 0000000000..2f7e3ef4ca --- /dev/null +++ b/src/cfnlint/data/schemas/providers/cn_north_1/aws-ec2-securitygroup.json @@ -0,0 +1,244 @@ +{ + "$schema": "https://raw.githubusercontent.com/aws-cloudformation/cloudformation-resource-schema/master/src/main/resources/schema/provider.definition.schema.v1.json", + "additionalProperties": false, + "createOnlyProperties": [ + "/properties/GroupDescription", + "/properties/GroupName", + "/properties/VpcId" + ], + "definitions": { + "Egress": { + "additionalProperties": false, + "properties": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DestinationPrefixListId": { + "type": "string" + }, + "DestinationSecurityGroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "FromPort": { + "minimum": -1, + "type": "integer" + }, + "IpProtocol": { + "type": "string" + }, + "ToPort": { + "minimum": -1, + "type": "integer" + } + }, + "required": [ + "IpProtocol" + ], + "requiredXor": [ + "CidrIp", + "CidrIpv6", + "DestinationSecurityGroupId", + "DestinationPrefixListId" + ], + "type": "object" + }, + "Ingress": { + "additionalProperties": false, + "properties": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "FromPort": { + "minimum": -1, + "type": "integer" + }, + "IpProtocol": { + "type": "string" + }, + "SourcePrefixListId": { + "type": "string" + }, + "SourceSecurityGroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "SourceSecurityGroupName": { + "format": "AWS::EC2::SecurityGroup.GroupName", + "type": "string" + }, + "SourceSecurityGroupOwnerId": { + "type": "string" + }, + "ToPort": { + "minimum": -1, + "type": "integer" + } + }, + "required": [ + "IpProtocol" + ], + "requiredXor": [ + "CidrIp", + "CidrIpv6", + "SourcePrefixListId", + "SourceSecurityGroupId", + "SourceSecurityGroupName" + ], + "type": "object" + }, + "Tag": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "required": [ + "Value", + "Key" + ], + "type": "object" + } + }, + "dependentRequired": { + "SecurityGroupEgress": [ + "VpcId" + ] + }, + "handlers": { + "create": { + "permissions": [ + "ec2:CreateSecurityGroup", + "ec2:DescribeSecurityGroups", + "ec2:RevokeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupIngress", + "ec2:CreateTags" + ] + }, + "delete": { + "permissions": [ + "ec2:DescribeSecurityGroups", + "ec2:DeleteSecurityGroup", + "ec2:DescribeInstances" + ] + }, + "list": { + "permissions": [ + "ec2:DescribeSecurityGroups" + ] + }, + "read": { + "permissions": [ + "ec2:DescribeSecurityGroups" + ] + }, + "update": { + "permissions": [ + "ec2:RevokeSecurityGroupEgress", + "ec2:RevokeSecurityGroupIngress", + "ec2:DescribeSecurityGroups", + "ec2:AuthorizeSecurityGroupEgress", + "ec2:AuthorizeSecurityGroupIngress", + "ec2:CreateTags", + "ec2:DeleteTags" + ] + } + }, + "primaryIdentifier": [ + "/properties/Id" + ], + "properties": { + "GroupDescription": { + "maxLength": 255, + "minLength": 0, + "pattern": "^([a-z,A-Z,0-9,. _\\-:/()#,@[\\]+=&;\\{\\}!$*])*$", + "type": "string" + }, + "GroupId": { + "format": "AWS::EC2::SecurityGroup.GroupId", + "type": "string" + }, + "GroupName": { + "format": "AWS::EC2::SecurityGroup.GroupName", + "type": "string" + }, + "Id": { + "type": "string" + }, + "SecurityGroupEgress": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Egress" + }, + "type": "array", + "uniqueItems": false + }, + "SecurityGroupIngress": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Ingress" + }, + "type": "array", + "uniqueItems": false + }, + "Tags": { + "insertionOrder": false, + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array", + "uniqueItems": false + }, + "VpcId": { + "format": "AWS::EC2::VPC.Id", + "type": "string" + } + }, + "propertyTransform": { + "/properties/SecurityGroupEgress/*/FromPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? FromPort : -1)", + "/properties/SecurityGroupEgress/*/IpProtocol": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$mapVal ? $mapVal : $lowercase(IpProtocol))", + "/properties/SecurityGroupEgress/*/ToPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? ToPort : -1)", + "/properties/SecurityGroupIngress/*/FromPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? FromPort : -1)", + "/properties/SecurityGroupIngress/*/IpProtocol": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$mapVal ? $mapVal : $lowercase(IpProtocol))", + "/properties/SecurityGroupIngress/*/ToPort": "($mapVal := $lookup({'1': 'icmp','6': 'tcp','17': 'udp','58': 'icmpv6'}, IpProtocol);$ipProtocol := $mapVal ? $mapVal : $lowercase(IpProtocol);$ipProtocol in ['imcp', 'tcp', 'udp', 'imcp'] ? ToPort : -1)" + }, + "readOnlyProperties": [ + "/properties/Id", + "/properties/GroupId" + ], + "required": [ + "GroupDescription" + ], + "tagging": { + "cloudFormationSystemTags": true, + "permissions": [ + "ec2:CreateTags", + "ec2:DeleteTags" + ], + "tagOnCreate": true, + "tagProperty": "/properties/Tags", + "tagUpdatable": true, + "taggable": true + }, + "typeName": "AWS::EC2::SecurityGroup", + "writeOnlyProperties": [ + "/properties/SecurityGroupIngress/*/SourceSecurityGroupName" + ] +} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py b/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py index eaadd481aa..85d4136b10 100644 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py +++ b/src/cfnlint/data/schemas/providers/cn_northwest_1/__init__.py @@ -667,7 +667,9 @@ # pylint: disable=too-many-lines cached: list[str] = [ "Module", + "aws-accessanalyzer-analyzer.json", "aws-acmpca-certificate.json", + "aws-acmpca-certificateauthority.json", "aws-acmpca-certificateauthorityactivation.json", "aws-acmpca-permission.json", "aws-amazonmq-broker.json", @@ -1045,6 +1047,7 @@ "aws-kinesisanalytics-applicationoutput.json", "aws-kinesisanalyticsv2-application.json", "aws-kinesisanalyticsv2-applicationoutput.json", + "aws-kinesisfirehose-deliverystream.json", "aws-kms-alias.json", "aws-kms-key.json", "aws-lakeformation-datacellsfilter.json", @@ -1056,6 +1059,7 @@ "aws-lambda-alias.json", "aws-lambda-eventinvokeconfig.json", "aws-lambda-eventsourcemapping.json", + "aws-lambda-function.json", "aws-lambda-layerversion.json", "aws-lambda-layerversionpermission.json", "aws-lambda-permission.json", @@ -1085,6 +1089,7 @@ "aws-neptune-dbsubnetgroup.json", "aws-networkfirewall-firewall.json", "aws-networkfirewall-firewallpolicy.json", + "aws-networkfirewall-loggingconfiguration.json", "aws-networkfirewall-rulegroup.json", "aws-networkfirewall-tlsinspectionconfiguration.json", "aws-oam-link.json", @@ -1130,17 +1135,20 @@ "aws-redshiftserverless-workgroup.json", "aws-resourcegroups-group.json", "aws-rolesanywhere-crl.json", + "aws-rolesanywhere-profile.json", "aws-rolesanywhere-trustanchor.json", "aws-route53-cidrcollection.json", "aws-route53-recordset.json", "aws-route53-recordsetgroup.json", "aws-route53resolver-firewalldomainlist.json", + "aws-route53resolver-firewallrulegroup.json", "aws-route53resolver-firewallrulegroupassociation.json", "aws-route53resolver-resolverconfig.json", "aws-route53resolver-resolverdnssecconfig.json", "aws-route53resolver-resolverendpoint.json", "aws-route53resolver-resolverqueryloggingconfig.json", "aws-route53resolver-resolverqueryloggingconfigassociation.json", + "aws-route53resolver-resolverrule.json", "aws-route53resolver-resolverruleassociation.json", "aws-s3-accessgrant.json", "aws-s3-accessgrantsinstance.json", diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-accessanalyzer-analyzer.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-accessanalyzer-analyzer.json deleted file mode 100644 index beebb62627..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-accessanalyzer-analyzer.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/AnalyzerName", - "/properties/Type", - "/properties/AnalyzerConfiguration" - ], - "definitions": { - "ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Filter" - }, - "minItems": 1, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "insertionOrder": false, - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 127, - "minLength": 1, - "type": "string" - }, - "Value": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "UnusedAccessConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessAge": { - "maximum": 180, - "minimum": 1, - "type": "integer" - } - }, - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "access-analyzer:CreateAnalyzer", - "access-analyzer:TagResource", - "iam:CreateServiceLinkedRole", - "organizations:ListAWSServiceAccessForOrganization", - "organizations:ListDelegatedAdministrators" - ] - }, - "delete": { - "permissions": [ - "access-analyzer:DeleteAnalyzer" - ] - }, - "list": { - "permissions": [ - "access-analyzer:ListAnalyzers" - ] - }, - "read": { - "permissions": [ - "access-analyzer:ListAnalyzers", - "access-analyzer:GetAnalyzer", - "access-analyzer:ListArchiveRules" - ] - }, - "update": { - "permissions": [ - "access-analyzer:CreateArchiveRule", - "access-analyzer:DeleteArchiveRule", - "access-analyzer:ListAnalyzers", - "access-analyzer:TagResource", - "access-analyzer:UntagResource", - "access-analyzer:UpdateArchiveRule" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "AnalyzerConfiguration": { - "additionalProperties": false, - "properties": { - "UnusedAccessConfiguration": { - "$ref": "#/definitions/UnusedAccessConfiguration" - } - }, - "type": "object" - }, - "AnalyzerName": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "ArchiveRules": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/ArchiveRule" - }, - "type": "array" - }, - "Arn": { - "maxLength": 1600, - "minLength": 1, - "type": "string" - }, - "Tags": { - "insertionOrder": false, - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "type": "array", - "uniqueItems": true - }, - "Type": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "required": [ - "Type" - ], - "resourceLink": { - "mappings": { - "AnalyzerName": "/AnalyzerName" - }, - "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}" - }, - "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git", - "tagging": { - "cloudFormationSystemTags": true, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::AccessAnalyzer::Analyzer" -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-acmpca-certificateauthority.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-acmpca-certificateauthority.json deleted file mode 100644 index 8ad28ae39f..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-acmpca-certificateauthority.json +++ /dev/null @@ -1,444 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/Type", - "/properties/KeyAlgorithm", - "/properties/SigningAlgorithm", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/KeyStorageSecurityStandard", - "/properties/UsageMode" - ], - "definitions": { - "AccessDescription": { - "additionalProperties": false, - "properties": { - "AccessLocation": { - "$ref": "#/definitions/GeneralName" - }, - "AccessMethod": { - "$ref": "#/definitions/AccessMethod" - } - }, - "required": [ - "AccessMethod", - "AccessLocation" - ], - "type": "object" - }, - "AccessMethod": { - "additionalProperties": false, - "properties": { - "AccessMethodType": { - "$ref": "#/definitions/AccessMethodType" - }, - "CustomObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - } - }, - "type": "object" - }, - "AccessMethodType": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CrlDistributionPointExtensionConfiguration": { - "$ref": "#/definitions/CrlDistributionPointExtensionConfiguration" - }, - "CustomCname": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "integer" - }, - "S3BucketName": { - "type": "string" - }, - "S3ObjectAcl": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "CrlDistributionPointExtensionConfiguration": { - "additionalProperties": false, - "properties": { - "OmitExtension": { - "type": "boolean" - } - }, - "required": [ - "OmitExtension" - ], - "type": "object" - }, - "CsrExtensions": { - "additionalProperties": false, - "properties": { - "KeyUsage": { - "$ref": "#/definitions/KeyUsage" - }, - "SubjectInformationAccess": { - "$ref": "#/definitions/SubjectInformationAccess" - } - }, - "type": "object" - }, - "CustomAttribute": { - "additionalProperties": false, - "properties": { - "ObjectIdentifier": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "ObjectIdentifier", - "Value" - ], - "type": "object" - }, - "CustomAttributeList": { - "items": { - "$ref": "#/definitions/CustomAttribute" - }, - "type": "array" - }, - "CustomObjectIdentifier": { - "type": "string" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { - "type": "string" - }, - "PartyName": { - "type": "string" - } - }, - "required": [ - "PartyName" - ], - "type": "object" - }, - "GeneralName": { - "additionalProperties": false, - "properties": { - "DirectoryName": { - "$ref": "#/definitions/Subject" - }, - "DnsName": { - "$ref": "#/definitions/DnsName" - }, - "EdiPartyName": { - "$ref": "#/definitions/EdiPartyName" - }, - "IpAddress": { - "$ref": "#/definitions/IpAddress" - }, - "OtherName": { - "$ref": "#/definitions/OtherName" - }, - "RegisteredId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Rfc822Name": { - "$ref": "#/definitions/Rfc822Name" - }, - "UniformResourceIdentifier": { - "$ref": "#/definitions/UniformResourceIdentifier" - } - }, - "type": "object" - }, - "IpAddress": { - "type": "string" - }, - "KeyUsage": { - "additionalProperties": false, - "properties": { - "CRLSign": { - "default": false, - "type": "boolean" - }, - "DataEncipherment": { - "default": false, - "type": "boolean" - }, - "DecipherOnly": { - "default": false, - "type": "boolean" - }, - "DigitalSignature": { - "default": false, - "type": "boolean" - }, - "EncipherOnly": { - "default": false, - "type": "boolean" - }, - "KeyAgreement": { - "default": false, - "type": "boolean" - }, - "KeyCertSign": { - "default": false, - "type": "boolean" - }, - "KeyEncipherment": { - "default": false, - "type": "boolean" - }, - "NonRepudiation": { - "default": false, - "type": "boolean" - } - }, - "type": "object" - }, - "OcspConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OcspCustomCname": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "OtherName": { - "additionalProperties": false, - "properties": { - "TypeId": { - "$ref": "#/definitions/CustomObjectIdentifier" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "TypeId", - "Value" - ], - "type": "object" - }, - "RevocationConfiguration": { - "additionalProperties": false, - "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/CrlConfiguration" - }, - "OcspConfiguration": { - "$ref": "#/definitions/OcspConfiguration" - } - }, - "type": "object" - }, - "Rfc822Name": { - "type": "string" - }, - "Subject": { - "additionalProperties": false, - "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "CustomAttributes": { - "$ref": "#/definitions/CustomAttributeList" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" - }, - "GivenName": { - "type": "string" - }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" - }, - "Pseudonym": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Surname": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AccessDescription" - }, - "type": "array" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniformResourceIdentifier": { - "type": "string" - } - }, - "handlers": { - "create": { - "permissions": [ - "acm-pca:CreateCertificateAuthority", - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr" - ] - }, - "delete": { - "permissions": [ - "acm-pca:DeleteCertificateAuthority", - "acm-pca:DescribeCertificateAuthority" - ] - }, - "list": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListCertificateAuthorities", - "acm-pca:ListTags" - ] - }, - "read": { - "permissions": [ - "acm-pca:DescribeCertificateAuthority", - "acm-pca:GetCertificateAuthorityCsr", - "acm-pca:ListTags" - ] - }, - "update": { - "permissions": [ - "acm-pca:ListTags", - "acm-pca:TagCertificateAuthority", - "acm-pca:UntagCertificateAuthority", - "acm-pca:UpdateCertificateAuthority" - ] - } - }, - "primaryIdentifier": [ - "/properties/Arn" - ], - "properties": { - "Arn": { - "$ref": "#/definitions/Arn" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "CsrExtensions": { - "$ref": "#/definitions/CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UsageMode": { - "type": "string" - } - }, - "readOnlyProperties": [ - "/properties/Arn", - "/properties/CertificateSigningRequest" - ], - "required": [ - "Type", - "KeyAlgorithm", - "SigningAlgorithm", - "Subject" - ], - "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html", - "tagging": { - "cloudFormationSystemTags": false, - "tagOnCreate": true, - "tagProperty": "/properties/Tags", - "tagUpdatable": true, - "taggable": true - }, - "typeName": "AWS::ACMPCA::CertificateAuthority", - "writeOnlyProperties": [ - "/properties/Subject", - "/properties/Subject", - "/properties/CsrExtensions", - "/properties/Tags", - "/properties/RevocationConfiguration", - "/properties/KeyStorageSecurityStandard" - ] -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-kinesisfirehose-deliverystream.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-kinesisfirehose-deliverystream.json deleted file mode 100644 index 3d9d823296..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-kinesisfirehose-deliverystream.json +++ /dev/null @@ -1,1730 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/DeliveryStreamName", - "/properties/DeliveryStreamType", - "/properties/ElasticsearchDestinationConfiguration/VpcConfiguration", - "/properties/AmazonopensearchserviceDestinationConfiguration/VpcConfiguration", - "/properties/AmazonOpenSearchServerlessDestinationConfiguration/VpcConfiguration", - "/properties/KinesisStreamSourceConfiguration", - "/properties/MSKSourceConfiguration", - "/properties/IcebergDestinationConfiguration", - "/properties/SnowflakeDestinationConfiguration/SnowflakeVpcConfiguration" - ], - "definitions": { - "AmazonOpenSearchServerlessBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "AmazonOpenSearchServerlessDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AmazonOpenSearchServerlessBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "CollectionEndpoint": { - "maxLength": 512, - "minLength": 1, - "pattern": "https:.*", - "relationshipRef": { - "propertyPath": "/properties/CollectionEndpoint", - "typeName": "AWS::OpenSearchServerless::Collection" - }, - "type": "string" - }, - "IndexName": { - "maxLength": 80, - "minLength": 1, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AmazonOpenSearchServerlessRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDocumentsOnly", - "AllDocuments" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/VpcConfiguration" - } - }, - "required": [ - "IndexName", - "S3Configuration", - "RoleARN" - ], - "type": "object" - }, - "AmazonOpenSearchServerlessRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "AmazonopensearchserviceBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "AmazonopensearchserviceDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AmazonopensearchserviceBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "maxLength": 512, - "minLength": 1, - "pattern": "https:.*", - "type": "string" - }, - "DocumentIdOptions": { - "$ref": "#/definitions/DocumentIdOptions" - }, - "DomainARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "type": "string" - }, - "IndexName": { - "maxLength": 80, - "minLength": 1, - "type": "string" - }, - "IndexRotationPeriod": { - "enum": [ - "NoRotation", - "OneHour", - "OneDay", - "OneWeek", - "OneMonth" - ], - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AmazonopensearchserviceRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDocumentsOnly", - "AllDocuments" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "TypeName": { - "maxLength": 100, - "minLength": 0, - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/VpcConfiguration" - } - }, - "required": [ - "IndexName", - "S3Configuration", - "RoleARN" - ], - "type": "object" - }, - "AmazonopensearchserviceRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "Connectivity": { - "enum": [ - "PUBLIC", - "PRIVATE" - ], - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - } - }, - "required": [ - "RoleARN", - "Connectivity" - ], - "type": "object" - }, - "BufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "CatalogConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogArn": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "type": "string" - } - }, - "type": "object" - }, - "CloudWatchLoggingOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroupName": { - "relationshipRef": { - "propertyPath": "/properties/LogGroupName", - "typeName": "AWS::Logs::LogGroup" - }, - "type": "string" - }, - "LogStreamName": { - "relationshipRef": { - "propertyPath": "/properties/LogStreamName", - "typeName": "AWS::Logs::LogStream" - }, - "type": "string" - } - }, - "type": "object" - }, - "CopyCommand": { - "additionalProperties": false, - "properties": { - "CopyOptions": { - "maxLength": 204800, - "minLength": 0, - "type": "string" - }, - "DataTableColumns": { - "maxLength": 204800, - "minLength": 0, - "type": "string" - }, - "DataTableName": { - "maxLength": 512, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "DataTableName" - ], - "type": "object" - }, - "DataFormatConversionConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InputFormatConfiguration": { - "$ref": "#/definitions/InputFormatConfiguration" - }, - "OutputFormatConfiguration": { - "$ref": "#/definitions/OutputFormatConfiguration" - }, - "SchemaConfiguration": { - "$ref": "#/definitions/SchemaConfiguration" - } - }, - "type": "object" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "additionalProperties": false, - "properties": { - "KeyARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - }, - "KeyType": { - "enum": [ - "AWS_OWNED_CMK", - "CUSTOMER_MANAGED_CMK" - ], - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "Deserializer": { - "additionalProperties": false, - "properties": { - "HiveJsonSerDe": { - "$ref": "#/definitions/HiveJsonSerDe" - }, - "OpenXJsonSerDe": { - "$ref": "#/definitions/OpenXJsonSerDe" - } - }, - "type": "object" - }, - "DestinationTableConfiguration": { - "additionalProperties": false, - "properties": { - "DestinationDatabaseName": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "DestinationTableName": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "S3ErrorOutputPrefix": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "UniqueKeys": { - "items": { - "$ref": "#/definitions/UniqueKey" - }, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "DestinationDatabaseName", - "DestinationTableName" - ], - "type": "object" - }, - "DestinationTableConfigurationList": { - "items": { - "$ref": "#/definitions/DestinationTableConfiguration" - }, - "type": "array" - }, - "DocumentIdOptions": { - "additionalProperties": false, - "properties": { - "DefaultDocumentIdFormat": { - "enum": [ - "FIREHOSE_DEFAULT", - "NO_DOCUMENT_ID" - ], - "type": "string" - } - }, - "required": [ - "DefaultDocumentIdFormat" - ], - "type": "object" - }, - "DynamicPartitioningConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RetryOptions": { - "$ref": "#/definitions/RetryOptions" - } - }, - "type": "object" - }, - "ElasticsearchBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "ElasticsearchDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/ElasticsearchBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "maxLength": 512, - "minLength": 1, - "pattern": "https:.*", - "type": "string" - }, - "DocumentIdOptions": { - "$ref": "#/definitions/DocumentIdOptions" - }, - "DomainARN": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Elasticsearch::Domain" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::OpenSearchService::Domain" - } - } - ], - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "type": "string" - }, - "IndexName": { - "maxLength": 80, - "minLength": 1, - "type": "string" - }, - "IndexRotationPeriod": { - "enum": [ - "NoRotation", - "OneHour", - "OneDay", - "OneWeek", - "OneMonth" - ], - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/ElasticsearchRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDocumentsOnly", - "AllDocuments" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "TypeName": { - "maxLength": 100, - "minLength": 0, - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/VpcConfiguration" - } - }, - "required": [ - "IndexName", - "S3Configuration", - "RoleARN" - ], - "type": "object" - }, - "ElasticsearchRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KMSEncryptionConfig": { - "$ref": "#/definitions/KMSEncryptionConfig" - }, - "NoEncryptionConfig": { - "enum": [ - "NoEncryption" - ], - "type": "string" - } - }, - "type": "object" - }, - "ExtendedS3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "maxLength": 2048, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::S3::Bucket" - }, - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "enum": [ - "UNCOMPRESSED", - "GZIP", - "ZIP", - "Snappy", - "HADOOP_SNAPPY" - ], - "type": "string" - }, - "CustomTimeZone": { - "maxLength": 50, - "minLength": 0, - "type": "string" - }, - "DataFormatConversionConfiguration": { - "$ref": "#/definitions/DataFormatConversionConfiguration" - }, - "DynamicPartitioningConfiguration": { - "$ref": "#/definitions/DynamicPartitioningConfiguration" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "FileExtension": { - "maxLength": 128, - "minLength": 0, - "pattern": "^$|\\.[0-9a-z!\\-_.*'()]+", - "type": "string" - }, - "Prefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "S3BackupMode": { - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "HiveJsonSerDe": { - "additionalProperties": false, - "properties": { - "TimestampFormats": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "HttpEndpointCommonAttribute": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "AttributeValue": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeValue" - ], - "type": "object" - }, - "HttpEndpointConfiguration": { - "additionalProperties": false, - "properties": { - "AccessKey": { - "maxLength": 4096, - "minLength": 0, - "type": "string" - }, - "Name": { - "maxLength": 256, - "minLength": 1, - "type": "string" - }, - "Url": { - "maxLength": 1000, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "HttpEndpointDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "EndpointConfiguration": { - "$ref": "#/definitions/HttpEndpointConfiguration" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RequestConfiguration": { - "$ref": "#/definitions/HttpEndpointRequestConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/RetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - } - }, - "required": [ - "EndpointConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "HttpEndpointRequestConfiguration": { - "additionalProperties": false, - "properties": { - "CommonAttributes": { - "items": { - "$ref": "#/definitions/HttpEndpointCommonAttribute" - }, - "maxItems": 50, - "minItems": 0, - "type": "array", - "uniqueItems": true - }, - "ContentEncoding": { - "enum": [ - "NONE", - "GZIP" - ], - "type": "string" - } - }, - "type": "object" - }, - "IcebergDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CatalogConfiguration": { - "$ref": "#/definitions/CatalogConfiguration" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "DestinationTableConfigurationList": { - "$ref": "#/definitions/DestinationTableConfigurationList" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/RetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "s3BackupMode": { - "enum": [ - "AllData", - "FailedDataOnly" - ], - "type": "string" - } - }, - "required": [ - "RoleARN", - "CatalogConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "InputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Deserializer": { - "$ref": "#/definitions/Deserializer" - } - }, - "type": "object" - }, - "KMSEncryptionConfig": { - "additionalProperties": false, - "properties": { - "AWSKMSKeyARN": { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::KMS::Key" - }, - "type": "string" - } - }, - "required": [ - "AWSKMSKeyARN" - ], - "type": "object" - }, - "KinesisStreamSourceConfiguration": { - "additionalProperties": false, - "properties": { - "KinesisStreamARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Kinesis::Stream" - }, - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - } - }, - "required": [ - "RoleARN", - "KinesisStreamARN" - ], - "type": "object" - }, - "MSKSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AuthenticationConfiguration" - }, - "MSKClusterARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::MSK::Cluster" - }, - "type": "string" - }, - "TopicName": { - "maxLength": 255, - "minLength": 1, - "pattern": "[a-zA-Z0-9\\._\\-]+", - "type": "string" - } - }, - "required": [ - "MSKClusterARN", - "TopicName", - "AuthenticationConfiguration" - ], - "type": "object" - }, - "OpenXJsonSerDe": { - "additionalProperties": false, - "properties": { - "CaseInsensitive": { - "type": "boolean" - }, - "ColumnToJsonKeyMappings": { - "additionalProperties": false, - "patternProperties": { - "[a-zA-Z0-9]+": { - "type": "string" - } - }, - "type": "object" - }, - "ConvertDotsInJsonKeysToUnderscores": { - "type": "boolean" - } - }, - "type": "object" - }, - "OrcSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "integer" - }, - "BloomFilterColumns": { - "items": { - "type": "string" - }, - "type": "array", - "uniqueItems": true - }, - "BloomFilterFalsePositiveProbability": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "DictionaryKeyThreshold": { - "type": "number" - }, - "EnablePadding": { - "type": "boolean" - }, - "FormatVersion": { - "type": "string" - }, - "PaddingTolerance": { - "type": "number" - }, - "RowIndexStride": { - "type": "integer" - }, - "StripeSizeBytes": { - "type": "integer" - } - }, - "type": "object" - }, - "OutputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Serializer": { - "$ref": "#/definitions/Serializer" - } - }, - "type": "object" - }, - "ParquetSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "integer" - }, - "Compression": { - "type": "string" - }, - "EnableDictionaryCompression": { - "type": "boolean" - }, - "MaxPaddingBytes": { - "type": "integer" - }, - "PageSizeBytes": { - "type": "integer" - }, - "WriterVersion": { - "type": "string" - } - }, - "type": "object" - }, - "ProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Processors": { - "items": { - "$ref": "#/definitions/Processor" - }, - "type": "array", - "uniqueItems": true - } - }, - "type": "object" - }, - "Processor": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/ProcessorParameter" - }, - "type": "array", - "uniqueItems": true - }, - "Type": { - "enum": [ - "RecordDeAggregation", - "Decompression", - "CloudWatchLogProcessing", - "Lambda", - "MetadataExtraction", - "AppendDelimiterToRecord" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "ProcessorParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "anyOf": [ - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::Lambda::Function" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - } - }, - { - "relationshipRef": { - "propertyPath": "/properties/Id", - "typeName": "AWS::Lambda::Alias" - } - } - ], - "type": "string" - } - }, - "required": [ - "ParameterValue", - "ParameterName" - ], - "type": "object" - }, - "RedshiftDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ClusterJDBCURL": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "CopyCommand": { - "$ref": "#/definitions/CopyCommand" - }, - "Password": { - "maxLength": 512, - "minLength": 6, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/RedshiftRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "S3BackupMode": { - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - }, - "Username": { - "maxLength": 512, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "S3Configuration", - "ClusterJDBCURL", - "CopyCommand", - "RoleARN" - ], - "type": "object" - }, - "RedshiftRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "RetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "maxLength": 2048, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::S3::Bucket" - }, - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "enum": [ - "UNCOMPRESSED", - "GZIP", - "ZIP", - "Snappy", - "HADOOP_SNAPPY" - ], - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "Prefix": { - "maxLength": 1024, - "minLength": 0, - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "SchemaConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "relationshipRef": { - "propertyPath": "/properties/Id", - "typeName": "AWS::Glue::Database" - }, - "type": "string" - }, - "Region": { - "type": "string" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "TableName": { - "relationshipRef": { - "propertyPath": "/properties/Id", - "typeName": "AWS::Glue::Table" - }, - "type": "string" - }, - "VersionId": { - "type": "string" - } - }, - "type": "object" - }, - "SecretsManagerConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "SecretARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::SecretsManager::Secret" - }, - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "Serializer": { - "additionalProperties": false, - "properties": { - "OrcSerDe": { - "$ref": "#/definitions/OrcSerDe" - }, - "ParquetSerDe": { - "$ref": "#/definitions/ParquetSerDe" - } - }, - "type": "object" - }, - "SnowflakeBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "SnowflakeDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "AccountUrl": { - "maxLength": 2048, - "minLength": 24, - "pattern": ".+?\\.snowflakecomputing\\.com", - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/SnowflakeBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "ContentColumnName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "DataLoadingOption": { - "enum": [ - "JSON_MAPPING", - "VARIANT_CONTENT_MAPPING", - "VARIANT_CONTENT_AND_METADATA_MAPPING" - ], - "type": "string" - }, - "Database": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "KeyPassphrase": { - "maxLength": 255, - "minLength": 7, - "type": "string" - }, - "MetaDataColumnName": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "PrivateKey": { - "maxLength": 4096, - "minLength": 256, - "pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$", - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/SnowflakeRetryOptions" - }, - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "S3BackupMode": { - "enum": [ - "FailedDataOnly", - "AllData" - ], - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "Schema": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - }, - "SnowflakeRoleConfiguration": { - "$ref": "#/definitions/SnowflakeRoleConfiguration" - }, - "SnowflakeVpcConfiguration": { - "$ref": "#/definitions/SnowflakeVpcConfiguration" - }, - "Table": { - "maxLength": 255, - "minLength": 1, - "type": "string" - }, - "User": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "required": [ - "AccountUrl", - "Database", - "Schema", - "Table", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "SnowflakeRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "SnowflakeRoleConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "SnowflakeRole": { - "maxLength": 255, - "minLength": 1, - "type": "string" - } - }, - "type": "object" - }, - "SnowflakeVpcConfiguration": { - "additionalProperties": false, - "properties": { - "PrivateLinkVpceId": { - "maxLength": 255, - "minLength": 47, - "pattern": "([a-zA-Z0-9\\-\\_]+\\.){2,3}vpce\\.[a-zA-Z0-9\\-]*\\.vpce-svc\\-[a-zA-Z0-9\\-]{17}$", - "type": "string" - } - }, - "required": [ - "PrivateLinkVpceId" - ], - "type": "object" - }, - "SplunkBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "integer" - }, - "SizeInMBs": { - "type": "integer" - } - }, - "type": "object" - }, - "SplunkDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/SplunkBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/CloudWatchLoggingOptions" - }, - "HECAcknowledgmentTimeoutInSeconds": { - "maximum": 600, - "minimum": 180, - "type": "integer" - }, - "HECEndpoint": { - "maxLength": 2048, - "minLength": 0, - "type": "string" - }, - "HECEndpointType": { - "enum": [ - "Raw", - "Event" - ], - "type": "string" - }, - "HECToken": { - "maxLength": 2048, - "minLength": 0, - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/SplunkRetryOptions" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SecretsManagerConfiguration": { - "$ref": "#/definitions/SecretsManagerConfiguration" - } - }, - "required": [ - "HECEndpoint", - "S3Configuration", - "HECEndpointType" - ], - "type": "object" - }, - "SplunkRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "integer" - } - }, - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "maxLength": 128, - "minLength": 1, - "pattern": "^(?!aws:)[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@%]*$", - "type": "string" - }, - "Value": { - "maxLength": 256, - "minLength": 0, - "pattern": "^[\\p{L}\\p{Z}\\p{N}_.:\\/=+\\-@%]*$", - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "UniqueKey": { - "maxLength": 512, - "minLength": 1, - "type": "string" - }, - "VpcConfiguration": { - "additionalProperties": false, - "properties": { - "RoleARN": { - "maxLength": 512, - "minLength": 1, - "pattern": "arn:.*", - "relationshipRef": { - "propertyPath": "/properties/Arn", - "typeName": "AWS::IAM::Role" - }, - "type": "string" - }, - "SecurityGroupIds": { - "format": "AWS::EC2::SecurityGroup.Ids", - "items": { - "format": "AWS::EC2::SecurityGroup.GroupId", - "maxLength": 1024, - "minLength": 1, - "relationshipRef": { - "propertyPath": "/properties/GroupId", - "typeName": "AWS::EC2::SecurityGroup" - }, - "type": "string" - }, - "maxItems": 5, - "minItems": 1, - "type": "array", - "uniqueItems": true - }, - "SubnetIds": { - "items": { - "maxLength": 1024, - "minLength": 1, - "relationshipRef": { - "propertyPath": "/properties/SubnetId", - "typeName": "AWS::EC2::Subnet" - }, - "type": "string" - }, - "maxItems": 16, - "minItems": 1, - "type": "array", - "uniqueItems": true - } - }, - "required": [ - "RoleARN", - "SubnetIds", - "SecurityGroupIds" - ], - "type": "object" - } - }, - "handlers": { - "create": { - "permissions": [ - "firehose:CreateDeliveryStream", - "firehose:DescribeDeliveryStream", - "iam:GetRole", - "iam:PassRole", - "kms:CreateGrant", - "kms:DescribeKey" - ] - }, - "delete": { - "permissions": [ - "firehose:DeleteDeliveryStream", - "firehose:DescribeDeliveryStream", - "kms:RevokeGrant", - "kms:DescribeKey" - ] - }, - "list": { - "permissions": [ - "firehose:ListDeliveryStreams" - ] - }, - "read": { - "permissions": [ - "firehose:DescribeDeliveryStream", - "firehose:ListTagsForDeliveryStream" - ] - }, - "update": { - "permissions": [ - "firehose:UpdateDestination", - "firehose:DescribeDeliveryStream", - "firehose:StartDeliveryStreamEncryption", - "firehose:StopDeliveryStreamEncryption", - "firehose:ListTagsForDeliveryStream", - "firehose:TagDeliveryStream", - "firehose:UntagDeliveryStream", - "kms:CreateGrant", - "kms:RevokeGrant", - "kms:DescribeKey" - ] - } - }, - "primaryIdentifier": [ - "/properties/DeliveryStreamName" - ], - "properties": { - "AmazonOpenSearchServerlessDestinationConfiguration": { - "$ref": "#/definitions/AmazonOpenSearchServerlessDestinationConfiguration" - }, - "AmazonopensearchserviceDestinationConfiguration": { - "$ref": "#/definitions/AmazonopensearchserviceDestinationConfiguration" - }, - "Arn": { - "type": "string" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "$ref": "#/definitions/DeliveryStreamEncryptionConfigurationInput" - }, - "DeliveryStreamName": { - "maxLength": 64, - "minLength": 1, - "pattern": "[a-zA-Z0-9._-]+", - "type": "string" - }, - "DeliveryStreamType": { - "enum": [ - "DirectPut", - "KinesisStreamAsSource", - "MSKAsSource" - ], - "type": "string" - }, - "ElasticsearchDestinationConfiguration": { - "$ref": "#/definitions/ElasticsearchDestinationConfiguration" - }, - "ExtendedS3DestinationConfiguration": { - "$ref": "#/definitions/ExtendedS3DestinationConfiguration" - }, - "HttpEndpointDestinationConfiguration": { - "$ref": "#/definitions/HttpEndpointDestinationConfiguration" - }, - "IcebergDestinationConfiguration": { - "$ref": "#/definitions/IcebergDestinationConfiguration" - }, - "KinesisStreamSourceConfiguration": { - "$ref": "#/definitions/KinesisStreamSourceConfiguration" - }, - "MSKSourceConfiguration": { - "$ref": "#/definitions/MSKSourceConfiguration" - }, - "RedshiftDestinationConfiguration": { - "$ref": "#/definitions/RedshiftDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/S3DestinationConfiguration" - }, - "SnowflakeDestinationConfiguration": { - "$ref": "#/definitions/SnowflakeDestinationConfiguration" - }, - "SplunkDestinationConfiguration": { - "$ref": "#/definitions/SplunkDestinationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "maxItems": 50, - "minItems": 1, - "type": "array" - } - }, - "readOnlyProperties": [ - "/properties/Arn" - ], - "typeName": "AWS::KinesisFirehose::DeliveryStream" -} diff --git a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-lambda-function.json b/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-lambda-function.json deleted file mode 100644 index 885ae9bc98..0000000000 --- a/src/cfnlint/data/schemas/providers/cn_northwest_1/aws-lambda-function.json +++ /dev/null @@ -1,548 +0,0 @@ -{ - "additionalProperties": false, - "createOnlyProperties": [ - "/properties/FunctionName" - ], - "definitions": { - "Code": { - "additionalProperties": false, - "properties": { - "ImageUri": { - "type": "string" - }, - "S3Bucket": { - "maxLength": 63, - "minLength": 3, - "pattern": "^[0-9A-Za-z\\.\\-_]*(? ValidationResult: + + for cache_origin_id, cache_validator in get_value_from_path( + validator, instance, path=deque(["DefaultCacheBehavior", "TargetOriginId"]) + ): + if not validator.is_type(cache_origin_id, "string"): + continue + origin_ids = [] + for origin_id, _ in get_value_from_path( + cache_validator, instance, path=deque(["Origins", "*", "Id"]) + ): + if not validator.is_type(origin_id, "string"): + break + if origin_id == cache_origin_id: + break + origin_ids.append(origin_id) + else: + yield ValidationError( + message=f"{cache_origin_id!r} is not one of {origin_ids!r}", + rule=self, + path_override=cache_validator.context.path.path, + validator="enum", + ) diff --git a/src/cfnlint/rules/resources/ecs/ServiceFargate.py b/src/cfnlint/rules/resources/ecs/ServiceFargate.py new file mode 100644 index 0000000000..3de5ff02cb --- /dev/null +++ b/src/cfnlint/rules/resources/ecs/ServiceFargate.py @@ -0,0 +1,147 @@ +""" +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +SPDX-License-Identifier: MIT-0 +""" + +from __future__ import annotations + +from collections import deque +from typing import Any, Iterator + +from cfnlint.helpers import ensure_list, is_function +from cfnlint.jsonschema import ValidationError, ValidationResult +from cfnlint.jsonschema.protocols import Validator +from cfnlint.rules.helpers import get_resource_by_name, get_value_from_path +from cfnlint.rules.jsonschema.CfnLintKeyword import CfnLintKeyword + + +class ServiceFargate(CfnLintKeyword): + id = "E3054" + shortdesc = ( + "Validate ECS service using Fargate uses TaskDefinition that allows Fargate" + ) + description = ( + "When using an ECS service with 'LaunchType' of 'FARGATE' " + "the associated task definition must have 'RequiresCompatibilities' " + "specified with 'FARGATE' listed" + ) + tags = ["resources", "ecs"] + + def __init__(self) -> None: + super().__init__( + keywords=["Resources/AWS::ECS::Service/Properties"], + ) + + def _filter_resource_name(self, instance: Any) -> str | None: + fn_k, fn_v = is_function(instance) + if fn_k is None: + return None + if fn_k == "Ref": + if isinstance(fn_v, str): + return fn_v + elif fn_k == "Fn::GetAtt": + name = ensure_list(fn_v)[0].split(".")[0] + if isinstance(name, str): + return name + return None + + def _get_service_properties( + self, validator: Validator, instance: Any + ) -> Iterator[tuple[str, str, Validator]]: + for task_definition_id, task_definition_validator in get_value_from_path( + validator, instance, deque(["TaskDefinition"]) + ): + task_definition_resource_name = self._filter_resource_name( + task_definition_id + ) + if task_definition_resource_name is None: + continue + + for ( + launch_type, + launch_type_validator, + ) in get_value_from_path( + task_definition_validator, instance, deque(["LaunchType"]) + ): + yield ( + task_definition_resource_name, + launch_type, + launch_type_validator, + ) + + def _get_task_definition_properties( + self, validator: Validator, resource_name: Any + ) -> Iterator[tuple[list[Any] | None, Validator]]: + task_definition, task_definition_validator = get_resource_by_name( + validator, resource_name, ["AWS::ECS::TaskDefinition"] + ) + if not task_definition: + return + for capabilities, capabilities_validator in get_value_from_path( + task_definition_validator, + task_definition, + path=deque(["Properties", "RequiresCompatibilities"]), + ): + for network_mode, network_mode_validator in get_value_from_path( + capabilities_validator, + task_definition, + path=deque(["Properties", "NetworkMode"]), + ): + + if network_mode == "awsvpc" or network_mode_validator.is_type( + network_mode, "object" + ): + continue + if capabilities is None: + yield capabilities, capabilities_validator + continue + if not isinstance(capabilities, list): + continue + for capibility, _ in get_value_from_path( + network_mode_validator, + capabilities, + path=deque(["*"]), + ): + if isinstance(capibility, dict) or capibility == "FARGATE": + break + else: + yield capabilities, capabilities_validator + + def validate( + self, validator: Validator, _: Any, instance: Any, schema: dict[str, Any] + ) -> ValidationResult: + + for ( + task_definition_resource_name, + launch_type, + service_validator, + ) in self._get_service_properties( + validator, + instance, + ): + if launch_type != "FARGATE": + continue + for ( + capabilities, + capabilities_validator, + ) in self._get_task_definition_properties( + service_validator, + task_definition_resource_name, + ): + if capabilities is None: + yield ValidationError( + "'RequiresCompatibilities' is a required property", + validator="required", + rule=self, + path_override=deque( + list(capabilities_validator.context.path.path)[:-1] + ), + ) + continue + + yield ValidationError( + f"{capabilities!r} does not contain items matching 'FARGATE'", + validator="contains", + rule=self, + path_override=capabilities_validator.context.path.path, + ) diff --git a/src/cfnlint/rules/resources/ecs/ServiceNetworkConfiguration.py b/src/cfnlint/rules/resources/ecs/ServiceNetworkConfiguration.py new file mode 100644 index 0000000000..0a2d19e45c --- /dev/null +++ b/src/cfnlint/rules/resources/ecs/ServiceNetworkConfiguration.py @@ -0,0 +1,107 @@ +""" +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +SPDX-License-Identifier: MIT-0 +""" + +from __future__ import annotations + +from collections import deque +from typing import Any, Iterator + +from cfnlint.helpers import ensure_list, is_function +from cfnlint.jsonschema import ValidationError, ValidationResult +from cfnlint.jsonschema.protocols import Validator +from cfnlint.rules.helpers import get_resource_by_name, get_value_from_path +from cfnlint.rules.jsonschema.CfnLintKeyword import CfnLintKeyword + + +class ServiceNetworkConfiguration(CfnLintKeyword): + id = "E3052" + shortdesc = "Validate ECS service requires NetworkConfiguration" + description = ( + "When using an ECS task definition has NetworkMode set to " + "'awsvpc' then 'NetworkConfiguration' is required" + ) + tags = ["resources", "ecs"] + + def __init__(self) -> None: + super().__init__( + keywords=["Resources/AWS::ECS::Service/Properties"], + ) + + def _filter_resource_name(self, instance: Any) -> str | None: + fn_k, fn_v = is_function(instance) + if fn_k is None: + return None + if fn_k == "Ref": + if isinstance(fn_v, str): + return fn_v + elif fn_k == "Fn::GetAtt": + name = ensure_list(fn_v)[0].split(".")[0] + if isinstance(name, str): + return name + return None + + def _get_service_properties( + self, validator: Validator, instance: Any + ) -> Iterator[tuple[str, str, Validator]]: + for task_definition_id, task_definition_validator in get_value_from_path( + validator, instance, deque(["TaskDefinition"]) + ): + task_definition_resource_name = self._filter_resource_name( + task_definition_id + ) + if task_definition_resource_name is None: + continue + + for ( + network_configuration, + network_configuration_validator, + ) in get_value_from_path( + task_definition_validator, instance, deque(["NetworkConfiguration"]) + ): + yield ( + task_definition_resource_name, + network_configuration, + network_configuration_validator, + ) + + def _get_task_definition_properties( + self, validator: Validator, resource_name: Any + ) -> Iterator[tuple[str | int | None, Validator]]: + target_group, target_group_validator = get_resource_by_name( + validator, resource_name, ["AWS::ECS::TaskDefinition"] + ) + if not target_group: + return + + for network_mode, network_mode_validator in get_value_from_path( + target_group_validator, + target_group, + path=deque(["Properties", "NetworkMode"]), + ): + if network_mode == "awsvpc": + yield network_mode, network_mode_validator + + def validate( + self, validator: Validator, _: Any, instance: Any, schema: dict[str, Any] + ) -> ValidationResult: + + for ( + task_definition_resource_name, + network_configuration, + task_definition_validator, + ) in self._get_service_properties( + validator, + instance, + ): + for _, _ in self._get_task_definition_properties( + task_definition_validator, + task_definition_resource_name, + ): + if network_configuration is None: + yield ValidationError( + "'NetworkConfiguration' is a required property", + validator="required", + rule=self, + ) diff --git a/src/cfnlint/rules/resources/ecs/TaskDefinitionAwsVpc.py b/src/cfnlint/rules/resources/ecs/TaskDefinitionAwsVpc.py new file mode 100644 index 0000000000..603088ff56 --- /dev/null +++ b/src/cfnlint/rules/resources/ecs/TaskDefinitionAwsVpc.py @@ -0,0 +1,81 @@ +""" +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +SPDX-License-Identifier: MIT-0 +""" + +from __future__ import annotations + +from collections import deque +from typing import Any, Iterator + +from cfnlint.jsonschema import ValidationError, ValidationResult +from cfnlint.jsonschema.protocols import Validator +from cfnlint.rules.helpers import get_value_from_path +from cfnlint.rules.jsonschema.CfnLintKeyword import CfnLintKeyword + + +class TaskDefinitionAwsVpc(CfnLintKeyword): + id = "E3053" + shortdesc = "Validate ECS task definition is has correct values for 'HostPort'" + description = ( + "The 'HostPort' must either be undefined or equal to " + "the 'ContainerPort' value" + ) + tags = ["resources", "ecs"] + + def __init__(self) -> None: + super().__init__( + keywords=["Resources/AWS::ECS::TaskDefinition/Properties"], + ) + + def _get_port_mappings( + self, validator: Validator, instance: Any + ) -> Iterator[tuple[str | int | None, str | int | None, Validator]]: + + for container_definition, container_definition_validator in get_value_from_path( + validator, + instance, + path=deque(["ContainerDefinitions", "*", "PortMappings", "*"]), + ): + for host_port, host_port_validator in get_value_from_path( + container_definition_validator, + container_definition, + path=deque(["HostPort"]), + ): + if not isinstance(host_port, (str, int)): + continue + for container_port, _ in get_value_from_path( + host_port_validator, + container_definition, + path=deque(["ContainerPort"]), + ): + if not isinstance(container_port, (str, int)): + continue + if str(host_port) != str(container_port): + yield host_port, container_port, host_port_validator + + def validate( + self, validator: Validator, _: Any, instance: Any, schema: dict[str, Any] + ) -> ValidationResult: + + for network_mode, _ in get_value_from_path( + validator, + instance, + path=deque(["NetworkMode"]), + ): + if network_mode != "awsvpc": + continue + for ( + host_port, + container_port, + port_mapping_validator, + ) in self._get_port_mappings( + validator, + instance, + ): + yield ValidationError( + f"{host_port!r} does not equal {container_port!r}", + validator="const", + rule=self, + path_override=port_mapping_validator.context.path.path, + ) diff --git a/src/cfnlint/version.py b/src/cfnlint/version.py index abaa9637fd..62ddc4f403 100644 --- a/src/cfnlint/version.py +++ b/src/cfnlint/version.py @@ -3,4 +3,4 @@ SPDX-License-Identifier: MIT-0 """ -__version__ = "1.9.7" +__version__ = "1.10.2" diff --git a/test/fixtures/results/integration/metadata.json b/test/fixtures/results/integration/metadata.json new file mode 100644 index 0000000000..e421cf9ddd --- /dev/null +++ b/test/fixtures/results/integration/metadata.json @@ -0,0 +1,89 @@ +[ + { + "Filename": "test/fixtures/templates/integration/metdata.yaml", + "Id": "e020b5ec-4ab1-0eb4-b917-7729e96af1d2", + "Level": "Warning", + "Location": { + "End": { + "ColumnNumber": 16, + "LineNumber": 9 + }, + "Path": [ + "Metadata", + "AWS::CloudFormation::Interface", + "ParameterGroups", + 0, + "Parameters", + 0 + ], + "Start": { + "ColumnNumber": 13, + "LineNumber": 9 + } + }, + "Message": "'Vpc' is not one of ['VpcId']", + "ParentId": null, + "Rule": { + "Description": "Metadata Interface parameters actually exist", + "Id": "W4001", + "ShortDescription": "Metadata Interface parameters exist", + "Source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-interface.html" + } + }, + { + "Filename": "test/fixtures/templates/integration/metdata.yaml", + "Id": "a29b7c20-4cf5-0a50-3291-2606201bcde4", + "Level": "Warning", + "Location": { + "End": { + "ColumnNumber": 17, + "LineNumber": 12 + }, + "Path": [ + "Metadata", + "cfn-lint", + "config", + "bad_checks" + ], + "Start": { + "ColumnNumber": 7, + "LineNumber": 12 + } + }, + "Message": "Additional properties are not allowed ('bad_checks' was unexpected)", + "ParentId": null, + "Rule": { + "Description": "Metadata cfn-lint configuration has many values and we want to validate that", + "Id": "W4005", + "ShortDescription": "Validate cfnlint configuration in the Metadata", + "Source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-interface.html" + } + }, + { + "Filename": "test/fixtures/templates/integration/metdata.yaml", + "Id": "98830d26-133b-bdd8-e52a-f5a4d6a15cd8", + "Level": "Warning", + "Location": { + "End": { + "ColumnNumber": 8, + "LineNumber": 17 + }, + "Path": [ + "Parameters", + "VpcId" + ], + "Start": { + "ColumnNumber": 3, + "LineNumber": 17 + } + }, + "Message": "Parameter VpcId not used.", + "ParentId": null, + "Rule": { + "Description": "Making sure the parameters defined are used", + "Id": "W2001", + "ShortDescription": "Check if Parameters are Used", + "Source": "https://github.com/aws-cloudformation/cfn-lint" + } + } +] diff --git a/test/fixtures/templates/integration/metdata.yaml b/test/fixtures/templates/integration/metdata.yaml new file mode 100644 index 0000000000..862a7a6c9e --- /dev/null +++ b/test/fixtures/templates/integration/metdata.yaml @@ -0,0 +1,21 @@ +AWSTemplateFormatVersion: 2010-09-09 + +Metadata: + AWS::CloudFormation::Interface: + ParameterGroups: + - Label: + default: 'Vpc Parameters' + Parameters: + - Vpc + cfn-lint: + config: + bad_checks: + - E3002 + +Parameters: + # Vpc Parameters + VpcId: + Description: VPC To Create Stack In + Type: String + +Resources: {} diff --git a/test/integration/test_integration_templates.py b/test/integration/test_integration_templates.py index 9a7f42a6a0..959b6b2221 100644 --- a/test/integration/test_integration_templates.py +++ b/test/integration/test_integration_templates.py @@ -35,6 +35,11 @@ class TestQuickStartTemplates(BaseCliTestCase): "results_filename": ("test/fixtures/results/integration/ref-no-value.json"), "exit_code": 2, }, + { + "filename": ("test/fixtures/templates/integration/metdata.yaml"), + "results_filename": ("test/fixtures/results/integration/metadata.json"), + "exit_code": 2, + }, ] def test_templates(self): diff --git a/test/unit/rules/functions/test_getatt.py b/test/unit/rules/functions/test_getatt.py index da714bfdad..e1c54f0dfa 100644 --- a/test/unit/rules/functions/test_getatt.py +++ b/test/unit/rules/functions/test_getatt.py @@ -86,7 +86,8 @@ def validate(self, validator, s, instance, schema): ValidationError( ( "'foo' is not one of ['Arn', 'DomainName', " - "'DualStackDomainName', 'RegionalDomainName', 'WebsiteURL']" + "'DualStackDomainName', 'RegionalDomainName', 'WebsiteURL'] " + "in ['us-east-1']" ), path=deque(["Fn::GetAtt", 1]), schema_path=deque([]), @@ -219,7 +220,7 @@ def validate(self, validator, s, instance, schema): ( "'MyBucket' is not one of ['Arn', 'DomainName', " "'DualStackDomainName', 'RegionalDomainName', " - "'WebsiteURL'] when " + "'WebsiteURL'] in ['us-east-1'] when " "{'Ref': 'MyResourceParameter'} is resolved" ), path=deque(["Fn::GetAtt", 1]), diff --git a/test/unit/rules/functions/test_sub.py b/test/unit/rules/functions/test_sub.py index 8162c4f184..7cb09eca60 100644 --- a/test/unit/rules/functions/test_sub.py +++ b/test/unit/rules/functions/test_sub.py @@ -249,7 +249,7 @@ def context(cfn): "'DomainName', " "'DualStackDomainName', " "'RegionalDomainName', " - "'WebsiteURL']" + "'WebsiteURL'] in ['us-east-1']" ), path=deque(["Fn::Sub"]), schema_path=deque([]), diff --git a/test/unit/rules/resources/cloudfront/test_distribution_target_origin_id.py b/test/unit/rules/resources/cloudfront/test_distribution_target_origin_id.py new file mode 100644 index 0000000000..3b27e1cc8a --- /dev/null +++ b/test/unit/rules/resources/cloudfront/test_distribution_target_origin_id.py @@ -0,0 +1,125 @@ +""" +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +SPDX-License-Identifier: MIT-0 +""" + +from collections import deque + +import pytest + +from cfnlint.jsonschema import ValidationError +from cfnlint.rules.resources.cloudfront.DistributionTargetOriginId import ( + DistributionTargetOriginId, +) + + +@pytest.fixture(scope="module") +def rule(): + rule = DistributionTargetOriginId() + yield rule + + +@pytest.mark.parametrize( + "instance,expected", + [ + ( + [], # wrong type should return no issues + [], + ), + ( + { + "DefaultCacheBehavior": { + "TargetOriginId": "origin-id", + }, + "Origins": [ + { + "Id": "origin-id", + }, + ], + }, + [], + ), + ( + { + "DefaultCacheBehavior": { + "TargetOriginId": "origin-id", + }, + "Origins": [ + { + "Id": "foo", + }, + { + "Id": "origin-id", + }, + { + "Id": "bar", + }, + ], + }, + [], + ), + ( + { + "DefaultCacheBehavior": { + "TargetOriginId": "origin-id", + }, + "Origins": [ + { + "Id": "foo", + }, + { + "Id": "bar", + }, + ], + }, + [ + ValidationError( + ("'origin-id' is not one of " "['foo', 'bar']"), + rule=DistributionTargetOriginId(), + path=deque([]), + validator="enum", + path_override=deque(["DefaultCacheBehavior", "TargetOriginId"]), + ) + ], + ), + ( + { + "DefaultCacheBehavior": { + "TargetOriginId": {"Ref": "MyParameter"}, + }, + "Origins": [ + { + "Id": "foo", + }, + { + "Id": "bar", + }, + ], + }, + [], + ), + ( + { + "DefaultCacheBehavior": { + "TargetOriginId": "origin-id", + }, + "Origins": [ + { + "Id": "foo", + }, + { + "Id": {"Ref": "MyParameter"}, + }, + { + "Id": "bar", + }, + ], + }, + [], + ), + ], +) +def test_validate(instance, expected, rule, validator): + errs = list(rule.validate(validator, "", instance, {})) + + assert errs == expected, f"Expected {expected} got {errs}" diff --git a/test/unit/rules/resources/ecs/test_service_fargate.py b/test/unit/rules/resources/ecs/test_service_fargate.py new file mode 100644 index 0000000000..5c62b8b705 --- /dev/null +++ b/test/unit/rules/resources/ecs/test_service_fargate.py @@ -0,0 +1,403 @@ +""" +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +SPDX-License-Identifier: MIT-0 +""" + +from __future__ import annotations + +from collections import deque + +import jsonpatch +import pytest + +from cfnlint.jsonschema import ValidationError +from cfnlint.rules.helpers import get_value_from_path +from cfnlint.rules.resources.ecs.ServiceFargate import ServiceFargate + + +@pytest.fixture +def rule(): + rule = ServiceFargate() + yield rule + + +_task_definition = { + "Type": "AWS::ECS::TaskDefinition", + "Properties": { + "RequiresCompatibilities": ["FARGATE"], + }, +} + +_service = { + "Type": "AWS::ECS::Service", + "Properties": { + "TaskDefinition": {"Ref": "TaskDefinition"}, + "LaunchType": "FARGATE", + }, +} + + +@pytest.mark.parametrize( + "template,start_path,expected", + [ + ( + { + "Resources": { + "TaskDefinition": dict(_task_definition), + "Service": dict(_service), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": {"Fn::Sub": "${TaskDefinition.Arn}"}, + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": {"Fn::GetAtt": "TaskDefinition.Arn"}, + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [ + ValidationError( + ("'RequiresCompatibilities' is a required property"), + validator="required", + rule=ServiceFargate(), + path_override=deque(["Resources", "TaskDefinition", "Properties"]), + ) + ], + ), + ( + { + "Parameters": {"MyTask": {"Type": "String"}}, + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": {"Ref": "MyTask"}, + }, + ], + ), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": "MyTask", + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": dict(_service), + } + }, + deque(["Resources", "Service", "Properties"]), + [ + ValidationError( + ("'RequiresCompatibilities' is a required property"), + validator="required", + rule=ServiceFargate(), + path_override=deque(["Resources", "TaskDefinition", "Properties"]), + ) + ], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "replace", + "path": "/Properties/LaunchType", + "value": "EC2", + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "replace", + "path": "/Properties/RequiresCompatibilities", + "value": [ + "EC2", + "FARGATE", + ], + }, + ], + ), + "Service": dict(_service), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "replace", + "path": "/Properties/RequiresCompatibilities", + "value": [ + "EC2", + "EXTERNAL", + ], + }, + ], + ), + "Service": dict(_service), + } + }, + deque(["Resources", "Service", "Properties"]), + [ + ValidationError( + ("['EC2', 'EXTERNAL'] does not contain items matching 'FARGATE'"), + validator="contains", + rule=ServiceFargate(), + path_override=deque( + [ + "Resources", + "TaskDefinition", + "Properties", + "RequiresCompatibilities", + ] + ), + ) + ], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "replace", + "path": "/Properties/RequiresCompatibilities", + "value": {"Fn::FindInMap": ["A", "B", "C"]}, + }, + ], + ), + "Service": dict(_service), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Parameters": {"MyLaunchType": {"Type": "String"}}, + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "replace", + "path": "/Properties/RequiresCompatibilities", + "value": ["EC2", {"Ref": "MyLaunchType"}], + }, + ], + ), + "Service": dict(_service), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": "/Properties/NetworkMode", + "value": "awsvpc", + }, + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": dict(_service), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Parameters": {"MyNetworkMode": {"Type": "String"}}, + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": "/Properties/NetworkMode", + "value": {"Ref": "MyNetworkMode"}, + }, + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": dict(_service), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": "/Properties/NetworkMode", + "value": "host", + }, + { + "op": "remove", + "path": "/Properties/RequiresCompatibilities", + }, + ], + ), + "Service": dict(_service), + }, + }, + deque(["Resources", "Service", "Properties"]), + [ + ValidationError( + ("'RequiresCompatibilities' is a required property"), + validator="required", + rule=ServiceFargate(), + path_override=deque(["Resources", "TaskDefinition", "Properties"]), + ) + ], + ), + ], + indirect=["template"], +) +def test_validate(template, start_path, expected, rule, validator): + for instance, instance_validator in get_value_from_path( + validator, template, start_path + ): + errs = list(rule.validate(instance_validator, "", instance, {})) + assert errs == expected, f"Expected {expected} got {errs}" diff --git a/test/unit/rules/resources/ecs/test_service_network_configuration.py b/test/unit/rules/resources/ecs/test_service_network_configuration.py new file mode 100644 index 0000000000..08215e8bda --- /dev/null +++ b/test/unit/rules/resources/ecs/test_service_network_configuration.py @@ -0,0 +1,268 @@ +""" +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +SPDX-License-Identifier: MIT-0 +""" + +from __future__ import annotations + +from collections import deque + +import jsonpatch +import pytest + +from cfnlint.jsonschema import ValidationError +from cfnlint.rules.helpers import get_value_from_path +from cfnlint.rules.resources.ecs.ServiceNetworkConfiguration import ( + ServiceNetworkConfiguration, +) + + +@pytest.fixture +def rule(): + rule = ServiceNetworkConfiguration() + yield rule + + +_task_definition = { + "Type": "AWS::ECS::TaskDefinition", + "Properties": { + "NetworkMode": "awsvpc", + "ContainerDefinitions": [], + }, +} + +_service = { + "Type": "AWS::ECS::Service", + "Properties": { + "TaskDefinition": {"Ref": "TaskDefinition"}, + "NetworkConfiguration": {}, + }, +} + + +@pytest.mark.parametrize( + "template,start_path,expected", + [ + ( + { + "Resources": { + "TaskDefinition": dict(_task_definition), + "Service": dict(_service), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "remove", + "path": "/Properties/NetworkMode", + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "replace", + "path": "/Properties/NetworkMode", + "value": "bridge", + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Parameters": {"MyNetworkMode": {"Type": "String"}}, + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "replace", + "path": "/Properties/NetworkMode", + "value": {"Ref": "MyNetworkMode"}, + }, + ], + ), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + ], + ), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": dict(_task_definition), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [ + ValidationError( + ("'NetworkConfiguration' is a required property"), + validator="required", + rule=ServiceNetworkConfiguration(), + ) + ], + ), + ( + { + "Resources": { + "TaskDefinition": dict(_task_definition), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": {"Fn::GetAtt": "TaskDefinition.Arn"}, + }, + ], + ), + } + }, + deque(["Resources", "Service", "Properties"]), + [ + ValidationError( + ("'NetworkConfiguration' is a required property"), + validator="required", + rule=ServiceNetworkConfiguration(), + ) + ], + ), + ( + { + "Parameters": {"MyTargetGroup": {"Type": "String"}}, + "Resources": { + "TaskDefinition": dict(_task_definition), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": {"Ref": "MyTargetGroup"}, + }, + ], + ), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": dict(_task_definition), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": {"Foo": "Bar"}, + }, + ], + ), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": dict(_task_definition), + "Service": jsonpatch.apply_patch( + dict(_service), + [ + { + "op": "remove", + "path": "/Properties/NetworkConfiguration", + }, + { + "op": "replace", + "path": "/Properties/TaskDefinition", + "value": {"Fn::Sub": "${TaskDefinition.Arn}"}, + }, + ], + ), + }, + }, + deque(["Resources", "Service", "Properties"]), + [], + ), + ], + indirect=["template"], +) +def test_validate(template, start_path, expected, rule, validator): + for instance, instance_validator in get_value_from_path( + validator, template, start_path + ): + errs = list(rule.validate(instance_validator, "", instance, {})) + assert errs == expected, f"Expected {expected} got {errs}" diff --git a/test/unit/rules/resources/ecs/test_task_definition_aws_vpc.py b/test/unit/rules/resources/ecs/test_task_definition_aws_vpc.py new file mode 100644 index 0000000000..3db1ac38f4 --- /dev/null +++ b/test/unit/rules/resources/ecs/test_task_definition_aws_vpc.py @@ -0,0 +1,212 @@ +""" +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +SPDX-License-Identifier: MIT-0 +""" + +from __future__ import annotations + +from collections import deque + +import jsonpatch +import pytest + +from cfnlint.jsonschema import ValidationError +from cfnlint.rules.helpers import get_value_from_path +from cfnlint.rules.resources.ecs.TaskDefinitionAwsVpc import TaskDefinitionAwsVpc + + +@pytest.fixture +def rule(): + rule = TaskDefinitionAwsVpc() + yield rule + + +_task_definition = { + "Type": "AWS::ECS::TaskDefinition", + "Properties": { + "NetworkMode": "awsvpc", + "ContainerDefinitions": [ + { + "Name": "my-container", + "Image": "my-image", + "PortMappings": [ + { + "ContainerPort": 8080, + } + ], + } + ], + }, +} + + +@pytest.mark.parametrize( + "template,start_path,expected", + [ + ( + { + "Resources": { + "TaskDefinition": dict(_task_definition), + } + }, + deque(["Resources", "TaskDefinition", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": ( + "/Properties/ContainerDefinitions/" + "0/PortMappings/0/HostPort" + ), + "value": "8080", + }, + ], + ), + } + }, + deque(["Resources", "TaskDefinition", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": ( + "/Properties/ContainerDefinitions/" + "0/PortMappings/0/HostPort" + ), + "value": "8080", + }, + { + "op": "replace", + "path": ( + "/Properties/ContainerDefinitions/" + "0/PortMappings/0/ContainerPort" + ), + "value": {"Fn::Sub": "8080"}, + }, + ], + ), + } + }, + deque(["Resources", "TaskDefinition", "Properties"]), + [], + ), + ( + { + "Parameters": { + "MyPort": {"Type": "String"}, + "MySecondPort": {"Type": "String"}, + }, + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": ( + "/Properties/ContainerDefinitions/0" + "/PortMappings/0/ContainerPort" + ), + "value": {"Ref": "MyPort"}, + }, + { + "op": "add", + "path": ( + "/Properties/ContainerDefinitions/0" + "/PortMappings/0/HostPort" + ), + "value": {"Ref": "MySecondPort"}, + }, + ], + ), + }, + }, + deque(["Resources", "TaskDefinition", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": ( + "/Properties/ContainerDefinitions/0" + "/PortMappings/0/HostPort" + ), + "value": "80", + }, + { + "op": "replace", + "path": ("/Properties/NetworkMode"), + "value": "bridge", + }, + ], + ), + } + }, + deque(["Resources", "TaskDefinition", "Properties"]), + [], + ), + ( + { + "Resources": { + "TaskDefinition": jsonpatch.apply_patch( + dict(_task_definition), + [ + { + "op": "add", + "path": ( + "/Properties/ContainerDefinitions/0" + "/PortMappings/0/HostPort" + ), + "value": "80", + } + ], + ), + } + }, + deque(["Resources", "TaskDefinition", "Properties"]), + [ + ValidationError( + ("'80' does not equal 8080"), + validator="const", + rule=TaskDefinitionAwsVpc(), + path_override=deque( + [ + "Resources", + "TaskDefinition", + "Properties", + "ContainerDefinitions", + 0, + "PortMappings", + 0, + "HostPort", + ] + ), + ) + ], + ), + ], + indirect=["template"], +) +def test_validate(template, start_path, expected, rule, validator): + for instance, instance_validator in get_value_from_path( + validator, template, start_path + ): + errs = list(rule.validate(instance_validator, "", instance, {})) + + assert errs == expected, f"Expected {expected} got {errs}" diff --git a/test/unit/rules/resources/rds/test_db_cluster_engine_version.py b/test/unit/rules/resources/rds/test_db_cluster_engine_version.py index 1a1fae1dd9..038750f19d 100644 --- a/test/unit/rules/resources/rds/test_db_cluster_engine_version.py +++ b/test/unit/rules/resources/rds/test_db_cluster_engine_version.py @@ -71,7 +71,7 @@ def rule(): ( "'foo' is not one of ['5.7.44', '5.7.44-rds.20240408', " "'5.7.44-rds.20240529', '8.0.32', '8.0.33', '8.0.34', " - "'8.0.35', '8.0.36', '8.0.37']" + "'8.0.35', '8.0.36', '8.0.37', '8.0.39']" ), rule=DbClusterEngineVersion(), path=deque(["EngineVersion"]), diff --git a/test/unit/rules/resources/rds/test_db_instance_engine_version.py b/test/unit/rules/resources/rds/test_db_instance_engine_version.py index 42939fe0e8..1143e97eee 100644 --- a/test/unit/rules/resources/rds/test_db_instance_engine_version.py +++ b/test/unit/rules/resources/rds/test_db_instance_engine_version.py @@ -80,7 +80,7 @@ def rule(): ( "'foo' is not one of ['5.7.44', '5.7.44-rds.20240408', " "'5.7.44-rds.20240529', '8.0.32', '8.0.33', " - "'8.0.34', '8.0.35', '8.0.36', '8.0.37']" + "'8.0.34', '8.0.35', '8.0.36', '8.0.37', '8.0.39']" ), rule=DbInstanceEngineVersion(), path=deque(["EngineVersion"]),