Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented Maximums and Minimums of Integer Properties #1110

Merged
merged 28 commits into from
Sep 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
554a53c
AWS::Glue::Job.NumberOfWorkers Maximum
PatMyron Aug 26, 2019
25d90cd
AWS::IAM::Role.MaxSessionDuration Minimum Maximum
PatMyron Aug 26, 2019
97c24cb
AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckIntervalSeconds M…
PatMyron Aug 26, 2019
3857419
AWS::ElasticLoadBalancingV2::TargetGroup.UnhealthyThresholdCount Maxi…
PatMyron Aug 26, 2019
3dc4922
AWS::Lambda::Function.MemorySize Maximum Minimum
PatMyron Aug 26, 2019
aa50df2
AWS::Kinesis::Stream Maximum Minimum
PatMyron Aug 26, 2019
e0ef302
AWS::Cloud9::EnvironmentEC2.AutomaticStopTimeMinutes Maximum
PatMyron Aug 26, 2019
7066a62
AWS::Lambda::Function.Timeout Maximum Minimum
PatMyron Aug 26, 2019
4ce8eaf
AWS::CodeBuild::Project.(Queued)TimeoutInMinutes Maximum Minimum
PatMyron Aug 26, 2019
5002e32
AWS::Lambda::EventSourceMapping.BatchSize Maximum Minimum
PatMyron Aug 26, 2019
f7607f7
AWS::Inspector::AssessmentTemplate.DurationInSeconds Maximum Minimum
PatMyron Aug 26, 2019
1ad5f43
AWS::ElasticLoadBalancingV2::ListenerRule.Priority Maximum Minimum
PatMyron Aug 26, 2019
f01bc8b
AWS::SageMaker::NotebookInstance.VolumeSizeInGB Maximum Minimum
PatMyron Aug 26, 2019
62bf93d
AWS::ApiGateway::Authorizer.AuthorizerResultTtlInSeconds Maximum
PatMyron Aug 26, 2019
30fc409
AWS::KMS::Key.PendingWindowInDays Maximum Minimum
PatMyron Aug 26, 2019
e6c912b
AWS::FSx::FileSystem.StorageCapacity Maximum Minimum
PatMyron Aug 26, 2019
19b1329
AWS::ElastiCache::ReplicationGroup Maximum Minimum
PatMyron Aug 26, 2019
447d88e
AWS::DocDB::DBCluster.BackupRetentionPeriod Maximum Minimum
PatMyron Aug 26, 2019
4d403f9
AWS::AppStream::Fleet Maximums Minimums
PatMyron Aug 26, 2019
d25449b
AWS::SSM::MaintenanceWindow Maximums Minimums
PatMyron Aug 26, 2019
27150ae
AWS::SQS::Queue Maximums Minimums
PatMyron Aug 26, 2019
334feaa
AWS::RDS::DB Maximums Minimums
PatMyron Aug 26, 2019
b9b3802
AWS::Redshift::Cluster.NumberOfNodes Maximum Minimum
PatMyron Aug 26, 2019
cdc7c32
AWS::Glue::MLTransform.MaxCapacity Maximum
PatMyron Aug 26, 2019
86cf105
Merge branch 'master' into master
PatMyron Aug 27, 2019
562945e
Merge branch 'master' into master
PatMyron Aug 27, 2019
7ab66aa
Merge branch 'master' into master
PatMyron Aug 28, 2019
72e0041
Merge branch 'master' into master
kddejong Sep 1, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,13 @@
"API_KEY"
]
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::ApiGateway::Authorizer.AuthorizerResultTtlInSeconds",
"value": {
"NumberMax": 3600,
"NumberMin": 0
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::AppStream::Fleet.DisconnectTimeoutInSeconds",
"value": {
"NumberMax": 360000,
"NumberMin": 60
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::AppStream::Fleet.IdleDisconnectTimeoutInSeconds",
"value": {
"NumberMax": 3600,
"NumberMin": 0
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::AppStream::Fleet.MaxUserDurationInSeconds",
"value": {
"NumberMax": 360000,
"NumberMin": 600
}
}
]
10 changes: 10 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_cloud9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::Cloud9::EnvironmentEC2.AutomaticStopTimeMinutes",
"value": {
"NumberMax": 20160,
"NumberMin": 0
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,21 @@
"S3"
]
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::CodeBuild::Project.TimeoutInMinutes",
"value": {
"NumberMax": 480,
"NumberMin": 5
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::CodeBuild::Project.QueuedTimeoutInMinutes",
"value": {
"NumberMax": 480,
"NumberMin": 5
}
}
]
10 changes: 10 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_docdb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::DocDB::DBCluster.BackupRetentionPeriod",
"value": {
"NumberMax": 35,
"NumberMin": 1
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::ElastiCache::ReplicationGroup.NumCacheClusters",
"value": {
"NumberMax": 6,
"NumberMin": 1
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::ElastiCache::ReplicationGroup.ReplicasPerNodeGroup",
"value": {
"NumberMax": 5,
"NumberMin": 0
}
}
]
26 changes: 26 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_elb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckIntervalSeconds",
"value": {
"NumberMax": 300,
"NumberMin": 5
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::ElasticLoadBalancingV2::TargetGroup.UnhealthyThresholdCount",
"value": {
"NumberMax": 10,
"NumberMin": 2
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::ElasticLoadBalancingV2::ListenerRule.Priority",
"value": {
"NumberMax": 50000,
"NumberMin": 1
}
}
]
10 changes: 10 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_fsx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::FSx::FileSystem.StorageCapacity",
"value": {
"NumberMax": 65536,
"NumberMin": 300
}
}
]
16 changes: 16 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_glue.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,21 @@
"SCHEDULED"
]
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::Glue::Job.NumberOfWorkers",
"value": {
"NumberMax": 299,
"NumberMin": 0
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::Glue::MLTransform.MaxCapacity",
"value": {
"NumberMax": 100,
"NumberMin": 1
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,13 @@
]
}
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::IAM::Role.MaxSessionDuration",
"value": {
"NumberMax": 43200,
"NumberMin": 3600
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::Inspector::AssessmentTemplate.DurationInSeconds",
"value": {
"NumberMax": 86400,
"NumberMin": 180
}
}
]
18 changes: 18 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_kinesis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::Kinesis::Stream.RetentionPeriodHours",
"value": {
"NumberMax": 168,
"NumberMin": 1
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::Kinesis::Stream.ShardCount",
"value": {
"NumberMax": 100000,
"NumberMin": 1
}
}
]
10 changes: 10 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_kms.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::KMS::Key.PendingWindowInDays",
"value": {
"NumberMax": 30,
"NumberMin": 7
}
}
]
26 changes: 26 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_lambda.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::Lambda::Function.MemorySize",
"value": {
"NumberMax": 3008,
"NumberMin": 128
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::Lambda::Function.Timeout",
"value": {
"NumberMax": 900,
"NumberMin": 1
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::Lambda::EventSourceMapping.BatchSize",
"value": {
"NumberMax": 10000,
"NumberMin": 1
}
}
]
33 changes: 33 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_rds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::RDS::DBCluster.BackupRetentionPeriod",
"value": {
"NumberMax": 35,
"NumberMin": 1
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::RDS::DBInstance.BackupRetentionPeriod",
"value": {
"NumberMax": 35,
"NumberMin": 0
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::RDS::DBInstance.PromotionTier",
"value": {
"NumberMax": 15,
"NumberMin": 0
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::RDS::DBInstance.Iops",
"value": {
"NumberMin": 1000
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::Redshift::Cluster.NumberOfNodes",
"value": {
"NumberMax": 100,
"NumberMin": 1
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::SageMaker::NotebookInstance.VolumeSizeInGB",
"value": {
"NumberMax": 16384,
"NumberMin": 5
}
}
]
50 changes: 50 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_sqs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::SQS::Queue.DelaySeconds",
"value": {
"NumberMax": 900,
"NumberMin": 0
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::SQS::Queue.KmsDataKeyReusePeriodSeconds",
"value": {
"NumberMax": 86400,
"NumberMin": 60
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::SQS::Queue.MaximumMessageSize",
"value": {
"NumberMax": 262144,
"NumberMin": 1024
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::SQS::Queue.MessageRetentionPeriod",
"value": {
"NumberMax": 1209600,
"NumberMin": 60
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::SQS::Queue.ReceiveMessageWaitTimeSeconds",
"value": {
"NumberMax": 20,
"NumberMin": 1
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::SQS::Queue.VisibilityTimeout",
"value": {
"NumberMax": 43200,
"NumberMin": 0
}
}
]
18 changes: 18 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_ssm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"op": "add",
"path": "/ValueTypes/AWS::SSM::MaintenanceWindow.Cutoff",
"value": {
"NumberMax": 23,
"NumberMin": 0
}
},
{
"op": "add",
"path": "/ValueTypes/AWS::SSM::MaintenanceWindow.Duration",
"value": {
"NumberMax": 24,
"NumberMin": 1
}
}
]