-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated SDK generation @ aws-cloudformation-user-guide 6c68a17aef7f…
…0ccd1f6786f19da341d8c92737e7 (#1168) *Automated PR*
- Loading branch information
1 parent
d5d442e
commit d501d49
Showing
199 changed files
with
4,040 additions
and
2,359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
160 changes: 119 additions & 41 deletions
160
aws-cloudformation-schema/aws-appconfig-configurationprofile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.