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

Closed
wants to merge 3 commits into from
Closed
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 aws-cloudformation-schema/aws-apigateway-authorizer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"type" : "string"
},
"IdentitySource" : {
"description" : "The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.",
"description" : "The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when thi",
"type" : "string"
},
"IdentityValidationExpression" : {
Expand Down
14 changes: 8 additions & 6 deletions aws-cloudformation-schema/aws-appstream-directoryconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,24 @@
"writeOnlyProperties" : [ "/properties/ServiceAccountCredentials/AccountPassword" ],
"createOnlyProperties" : [ "/properties/DirectoryName" ],
"primaryIdentifier" : [ "/properties/DirectoryName" ],
"taggable" : false,
"tagging" : {
"taggable" : false
},
"handlers" : {
"create" : {
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfig", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfigs", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
},
"update" : {
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfig", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfigs", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
},
"read" : {
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfig", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfigs", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
},
"delete" : {
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfig", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfigs", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
},
"list" : {
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfig", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
"permissions" : [ "appstream:CreateDirectoryConfig", "appstream:DeleteDirectoryConfig", "appstream:DescribeDirectoryConfigs", "appstream:UpdateDirectoryConfig", "iam:CreateServiceLinkedRole", "iam:DeleteServiceLinkedRole", "iam:GetServiceLinkedRoleDeletionStatus" ]
}
}
}
177 changes: 177 additions & 0 deletions aws-cloudformation-schema/aws-batch-jobdefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"ContainerProperties" : {
"$ref" : "#/definitions/ContainerProperties"
},
"EcsProperties" : {
"$ref" : "#/definitions/EcsProperties"
},
"Id" : {
"type" : "string"
},
Expand All @@ -55,8 +58,18 @@
"Container" : {
"$ref" : "#/definitions/ContainerProperties"
},
"InstanceTypes" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"type" : "string"
}
},
"TargetNodes" : {
"type" : "string"
},
"EcsProperties" : {
"$ref" : "#/definitions/EcsProperties"
}
},
"required" : [ "TargetNodes" ]
Expand Down Expand Up @@ -197,6 +210,13 @@
"type" : "object",
"additionalProperties" : false,
"properties" : {
"InitContainers" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/EksContainer"
}
},
"Volumes" : {
"type" : "array",
"uniqueItems" : false,
Expand All @@ -222,6 +242,9 @@
},
"HostNetwork" : {
"type" : "boolean"
},
"ShareProcessNamespace" : {
"type" : "boolean"
}
}
},
Expand All @@ -245,6 +268,19 @@
},
"required" : [ "Size", "ContainerPath" ]
},
"TaskContainerDependency" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"Condition" : {
"type" : "string"
},
"ContainerName" : {
"type" : "string"
}
},
"required" : [ "Condition", "ContainerName" ]
},
"ContainerProperties" : {
"type" : "object",
"additionalProperties" : false,
Expand Down Expand Up @@ -349,6 +385,20 @@
},
"required" : [ "Image" ]
},
"EcsProperties" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"TaskProperties" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/EcsTaskProperties"
}
}
},
"required" : [ "TaskProperties" ]
},
"AuthorizationConfig" : {
"type" : "object",
"additionalProperties" : false,
Expand Down Expand Up @@ -382,6 +432,50 @@
}
}
},
"EcsTaskProperties" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"PlatformVersion" : {
"type" : "string"
},
"ExecutionRoleArn" : {
"type" : "string"
},
"RuntimePlatform" : {
"$ref" : "#/definitions/RuntimePlatform"
},
"TaskRoleArn" : {
"type" : "string"
},
"IpcMode" : {
"type" : "string"
},
"Volumes" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/Volumes"
}
},
"Containers" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/TaskContainerProperties"
}
},
"NetworkConfiguration" : {
"$ref" : "#/definitions/NetworkConfiguration"
},
"PidMode" : {
"type" : "string"
},
"EphemeralStorage" : {
"$ref" : "#/definitions/EphemeralStorage"
}
}
},
"EksContainerSecurityContext" : {
"type" : "object",
"additionalProperties" : false,
Expand All @@ -403,6 +497,89 @@
}
}
},
"TaskContainerProperties" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"RepositoryCredentials" : {
"$ref" : "#/definitions/RepositoryCredentials"
},
"User" : {
"type" : "string"
},
"Secrets" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/Secret"
}
},
"Privileged" : {
"type" : "boolean"
},
"LinuxParameters" : {
"$ref" : "#/definitions/LinuxParameters"
},
"ReadonlyRootFilesystem" : {
"type" : "boolean"
},
"Image" : {
"type" : "string"
},
"LogConfiguration" : {
"$ref" : "#/definitions/LogConfiguration"
},
"Essential" : {
"type" : "boolean"
},
"ResourceRequirements" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/ResourceRequirement"
}
},
"Name" : {
"type" : "string"
},
"MountPoints" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/MountPoints"
}
},
"DependsOn" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/TaskContainerDependency"
}
},
"Command" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"type" : "string"
}
},
"Environment" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/Environment"
}
},
"Ulimits" : {
"type" : "array",
"uniqueItems" : false,
"items" : {
"$ref" : "#/definitions/Ulimit"
}
}
},
"required" : [ "Image" ]
},
"EksSecret" : {
"type" : "object",
"additionalProperties" : false,
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-config-configrule.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
}
},
"propertyTransform" : {
"/properties/Source" : "$count(Source.SourceDetails[MessageType=\"ConfigurationItemChangeNotification\"]) > 0 and $count(Source.SourceDetails[MessageType=\"OversizedConfigurationItemChangeNotification\"]) = 0 ? $ ~> | $.Source | {\"SourceDetails\" : [SourceDetails, {\"EventSource\": \"aws.config\",\"MessageType\": \"OversizedConfigurationItemChangeNotification\"}]} | : $"
"/properties/Source" : "Source.Owner=\"CUSTOM_LAMBDA\" ? ($count(Source.SourceDetails[MessageType=\"ConfigurationItemChangeNotification\"]) > 0 and $count(Source.SourceDetails[MessageType=\"OversizedConfigurationItemChangeNotification\"]) = 0) ? $ ~> | $.Source | {\"SourceDetails\" : [SourceDetails, {\"EventSource\": \"aws.config\", \"MessageType\": \"OversizedConfigurationItemChangeNotification\"}]} | : ($count(Source.SourceDetails[MessageType=\"ConfigurationItemChangeNotification\"]) = 0 and $count(Source.SourceDetails[MessageType=\"OversizedConfigurationItemChangeNotification\"]) > 0) ? $ ~> | $.Source | {\"SourceDetails\" : [SourceDetails, {\"EventSource\": \"aws.config\", \"MessageType\": \"ConfigurationItemChangeNotification\" }]} | : $ : $"
},
"tagging" : {
"taggable" : false
Expand Down
11 changes: 11 additions & 0 deletions aws-cloudformation-schema/aws-connect-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,17 @@
},
"update" : {
"permissions" : [ "connect:UpdateUserIdentityInfo", "connect:UpdateUserPhoneConfig", "connect:UpdateUserRoutingProfile", "connect:UpdateUserSecurityProfiles", "connect:UpdateUserHierarchy", "connect:TagResource", "connect:UntagResource", "connect:AssociateUserProficiencies", "connect:DisassociateUserProficiencies", "connect:UpdateUserProficiencies" ]
},
"list" : {
"handlerSchema" : {
"properties" : {
"InstanceArn" : {
"$ref" : "resource-schema.json#/properties/InstanceArn"
}
},
"required" : [ "InstanceArn" ]
},
"permissions" : [ "connect:ListUsers" ]
}
},
"additionalProperties" : false,
Expand Down
Loading
Loading