Skip to content

Commit

Permalink
Automated SDK generation @ aws-cloudformation-user-guide 6c68a17aef7f…
Browse files Browse the repository at this point in the history
…0ccd1f6786f19da341d8c92737e7 (#1168)

*Automated PR*
  • Loading branch information
pulumi-bot authored Nov 6, 2023
1 parent d5d442e commit d501d49
Show file tree
Hide file tree
Showing 199 changed files with 4,040 additions and 2,359 deletions.
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-apigateway-account.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"additionalProperties" : false,
"properties" : {
"Id" : {
"description" : "Primary identifier which is manually generated.",
"description" : "",
"type" : "string"
},
"CloudWatchRoleArn" : {
Expand Down
5 changes: 3 additions & 2 deletions aws-cloudformation-schema/aws-apigateway-apikey.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"additionalProperties" : false,
"properties" : {
"APIKeyId" : {
"description" : "A Unique Key ID which identifies the API Key. Generated by the Create API and returned by the Read and List APIs ",
"description" : "",
"type" : "string"
},
"CustomerId" : {
Expand Down Expand Up @@ -82,7 +82,8 @@
"maxLength" : 256
}
},
"required" : [ "Value", "Key" ]
"required" : [ "Value", "Key" ],
"description" : ""
}
},
"createOnlyProperties" : [ "/properties/GenerateDistinctId", "/properties/Name", "/properties/Value" ],
Expand Down
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-apigateway-authorizer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"type" : "string"
},
"AuthorizerId" : {
"type" : "string"
"type" : "string",
"description" : ""
},
"AuthType" : {
"description" : "Optional customer-defined field, used in OpenAPI imports and exports without functional impact.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"additionalProperties" : false,
"properties" : {
"ClientCertificateId" : {
"description" : "The Primary Identifier of the Client Certficate, generated by a Create API Call",
"description" : "",
"type" : "string"
},
"Description" : {
Expand Down Expand Up @@ -33,7 +33,8 @@
"type" : "string"
}
},
"required" : [ "Value", "Key" ]
"required" : [ "Value", "Key" ],
"description" : ""
}
},
"primaryIdentifier" : [ "/properties/ClientCertificateId" ],
Expand Down
5 changes: 3 additions & 2 deletions aws-cloudformation-schema/aws-apigateway-deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"properties" : {
"DeploymentId" : {
"type" : "string",
"description" : "Primary Id for this resource"
"description" : ""
},
"DeploymentCanarySettings" : {
"$ref" : "#/definitions/DeploymentCanarySettings",
Expand Down Expand Up @@ -207,7 +207,8 @@
"type" : "string"
}
},
"required" : [ "Value", "Key" ]
"required" : [ "Value", "Key" ],
"description" : ""
},
"MethodSetting" : {
"type" : "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"additionalProperties" : false,
"properties" : {
"DocumentationPartId" : {
"description" : "The identifier of the documentation Part.",
"description" : "",
"type" : "string"
},
"Location" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"additionalProperties" : false,
"properties" : {
"Id" : {
"description" : "A Cloudformation auto generated ID.",
"description" : "",
"type" : "string"
},
"RestApiId" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"additionalProperties" : false,
"properties" : {
"RequestValidatorId" : {
"description" : "ID of the request validator.",
"description" : "",
"type" : "string"
},
"Name" : {
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-apigateway-resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"additionalProperties" : false,
"properties" : {
"ResourceId" : {
"description" : "A unique primary identifier for a Resource",
"description" : "",
"type" : "string"
},
"RestApiId" : {
Expand Down
9 changes: 6 additions & 3 deletions aws-cloudformation-schema/aws-apigateway-restapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"type" : "string"
}
},
"required" : [ "Key", "Value" ]
"required" : [ "Key", "Value" ],
"description" : ""
},
"S3Location" : {
"type" : "object",
Expand Down Expand Up @@ -66,10 +67,12 @@
},
"properties" : {
"RestApiId" : {
"type" : "string"
"type" : "string",
"description" : ""
},
"RootResourceId" : {
"type" : "string"
"type" : "string",
"description" : ""
},
"ApiKeySourceType" : {
"type" : "string",
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-apigateway-stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
}
},
"Tag" : {
"description" : "Identify and categorize resources.",
"description" : "",
"type" : "object",
"additionalProperties" : false,
"properties" : {
Expand Down
5 changes: 3 additions & 2 deletions aws-cloudformation-schema/aws-apigateway-usageplan.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"properties" : {
"Id" : {
"type" : "string",
"description" : "The provider-assigned unique ID for this managed resource."
"description" : ""
},
"ApiStages" : {
"type" : "array",
Expand Down Expand Up @@ -102,7 +102,8 @@
"description" : "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
}
},
"required" : [ "Value", "Key" ]
"required" : [ "Value", "Key" ],
"description" : ""
},
"QuotaSettings" : {
"type" : "object",
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-apigateway-usageplankey.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type" : "string"
},
"Id" : {
"description" : "An autogenerated ID which is a combination of the ID of the key and ID of the usage plan combined with a : such as 123abcdef:abc123.",
"description" : "",
"type" : "string"
}
},
Expand Down
160 changes: 119 additions & 41 deletions aws-cloudformation-schema/aws-appconfig-configurationprofile.json
Original file line number Diff line number Diff line change
@@ -1,75 +1,153 @@
{
"typeName" : "AWS::AppConfig::ConfigurationProfile",
"description" : "Resource Type definition for AWS::AppConfig::ConfigurationProfile",
"additionalProperties" : false,
"description" : "An example resource schema demonstrating some basic constructs and validation rules.",
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-appconfig",
"definitions" : {
"Validators" : {
"description" : "A list of methods for validating the configuration.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Type" : {
"type" : "string",
"description" : "AWS AppConfig supports validators of type JSON_SCHEMA and LAMBDA."
},
"Content" : {
"type" : "string",
"description" : "Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.",
"minLength" : 0,
"maxLength" : 32768
}
}
},
"Tags" : {
"description" : "Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.",
"type" : "object",
"properties" : {
"Key" : {
"type" : "string",
"description" : "The key-value string map. The tag key can be up to 128 characters and must not start with aws:.",
"minLength" : 1,
"maxLength" : 128,
"pattern" : "^(?!aws:.)[a-zA-Z0-9 +=._:/-]*$"
},
"Value" : {
"type" : "string",
"description" : "The tag value can be up to 256 characters.",
"minLength" : 0,
"maxLength" : 256
}
},
"additionalProperties" : false
}
},
"properties" : {
"LocationUri" : {
"type" : "string"
"type" : "string",
"description" : "A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object.",
"minLength" : 1,
"maxLength" : 2048
},
"Type" : {
"type" : "string"
},
"KmsKeyIdentifier" : {
"type" : "string"
"type" : "string",
"description" : "The type of configurations contained in the profile. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags, AWS.Freeform",
"pattern" : "^[a-zA-Z\\.]+"
},
"Description" : {
"type" : "string"
"type" : "string",
"description" : "A description of the configuration profile.",
"minLength" : 0,
"maxLength" : 1024
},
"Validators" : {
"type" : "array",
"description" : "A list of methods for validating the configuration.",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/Validators"
}
},
"insertionOrder" : false,
"maxItems" : 2
},
"RetrievalRoleArn" : {
"type" : "string"
"type" : "string",
"description" : "The ARN of an IAM role with permission to access the configuration at the specified LocationUri.",
"minLength" : 20,
"maxLength" : 2048,
"pattern" : "^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):(iam)::\\d{12}:role[/].*)$"
},
"Id" : {
"type" : "string"
"ConfigurationProfileId" : {
"type" : "string",
"description" : "The configuration profile ID"
},
"ApplicationId" : {
"type" : "string"
"type" : "string",
"description" : "The application ID.",
"pattern" : "[a-z0-9]{4,7}"
},
"Tags" : {
"type" : "array",
"description" : "Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/Tags"
}
},
"insertionOrder" : false
},
"Name" : {
"type" : "string"
"type" : "string",
"description" : "A name for the configuration profile.",
"minLength" : 1,
"maxLength" : 128
},
"KmsKeyIdentifier" : {
"type" : "string",
"description" : "The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.",
"pattern" : "^[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:[a-z]{2}(-gov|-iso(b?))?-[a-z]+-\\d{1}:\\d{12}:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$"
},
"KmsKeyArn" : {
"type" : "string",
"description" : "The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an AWS KMS key for that particular service.",
"minLength" : 20,
"maxLength" : 2048,
"pattern" : "arn:(aws[a-zA-Z-]*)?:[a-z]+:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1})?:(\\d{12})?:[a-zA-Z0-9-_/:.]+"
}
},
"definitions" : {
"Validators" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Type" : {
"type" : "string"
},
"Content" : {
"type" : "string"
}
}
"additionalProperties" : false,
"required" : [ "LocationUri", "ApplicationId", "Name" ],
"createOnlyProperties" : [ "/properties/LocationUri", "/properties/Type", "/properties/ApplicationId" ],
"primaryIdentifier" : [ "/properties/ApplicationId", "/properties/ConfigurationProfileId" ],
"readOnlyProperties" : [ "/properties/ConfigurationProfileId", "/properties/KmsKeyArn" ],
"handlers" : {
"create" : {
"permissions" : [ "appconfig:CreateConfigurationProfile", "appconfig:GetConfigurationProfile", "appconfig:TagResource", "appconfig:ListTagsForResource", "iam:PassRole" ]
},
"Tags" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Value" : {
"type" : "string"
"read" : {
"permissions" : [ "appconfig:GetConfigurationProfile", "appconfig:ListTagsForResource" ]
},
"update" : {
"permissions" : [ "appconfig:UpdateConfigurationProfile", "appconfig:TagResource", "appconfig:UntagResource", "iam:PassRole" ]
},
"delete" : {
"permissions" : [ "appconfig:DeleteConfigurationProfile" ]
},
"list" : {
"handlerSchema" : {
"properties" : {
"ApplicationId" : {
"$ref" : "resource-schema.json#/properties/ApplicationId"
}
},
"Key" : {
"type" : "string"
}
}
"required" : [ "ApplicationId" ]
},
"permissions" : [ "appconfig:ListConfigurationProfiles" ]
}
},
"required" : [ "LocationUri", "ApplicationId", "Name" ],
"createOnlyProperties" : [ "/properties/LocationUri", "/properties/Type", "/properties/ApplicationId" ],
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id" ]
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags"
}
}
5 changes: 5 additions & 0 deletions aws-cloudformation-schema/aws-apprunner-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,11 @@
},
"IngressConfiguration" : {
"$ref" : "#/definitions/IngressConfiguration"
},
"IpAddressType" : {
"description" : "App Runner service endpoint IP address type",
"type" : "string",
"enum" : [ "IPV4", "DUAL_STACK" ]
}
},
"additionalProperties" : false
Expand Down
3 changes: 3 additions & 0 deletions aws-cloudformation-schema/aws-appstream-stack.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@
},
"Action" : {
"type" : "string"
},
"MaximumLength" : {
"type" : "integer"
}
},
"required" : [ "Action", "Permission" ]
Expand Down
Loading

0 comments on commit d501d49

Please sign in to comment.