-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update to latest spec * fix property types that appears in a not compatible format and looks more like a type aliases
- Loading branch information
Showing
301 changed files
with
9,273 additions
and
457 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
87 changes: 87 additions & 0 deletions
87
src/Comformation/Generated/ApiGatewayV2/Api/ApiResource.cs
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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Comformation.IntrinsicFunctions; | ||
|
||
namespace Comformation.ApiGatewayV2.Api | ||
{ | ||
/// <summary> | ||
/// AWS::ApiGatewayV2::Api | ||
/// The AWS::ApiGatewayV2::Api resource contains an Amazon API Gateway API. For more information, see CreateApi in | ||
/// the Amazon API Gateway V2 API Reference. | ||
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html | ||
/// </summary> | ||
public class ApiResource : ResourceBase | ||
{ | ||
public class ApiProperties | ||
{ | ||
/// <summary> | ||
/// RouteSelectionExpression | ||
/// The route selection expression for the API. | ||
/// Required: Yes | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> RouteSelectionExpression { get; set; } | ||
|
||
/// <summary> | ||
/// Description | ||
/// The description of the API. | ||
/// Required: No | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> Description { get; set; } | ||
|
||
/// <summary> | ||
/// Version | ||
/// A version identifier for the API. | ||
/// Required: No | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> Version { get; set; } | ||
|
||
/// <summary> | ||
/// ProtocolType | ||
/// The API protocol. | ||
/// Required: Yes | ||
/// Type: String | ||
/// Update requires: Replacement | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> ProtocolType { get; set; } | ||
|
||
/// <summary> | ||
/// DisableSchemaValidation | ||
/// Avoid validating models when creating a deployment. | ||
/// Required: No | ||
/// Type: Boolean | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<bool, IntrinsicFunction> DisableSchemaValidation { get; set; } | ||
|
||
/// <summary> | ||
/// Name | ||
/// The name of the API. | ||
/// Required: Yes | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> Name { get; set; } | ||
|
||
/// <summary> | ||
/// ApiKeySelectionExpression | ||
/// An API key selection expression. | ||
/// Required: No | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> ApiKeySelectionExpression { get; set; } | ||
|
||
} | ||
|
||
public string Type { get; } = "AWS::ApiGatewayV2::Api"; | ||
|
||
public ApiProperties Properties { get; } = new ApiProperties(); | ||
|
||
} | ||
} |
111 changes: 111 additions & 0 deletions
111
src/Comformation/Generated/ApiGatewayV2/Authorizer/AuthorizerResource.cs
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 |
---|---|---|
@@ -0,0 +1,111 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Comformation.IntrinsicFunctions; | ||
|
||
namespace Comformation.ApiGatewayV2.Authorizer | ||
{ | ||
/// <summary> | ||
/// AWS::ApiGatewayV2::Authorizer | ||
/// The AWS::ApiGatewayV2::Authorizer resource creates an authorization layer for an Amazon API Gateway (API | ||
/// Gateway) API. | ||
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html | ||
/// </summary> | ||
public class AuthorizerResource : ResourceBase | ||
{ | ||
public class AuthorizerProperties | ||
{ | ||
/// <summary> | ||
/// IdentityValidationExpression | ||
/// A validation expression for the incoming identity. If you specify TOKEN for the authorizer's Type | ||
/// property, specify a regular expression. API Gateway uses the expression to attempt to match the | ||
/// incoming client token, and proceeds if the token matches. If the token doesn't match, API Gateway | ||
/// responds with a 401 (unauthorized request) error code. | ||
/// Required: No | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> IdentityValidationExpression { get; set; } | ||
|
||
/// <summary> | ||
/// AuthorizerUri | ||
/// The authorizer's Uniform Resource Identifier (URI). If you specify TOKEN for the authorizer's Type | ||
/// property, specify a Lambda function URI that has the form | ||
/// arn:aws:apigateway:region:lambda:path/path. The path usually has the form | ||
/// /2015-03-31/functions/LambdaFunctionARN/invocations. | ||
/// Required: Yes | ||
/// Specify this property for Lambda functions only. | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> AuthorizerUri { get; set; } | ||
|
||
/// <summary> | ||
/// AuthorizerCredentialsArn | ||
/// The credentials that are required for the authorizer. To specify an AWS Identity and Access | ||
/// Management (IAM) role that API Gateway assumes, specify the role's Amazon Resource Name (ARN). To | ||
/// use resource-based permissions on the AWS Lambda (Lambda) function, specify null. | ||
/// Required: No | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> AuthorizerCredentialsArn { get; set; } | ||
|
||
/// <summary> | ||
/// AuthorizerType | ||
/// The authorizer type. Currently the only valid value is REQUEST, for a Lambda function using incoming | ||
/// request parameters. | ||
/// Required: Yes | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> AuthorizerType { get; set; } | ||
|
||
/// <summary> | ||
/// AuthorizerResultTtlInSeconds | ||
/// The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches authorizer | ||
/// results. If you specify a value greater than 0, API Gateway caches the authorizer responses. By | ||
/// default, API Gateway sets this property to 300. The maximum value is 3600, or 1 hour. | ||
/// Required: No | ||
/// Type: Integer | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<int, IntrinsicFunction> AuthorizerResultTtlInSeconds { get; set; } | ||
|
||
/// <summary> | ||
/// IdentitySource | ||
/// The source of the identity in an incoming request. | ||
/// If you specify REQUEST for the Type property, specify a comma-separated string of one or more | ||
/// mapping expressions of the specified request parameter using the form method. request. parameter. | ||
/// name. | ||
/// Required: Yes | ||
/// Type: List of String values | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public List<Union<string, IntrinsicFunction>> IdentitySource { get; set; } | ||
|
||
/// <summary> | ||
/// ApiId | ||
/// The ID of the Api resource that API Gateway creates the authorizer in. | ||
/// Required: Yes | ||
/// Type: String | ||
/// Update requires: Replacement | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> ApiId { get; set; } | ||
|
||
/// <summary> | ||
/// Name | ||
/// The name of the authorizer. | ||
/// Required: Yes | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> Name { get; set; } | ||
|
||
} | ||
|
||
public string Type { get; } = "AWS::ApiGatewayV2::Authorizer"; | ||
|
||
public AuthorizerProperties Properties { get; } = new AuthorizerProperties(); | ||
|
||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
src/Comformation/Generated/ApiGatewayV2/Deployment/DeploymentResource.cs
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Comformation.IntrinsicFunctions; | ||
|
||
namespace Comformation.ApiGatewayV2.Deployment | ||
{ | ||
/// <summary> | ||
/// AWS::ApiGatewayV2::Deployment | ||
/// The AWS::ApiGatewayV2::Deployment resource represents a deployment for an API. For more information, see | ||
/// CreateDeployment in the Amazon API Gateway V2 API Reference. | ||
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html | ||
/// </summary> | ||
public class DeploymentResource : ResourceBase | ||
{ | ||
public class DeploymentProperties | ||
{ | ||
/// <summary> | ||
/// Description | ||
/// Describes the stage that API Gateway creates with this deployment. | ||
/// Required: No | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> Description { get; set; } | ||
|
||
/// <summary> | ||
/// StageName | ||
/// A name for the stage that API Gateway creates with this deployment. Use only alphanumeric | ||
/// characters. | ||
/// Required: No | ||
/// Type: String | ||
/// Update requires: No interruption | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> StageName { get; set; } | ||
|
||
/// <summary> | ||
/// ApiId | ||
/// The ID of the Api resource to deploy. | ||
/// Required: Yes | ||
/// Type: String | ||
/// Update requires: Replacement | ||
/// </summary> | ||
public Union<string, IntrinsicFunction> ApiId { get; set; } | ||
|
||
} | ||
|
||
public string Type { get; } = "AWS::ApiGatewayV2::Deployment"; | ||
|
||
public DeploymentProperties Properties { get; } = new DeploymentProperties(); | ||
|
||
} | ||
} |
Oops, something went wrong.