Skip to content

Commit

Permalink
Add DAX allowed values
Browse files Browse the repository at this point in the history
  • Loading branch information
fatbasstard committed Feb 27, 2019
1 parent 2237813 commit f9fb4e7
Show file tree
Hide file tree
Showing 25 changed files with 645 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/update_specs_from_pricing.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
'US West (N. California)': 'us-west-1',
}

session = boto3.session.Session(profile_name='development')
session = boto3.session.Session()
client = session.client('pricing', region_name='us-east-1')

def configure_logging():
Expand Down
44 changes: 43 additions & 1 deletion src/cfnlint/data/CloudSpecs/ap-northeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -21524,7 +21524,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-nodetype",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Immutable"
"UpdateType": "Immutable",
"Value": {
"ValueType": "DAXInstanceType"
}
},
"NotificationTopicARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-notificationtopicarn",
Expand Down Expand Up @@ -33494,6 +33497,28 @@
"ZW"
]
},
"DAXInstanceType": {
"AllowedValues": [
"dax.r3.2xlarge",
"dax.r3.4xlarge",
"dax.r3.8xlarge",
"dax.r3.large",
"dax.r3.xlarge",
"dax.r4.16xlarge",
"dax.r4.2xlarge",
"dax.r4.4xlarge",
"dax.r4.8xlarge",
"dax.r4.large",
"dax.r4.xlarge",
"dax.t2.medium",
"dax.t2.small"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -34015,6 +34040,23 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc1.8xlarge",
"dc1.large",
"dc2.8xlarge",
"dc2.large",
"ds1.8xlarge",
"ds1.xlarge",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
22 changes: 22 additions & 0 deletions src/cfnlint/data/CloudSpecs/ap-northeast-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -31312,6 +31312,13 @@
"ZW"
]
},
"DAXInstanceType": {
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -31793,6 +31800,21 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc1.8xlarge",
"dc1.large",
"dc2.8xlarge",
"dc2.large",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
20 changes: 20 additions & 0 deletions src/cfnlint/data/CloudSpecs/ap-northeast-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -21829,6 +21829,13 @@
"ZW"
]
},
"DAXInstanceType": {
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -22220,6 +22227,19 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc2.8xlarge",
"dc2.large",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
42 changes: 42 additions & 0 deletions src/cfnlint/data/CloudSpecs/ap-south-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -29633,6 +29633,28 @@
"ZW"
]
},
"DAXInstanceType": {
"AllowedValues": [
"dax.r3.2xlarge",
"dax.r3.4xlarge",
"dax.r3.8xlarge",
"dax.r3.large",
"dax.r3.xlarge",
"dax.r4.16xlarge",
"dax.r4.2xlarge",
"dax.r4.4xlarge",
"dax.r4.8xlarge",
"dax.r4.large",
"dax.r4.xlarge",
"dax.t2.medium",
"dax.t2.small"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -30034,6 +30056,11 @@
"db.r4.8xlarge",
"db.r4.large",
"db.r4.xlarge",
"db.r5.12xlarge",
"db.r5.2xlarge",
"db.r5.4xlarge",
"db.r5.large",
"db.r5.xlarge",
"db.t2.2xlarge",
"db.t2.large",
"db.t2.medium",
Expand Down Expand Up @@ -30088,6 +30115,21 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc1.8xlarge",
"dc1.large",
"dc2.8xlarge",
"dc2.large",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
39 changes: 39 additions & 0 deletions src/cfnlint/data/CloudSpecs/ap-southeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -30938,6 +30938,28 @@
"ZW"
]
},
"DAXInstanceType": {
"AllowedValues": [
"dax.r3.2xlarge",
"dax.r3.4xlarge",
"dax.r3.8xlarge",
"dax.r3.large",
"dax.r3.xlarge",
"dax.r4.16xlarge",
"dax.r4.2xlarge",
"dax.r4.4xlarge",
"dax.r4.8xlarge",
"dax.r4.large",
"dax.r4.xlarge",
"dax.t2.medium",
"dax.t2.small"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -31457,6 +31479,23 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc1.8xlarge",
"dc1.large",
"dc2.8xlarge",
"dc2.large",
"ds1.8xlarge",
"ds1.xlarge",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
39 changes: 39 additions & 0 deletions src/cfnlint/data/CloudSpecs/ap-southeast-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -31847,6 +31847,28 @@
"ZW"
]
},
"DAXInstanceType": {
"AllowedValues": [
"dax.r3.2xlarge",
"dax.r3.4xlarge",
"dax.r3.8xlarge",
"dax.r3.large",
"dax.r3.xlarge",
"dax.r4.16xlarge",
"dax.r4.2xlarge",
"dax.r4.4xlarge",
"dax.r4.8xlarge",
"dax.r4.large",
"dax.r4.xlarge",
"dax.t2.medium",
"dax.t2.small"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -32361,6 +32383,23 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc1.8xlarge",
"dc1.large",
"dc2.8xlarge",
"dc2.large",
"ds1.8xlarge",
"ds1.xlarge",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
22 changes: 22 additions & 0 deletions src/cfnlint/data/CloudSpecs/ca-central-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -27993,6 +27993,13 @@
"ZW"
]
},
"DAXInstanceType": {
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -28446,6 +28453,21 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc1.8xlarge",
"dc1.large",
"dc2.8xlarge",
"dc2.large",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
34 changes: 34 additions & 0 deletions src/cfnlint/data/CloudSpecs/eu-central-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -32652,6 +32652,23 @@
"ZW"
]
},
"DAXInstanceType": {
"AllowedValues": [
"dax.r4.16xlarge",
"dax.r4.2xlarge",
"dax.r4.4xlarge",
"dax.r4.8xlarge",
"dax.r4.large",
"dax.r4.xlarge",
"dax.t2.medium",
"dax.t2.small"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"DmsEndpointEngineName": {
"AllowedValues": [
"aurora-postgresql",
Expand Down Expand Up @@ -33141,6 +33158,23 @@
"TXT"
]
},
"RedshiftInstanceType": {
"AllowedValues": [
"dc1.8xlarge",
"dc1.large",
"dc2.8xlarge",
"dc2.large",
"ds1.8xlarge",
"ds1.xlarge",
"ds2.8xlarge",
"ds2.xlarge"
],
"Ref": {
"Parameters": [
"String"
]
}
},
"Region": {
"AllowedValues": [
"ap-northeast-1",
Expand Down
Loading

0 comments on commit f9fb4e7

Please sign in to comment.