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

Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 #1835

Merged
merged 3 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
efa4256bf46bc6a1b0c57be021eb7e36edda0164
1c60af965a80b696bf946bc618a947dd65d86152
47 changes: 47 additions & 0 deletions aws-cloudformation-schema/aws-autoscaling-autoscalinggroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,22 @@
},
"required" : [ "LaunchTemplate" ]
},
"CapacityReservationIds" : {
"uniqueItems" : true,
"insertionOrder" : true,
"type" : "array",
"items" : {
"type" : "string"
}
},
"CapacityReservationResourceGroupArns" : {
"uniqueItems" : true,
"insertionOrder" : true,
"type" : "array",
"items" : {
"type" : "string"
}
},
"TagProperty" : {
"description" : "A structure that specifies a tag for the ``Tags`` property of [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.\n For more information, see [Tag Auto Scaling groups and instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html) in the *Amazon EC2 Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup--examples) section of the ``AWS::AutoScaling::AutoScalingGroup`` resource.\n CloudFormation adds the following tags to all Auto Scaling groups and associated instances: \n + aws:cloudformation:stack-name\n + aws:cloudformation:stack-id\n + aws:cloudformation:logical-id",
"additionalProperties" : false,
Expand Down Expand Up @@ -632,6 +648,33 @@
}
},
"required" : [ "MemoryMiB", "VCpuCount" ]
},
"CapacityReservationTarget" : {
"description" : "",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"CapacityReservationIds" : {
"$ref" : "#/definitions/CapacityReservationIds"
},
"CapacityReservationResourceGroupArns" : {
"$ref" : "#/definitions/CapacityReservationResourceGroupArns"
}
}
},
"CapacityReservationSpecification" : {
"description" : "",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"CapacityReservationPreference" : {
"type" : "string"
},
"CapacityReservationTarget" : {
"$ref" : "#/definitions/CapacityReservationTarget"
}
},
"required" : [ "CapacityReservationPreference" ]
}
},
"properties" : {
Expand Down Expand Up @@ -815,6 +858,10 @@
"description" : "The name of the placement group into which to launch your instances. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances*.\n A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.",
"type" : "string"
},
"CapacityReservationSpecification" : {
"description" : "",
"$ref" : "#/definitions/CapacityReservationSpecification"
},
"HealthCheckType" : {
"description" : "A comma-separated value string of one or more health check types.\n The valid values are ``EC2``, ``EBS``, ``ELB``, and ``VPC_LATTICE``. ``EC2`` is the default health check and cannot be disabled. For more information, see [Health checks for instances in an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html) in the *Amazon EC2 Auto Scaling User Guide*.\n Only specify ``EC2`` if you must clear a value that was previously set.",
"type" : "string"
Expand Down
36 changes: 36 additions & 0 deletions aws-cloudformation-schema/aws-deadline-fleet.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,39 @@
},
"additionalProperties" : false
},
"AcceleratorSelection" : {
"type" : "object",
"properties" : {
"Name" : {
"type" : "string",
"enum" : [ "t4", "a10g", "l4", "l40s" ]
},
"Runtime" : {
"type" : "string",
"maxLength" : 100,
"minLength" : 1
}
},
"required" : [ "Name" ],
"additionalProperties" : false
},
"AcceleratorCapabilities" : {
"type" : "object",
"properties" : {
"Selections" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/AcceleratorSelection"
},
"minItems" : 1
},
"Count" : {
"$ref" : "#/definitions/AcceleratorCountRange"
}
},
"required" : [ "Selections" ],
"additionalProperties" : false
},
"Ec2MarketType" : {
"type" : "string",
"enum" : [ "on-demand", "spot" ]
Expand Down Expand Up @@ -293,6 +326,9 @@
"RootEbsVolume" : {
"$ref" : "#/definitions/Ec2EbsVolume"
},
"AcceleratorCapabilities" : {
"$ref" : "#/definitions/AcceleratorCapabilities"
},
"AllowedInstanceTypes" : {
"type" : "array",
"items" : {
Expand Down
1 change: 1 addition & 0 deletions aws-cloudformation-schema/aws-dynamodb-table.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"createOnlyProperties" : [ "/properties/TableName", "/properties/ImportSourceSpecification" ],
"primaryIdentifier" : [ "/properties/TableName" ],
"required" : [ "KeySchema" ],
"conditionalCreateOnlyProperties" : [ "/properties/KeySchema" ],
"propertyTransform" : {
"/properties/SSESpecification/KMSMasterKeyId" : "$join([\"arn:aws(-[a-z]{1,4}){0,2}:kms:[a-z]{2,4}(-[a-z]{1,4})?-[a-z]{1,10}-[0-9]:[0-9]{12}:key\\/\", SSESpecification.KMSMasterKeyId]) $OR $join([\"arn:aws(-[a-z]{1,4}){0,2}:kms:[a-z]{2,4}(-[a-z]{1,4})?-[a-z]{1,10}-[0-9]:[0-9]{12}:key\\/\", KMSMasterKeyId])"
},
Expand Down
Loading
Loading