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 #1913

Merged
merged 3 commits into from
Dec 16, 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5c197d5a1e30d3254088221de8e3b1f82d37b8dd
bb1b881ba9806d63dc07f76fc4082158eef07974
22 changes: 14 additions & 8 deletions aws-cloudformation-schema/aws-appconfig-configurationprofile.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appconfig",
"tagging" : {
"permissions" : [ "appconfig:TagResource", "appconfig:UntagResource", "appconfig:ListTagsForResource" ],
"taggable" : true,
Expand All @@ -8,6 +7,13 @@
"tagProperty" : "/properties/Tags",
"cloudFormationSystemTags" : true
},
"typeName" : "AWS::AppConfig::ConfigurationProfile",
"readOnlyProperties" : [ "/properties/ConfigurationProfileId", "/properties/KmsKeyArn" ],
"description" : "An example resource schema demonstrating some basic constructs and validation rules.",
"createOnlyProperties" : [ "/properties/LocationUri", "/properties/Type", "/properties/ApplicationId" ],
"primaryIdentifier" : [ "/properties/ApplicationId", "/properties/ConfigurationProfileId" ],
"required" : [ "LocationUri", "ApplicationId", "Name" ],
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appconfig",
"handlers" : {
"read" : {
"permissions" : [ "appconfig:GetConfigurationProfile", "appconfig:ListTagsForResource" ]
Expand All @@ -33,12 +39,8 @@
"permissions" : [ "appconfig:DeleteConfigurationProfile" ]
}
},
"typeName" : "AWS::AppConfig::ConfigurationProfile",
"readOnlyProperties" : [ "/properties/ConfigurationProfileId", "/properties/KmsKeyArn" ],
"description" : "An example resource schema demonstrating some basic constructs and validation rules.",
"createOnlyProperties" : [ "/properties/LocationUri", "/properties/Type", "/properties/ApplicationId" ],
"writeOnlyProperties" : [ "/properties/DeletionProtectionCheck" ],
"additionalProperties" : false,
"primaryIdentifier" : [ "/properties/ApplicationId", "/properties/ConfigurationProfileId" ],
"definitions" : {
"Validators" : {
"description" : "A list of methods for validating the configuration.",
Expand Down Expand Up @@ -128,6 +130,11 @@
"type" : "string",
"maxLength" : 2048
},
"DeletionProtectionCheck" : {
"description" : "On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html",
"type" : "string",
"enum" : [ "ACCOUNT_DEFAULT", "APPLY", "BYPASS" ]
},
"ApplicationId" : {
"pattern" : "[a-z0-9]{4,7}",
"description" : "The application ID.",
Expand All @@ -148,6 +155,5 @@
"type" : "string",
"maxLength" : 128
}
},
"required" : [ "LocationUri", "ApplicationId", "Name" ]
}
}
22 changes: 14 additions & 8 deletions aws-cloudformation-schema/aws-appconfig-environment.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appconfig.git",
"tagging" : {
"permissions" : [ "appconfig:TagResource", "appconfig:UntagResource", "appconfig:ListTagsForResource" ],
"taggable" : true,
Expand All @@ -8,6 +7,13 @@
"tagProperty" : "/properties/Tags",
"cloudFormationSystemTags" : true
},
"typeName" : "AWS::AppConfig::Environment",
"readOnlyProperties" : [ "/properties/EnvironmentId" ],
"description" : "Resource Type definition for AWS::AppConfig::Environment",
"createOnlyProperties" : [ "/properties/ApplicationId" ],
"primaryIdentifier" : [ "/properties/ApplicationId", "/properties/EnvironmentId" ],
"required" : [ "Name", "ApplicationId" ],
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appconfig.git",
"handlers" : {
"read" : {
"permissions" : [ "appconfig:GetEnvironment", "appconfig:ListTagsForResource" ]
Expand All @@ -33,12 +39,8 @@
"permissions" : [ "appconfig:GetEnvironment", "appconfig:DeleteEnvironment" ]
}
},
"typeName" : "AWS::AppConfig::Environment",
"readOnlyProperties" : [ "/properties/EnvironmentId" ],
"description" : "Resource Type definition for AWS::AppConfig::Environment",
"createOnlyProperties" : [ "/properties/ApplicationId" ],
"writeOnlyProperties" : [ "/properties/DeletionProtectionCheck" ],
"additionalProperties" : false,
"primaryIdentifier" : [ "/properties/ApplicationId", "/properties/EnvironmentId" ],
"definitions" : {
"Monitor" : {
"description" : "Amazon CloudWatch alarm to monitor during the deployment process.",
Expand Down Expand Up @@ -112,6 +114,11 @@
"$ref" : "#/definitions/Monitor"
}
},
"DeletionProtectionCheck" : {
"description" : "On resource deletion this controls whether the Deletion Protection check should be applied, bypassed, or (the default) whether the behavior should be controlled by the account-level Deletion Protection setting. See https://docs.aws.amazon.com/appconfig/latest/userguide/deletion-protection.html",
"type" : "string",
"enum" : [ "ACCOUNT_DEFAULT", "APPLY", "BYPASS" ]
},
"ApplicationId" : {
"pattern" : "[a-z0-9]{4,7}",
"description" : "The application ID.",
Expand All @@ -132,6 +139,5 @@
"type" : "string",
"maxLength" : 64
}
},
"required" : [ "Name", "ApplicationId" ]
}
}
14 changes: 10 additions & 4 deletions aws-cloudformation-schema/aws-autoscaling-autoscalinggroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,16 @@
"additionalProperties" : false,
"definitions" : {
"AvailabilityZoneImpairmentPolicy" : {
"description" : "",
"description" : "Describes an Availability Zone impairment policy.",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"ZonalShiftEnabled" : {
"description" : "If ``true``, enable zonal shift for your Auto Scaling group.",
"type" : "boolean"
},
"ImpairedZoneHealthCheckBehavior" : {
"description" : "Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select ``Replace unhealthy``, instances that appear unhealthy will be replaced in all Availability Zones. If you select ``Ignore unhealthy``, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see [Auto Scaling group zonal shift](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html) in the *Amazon EC2 Auto Scaling User Guide*.",
"type" : "string",
"enum" : [ "IgnoreUnhealthy", "ReplaceUnhealthy" ]
}
Expand Down Expand Up @@ -186,6 +188,7 @@
"type" : "object",
"properties" : {
"InstanceFamily" : {
"description" : "",
"type" : "string"
}
}
Expand Down Expand Up @@ -240,6 +243,7 @@
"type" : "object",
"properties" : {
"References" : {
"description" : "",
"$ref" : "#/definitions/PerformanceFactorReferenceSetRequest"
}
}
Expand Down Expand Up @@ -363,11 +367,12 @@
}
},
"AvailabilityZoneDistribution" : {
"description" : "",
"description" : "``AvailabilityZoneDistribution`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.",
"additionalProperties" : false,
"type" : "object",
"properties" : {
"CapacityDistributionStrategy" : {
"description" : "If launches fail in an Availability Zone, the following strategies are available. The default is ``balanced-best-effort``. \n + ``balanced-only`` - If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.\n + ``balanced-best-effort`` - If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.",
"type" : "string",
"enum" : [ "balanced-best-effort", "balanced-only" ]
}
Expand Down Expand Up @@ -458,6 +463,7 @@
"type" : "object",
"properties" : {
"Cpu" : {
"description" : "",
"$ref" : "#/definitions/CpuPerformanceFactorRequest"
}
}
Expand Down Expand Up @@ -705,7 +711,7 @@
"type" : "string"
},
"AvailabilityZoneImpairmentPolicy" : {
"description" : "",
"description" : "The Availability Zone impairment policy.",
"$ref" : "#/definitions/AvailabilityZoneImpairmentPolicy"
},
"TargetGroupARNs" : {
Expand Down Expand Up @@ -802,7 +808,7 @@
"$ref" : "#/definitions/NotificationConfiguration"
},
"AvailabilityZoneDistribution" : {
"description" : "",
"description" : "The instance capacity distribution across Availability Zones.",
"$ref" : "#/definitions/AvailabilityZoneDistribution"
},
"MetricsCollection" : {
Expand Down
Loading
Loading