Skip to content

Commit

Permalink
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f20…
Browse files Browse the repository at this point in the history
…07d6d268b65b739ffb5ebf8c1e76 (#1789)

*Automated PR*
  • Loading branch information
pulumi-bot authored Oct 30, 2024
1 parent cb38aa7 commit 7d38dfe
Show file tree
Hide file tree
Showing 153 changed files with 13,337 additions and 454 deletions.
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5443f8af63af83b98a4c035d7f5d15ba0ea8bf07
c3970f25846f18fb21813d06908f1cc2845c62d6
265 changes: 265 additions & 0 deletions aws-cloudformation-schema/aws-appsync-api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,265 @@
{
"typeName" : "AWS::AppSync::Api",
"description" : "Resource schema for AppSync Api",
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"definitions" : {
"EventConfig" : {
"description" : "The configuration for an Event Api",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"AuthProviders" : {
"$ref" : "#/definitions/AuthProviders"
},
"ConnectionAuthModes" : {
"$ref" : "#/definitions/AuthModes"
},
"DefaultPublishAuthModes" : {
"$ref" : "#/definitions/AuthModes"
},
"DefaultSubscribeAuthModes" : {
"$ref" : "#/definitions/AuthModes"
},
"LogConfig" : {
"$ref" : "#/definitions/EventLogConfig"
}
},
"required" : [ "AuthProviders", "ConnectionAuthModes", "DefaultPublishAuthModes", "DefaultSubscribeAuthModes" ]
},
"AuthMode" : {
"description" : "An auth mode.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"AuthType" : {
"$ref" : "#/definitions/AuthenticationType"
}
}
},
"AuthModes" : {
"description" : "A list of auth modes for the AppSync API.",
"type" : "array",
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/AuthMode"
}
},
"AuthenticationType" : {
"description" : "Security configuration for your AppSync API.",
"type" : "string",
"enum" : [ "AMAZON_COGNITO_USER_POOLS", "AWS_IAM", "API_KEY", "OPENID_CONNECT", "AWS_LAMBDA" ]
},
"OpenIDConnectConfig" : {
"description" : "The OpenID Connect configuration.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"ClientId" : {
"type" : "string"
},
"AuthTTL" : {
"type" : "number"
},
"Issuer" : {
"type" : "string"
},
"IatTTL" : {
"type" : "number"
}
},
"required" : [ "Issuer" ]
},
"CognitoConfig" : {
"description" : "Optional authorization configuration for using Amazon Cognito user pools with your API endpoint.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"AppIdClientRegex" : {
"type" : "string"
},
"UserPoolId" : {
"type" : "string"
},
"AwsRegion" : {
"type" : "string"
}
},
"required" : [ "UserPoolId", "AwsRegion" ]
},
"LambdaAuthorizerConfig" : {
"description" : "A LambdaAuthorizerConfig holds configuration on how to authorize AWS AppSync API access when using the AWS_LAMBDA authorizer mode. Be aware that an AWS AppSync API may have only one Lambda authorizer configured at a time.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"AuthorizerResultTtlInSeconds" : {
"type" : "integer",
"minimum" : 0,
"maximum" : 3600
},
"AuthorizerUri" : {
"type" : "string"
},
"IdentityValidationExpression" : {
"type" : "string"
}
},
"required" : [ "AuthorizerUri" ]
},
"AuthProviders" : {
"description" : "A list of auth providers for the AppSync API.",
"type" : "array",
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/AuthProvider"
}
},
"AuthProvider" : {
"description" : "An auth provider for the AppSync API.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"AuthType" : {
"$ref" : "#/definitions/AuthenticationType"
},
"OpenIDConnectConfig" : {
"$ref" : "#/definitions/OpenIDConnectConfig"
},
"CognitoConfig" : {
"$ref" : "#/definitions/CognitoConfig"
},
"LambdaAuthorizerConfig" : {
"$ref" : "#/definitions/LambdaAuthorizerConfig"
}
},
"required" : [ "AuthType" ]
},
"Tag" : {
"description" : "An arbitrary set of tags (key-value pairs) for this AppSync API.",
"type" : "object",
"properties" : {
"Key" : {
"description" : "A string used to identify this tag. You can specify a maximum of 128 characters for a tag key.",
"type" : "string",
"minLength" : 1,
"maxLength" : 128,
"pattern" : "^(?!aws:)[ a-zA-Z+-=._:/]+$"
},
"Value" : {
"description" : "A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.",
"type" : "string",
"minLength" : 0,
"maxLength" : 256,
"pattern" : "^[\\s\\w+-=\\.:/@]*$"
}
},
"required" : [ "Key", "Value" ],
"additionalProperties" : false
},
"Tags" : {
"description" : "An arbitrary set of tags (key-value pairs) for this AppSync API.",
"type" : "array",
"uniqueItems" : true,
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/Tag"
}
},
"ApiName" : {
"description" : "The name of the AppSync API.",
"type" : "string",
"minLength" : 1,
"maxLength" : 50,
"pattern" : "[A-Za-z0-9_\\-\\ ]+"
},
"OwnerContact" : {
"description" : "The owner contact information for an API resource.",
"type" : "string",
"minLength" : 1,
"maxLength" : 250,
"pattern" : "[A-Za-z0-9_\\-\\ \\.]+"
},
"DnsMap" : {
"description" : "A map of DNS names for the AppSync API.",
"type" : "object",
"additionalProperties" : false,
"patternProperties" : {
"\\S+" : {
"type" : "string"
}
}
},
"EventLogLevel" : {
"description" : "Logging level for the AppSync API.",
"type" : "string",
"enum" : [ "NONE", "ERROR", "ALL", "INFO", "DEBUG" ]
},
"EventLogConfig" : {
"description" : "The log config for the AppSync API.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"LogLevel" : {
"$ref" : "#/definitions/EventLogLevel"
},
"CloudWatchLogsRoleArn" : {
"type" : "string"
}
},
"required" : [ "LogLevel", "CloudWatchLogsRoleArn" ]
}
},
"properties" : {
"ApiId" : {
"description" : "The unique identifier for the AppSync Api generated by the service",
"type" : "string"
},
"ApiArn" : {
"description" : "The Amazon Resource Name (ARN) of the AppSync Api",
"type" : "string"
},
"Name" : {
"$ref" : "#/definitions/ApiName"
},
"OwnerContact" : {
"$ref" : "#/definitions/OwnerContact"
},
"Dns" : {
"$ref" : "#/definitions/DnsMap"
},
"EventConfig" : {
"$ref" : "#/definitions/EventConfig"
},
"Tags" : {
"$ref" : "#/definitions/Tags"
}
},
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags",
"permissions" : [ "appsync:TagResource", "appsync:UntagResource" ]
},
"additionalProperties" : false,
"required" : [ "Name" ],
"readOnlyProperties" : [ "/properties/ApiId", "/properties/Dns", "/properties/ApiArn" ],
"primaryIdentifier" : [ "/properties/ApiArn" ],
"handlers" : {
"create" : {
"permissions" : [ "appsync:CreateApi", "appsync:TagResource", "appsync:GetApi", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "appsync:GetApi", "appsync:ListTagsForResource" ]
},
"update" : {
"permissions" : [ "appsync:UpdateApi", "appsync:TagResource", "appsync:UntagResource", "appsync:GetApi", "iam:PassRole" ]
},
"delete" : {
"permissions" : [ "appsync:DeleteApi", "appsync:UntagResource" ]
},
"list" : {
"permissions" : [ "appsync:ListApis" ]
}
}
}
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-bedrock-datasource.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type" : "string",
"maxLength" : 2048,
"minLength" : 1,
"pattern" : "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$",
"pattern" : "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$",
"description" : "The model's ARN."
},
"ParsingPrompt" : {
Expand Down
4 changes: 2 additions & 2 deletions aws-cloudformation-schema/aws-bedrock-flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
"type" : "string",
"maxLength" : 2048,
"minLength" : 1,
"pattern" : "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$",
"pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$",
"description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models."
},
"GuardrailConfiguration" : {
Expand Down Expand Up @@ -530,7 +530,7 @@
"type" : "string",
"maxLength" : 2048,
"minLength" : 1,
"pattern" : "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$",
"pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$",
"description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models."
},
"InferenceConfiguration" : {
Expand Down
4 changes: 2 additions & 2 deletions aws-cloudformation-schema/aws-bedrock-flowversion.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
"type" : "string",
"maxLength" : 2048,
"minLength" : 1,
"pattern" : "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$",
"pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$",
"description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models."
},
"GuardrailConfiguration" : {
Expand Down Expand Up @@ -510,7 +510,7 @@
"type" : "string",
"maxLength" : 2048,
"minLength" : 1,
"pattern" : "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$",
"pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$",
"description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models."
},
"InferenceConfiguration" : {
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-bedrock-prompt.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"type" : "string",
"maxLength" : 2048,
"minLength" : 1,
"pattern" : "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$",
"pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$",
"description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models."
},
"InferenceConfiguration" : {
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-bedrock-promptversion.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"type" : "string",
"maxLength" : 2048,
"minLength" : 1,
"pattern" : "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$",
"pattern" : "^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$",
"description" : "ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models."
},
"InferenceConfiguration" : {
Expand Down
14 changes: 13 additions & 1 deletion aws-cloudformation-schema/aws-codepipeline-pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,19 @@
"Result" : {
"type" : "string",
"description" : "The specified result for when the failure conditions are met, such as rolling back the stage",
"enum" : [ "ROLLBACK" ]
"enum" : [ "ROLLBACK", "RETRY" ]
},
"RetryConfiguration" : {
"description" : "The configuration that specifies the retry configuration for a stage",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"RetryMode" : {
"type" : "string",
"description" : "The specified retry mode type for the given stage. FAILED_ACTIONS will retry only the failed actions. ALL_ACTIONS will retry both failed and successful",
"enum" : [ "ALL_ACTIONS", "FAILED_ACTIONS" ]
}
}
},
"Conditions" : {
"type" : "array",
Expand Down
Loading

0 comments on commit 7d38dfe

Please sign in to comment.