Skip to content

Commit

Permalink
New release (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericzbeard authored Oct 3, 2024
1 parent 2f2e5b4 commit 655308a
Show file tree
Hide file tree
Showing 139 changed files with 1,969 additions and 435 deletions.
14 changes: 7 additions & 7 deletions package/aws/amazonmq/configuration.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ open class Configuration extends cloudformation.Resource {
Type = "AWS::AmazonMQ::Configuration"


///
/// The authentication strategy associated with the configuration. The default is SIMPLE.
hidden AuthenticationStrategy: (String|Mapping)?

///
/// The base64-encoded XML configuration.
hidden Data: String|Mapping

///
/// The description of the configuration.
hidden Description: (String|Mapping)?

///
/// The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
hidden EngineType: String|Mapping

///
/// The version of the broker engine.
hidden EngineVersion: (String|Mapping)?

///
/// The name of the configuration.
hidden Name: String|Mapping

///
/// Create tags when creating the configuration.
hidden Tags: (Listing<ConfigurationTagsEntry>)?

Properties {
Expand Down
11 changes: 11 additions & 0 deletions package/aws/amplify/app.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ open class AppBasicAuthConfig {
Username: (String|Mapping)?
}

typealias CacheConfigType = "AMPLIFY_MANAGED"|"AMPLIFY_MANAGED_NO_COOKIES"

///
open class AppCacheConfig {
Type: (CacheConfigType|Mapping)?
}

///
open class AppCustomRule {
Condition: (String(matches(Regex(#"(?s).*"#)))|Mapping)?
Expand Down Expand Up @@ -67,6 +74,9 @@ open class App extends cloudformation.Resource {
///
hidden BuildSpec: (String(matches(Regex(#"(?s).+"#)))|Mapping)?

///
hidden CacheConfig: (AppCacheConfig)?

///
hidden CustomHeaders: (String(matches(Regex(#"(?s).*"#)))|Mapping)?

Expand Down Expand Up @@ -105,6 +115,7 @@ open class App extends cloudformation.Resource {
["AutoBranchCreationConfig"] = if (AutoBranchCreationConfig == null) null else AutoBranchCreationConfig
["BasicAuthConfig"] = if (BasicAuthConfig == null) null else BasicAuthConfig
["BuildSpec"] = if (BuildSpec == null) null else BuildSpec
["CacheConfig"] = if (CacheConfig == null) null else CacheConfig
["CustomHeaders"] = if (CustomHeaders == null) null else CustomHeaders
["CustomRules"] = if (CustomRules == null) null else CustomRules
["Description"] = if (Description == null) null else Description
Expand Down
73 changes: 50 additions & 23 deletions package/aws/apigatewayv2/integration.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -5,69 +5,89 @@ module aws.apigatewayv2.integration

import "../../cloudformation.pkl"

///
/// response parameter
open class IntegrationResponseParameter {
Destination: (String|Mapping)?
Source: (String|Mapping)?
}

typealias IntegrationResponseParameterList = Listing<(IntegrationResponseParameter)?>


/// map of response parameter lists
open class IntegrationResponseParameterMap {
ResponseParameters: (IntegrationResponseParameterList)?
}

/// A key-value pair to associate with a resource.
open class IntegrationTag {
Key: String|Mapping
Value: String|Mapping
}

/// The TlsConfig property specifies the TLS configuration for a private integration. Supported only for HTTP APIs.
open class IntegrationTlsConfig {
ServerNameToVerify: (String|Mapping)?
}

/// Resource Type definition for AWS::ApiGatewayV2::Integration
/// An example resource schema demonstrating some basic constructs and validation rules.
open class Integration extends cloudformation.Resource {

Type = "AWS::ApiGatewayV2::Integration"


///
/// The API identifier.
hidden ApiId: String|Mapping

///
/// The ID of the VPC link for a private integration. Supported only for HTTP APIs.
hidden ConnectionId: (String|Mapping)?

///
/// The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
hidden ConnectionType: (String|Mapping)?

///
/// Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT.
hidden ContentHandlingStrategy: (String|Mapping)?

///
/// Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services, don't specify this parameter.
hidden CredentialsArn: (String|Mapping)?

///
/// The description of the integration.
hidden Description: (String|Mapping)?

///
/// Specifies the integration's HTTP method type.
hidden IntegrationMethod: (String|Mapping)?

///
/// Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke.
hidden IntegrationSubtype: (String|Mapping)?

///
/// The integration type of an integration.
hidden IntegrationType: String|Mapping

///
/// For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
hidden IntegrationUri: (String|Mapping)?

///
/// Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.
hidden PassthroughBehavior: (String|Mapping)?

///
/// Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are 1.0 and 2.0 For all other integrations, 1.0 is the only supported value.
hidden PayloadFormatVersion: (String|Mapping)?

///
hidden RequestParameters: (Dynamic)?
/// A key-value map specifying parameters.
hidden RequestParameters: (IntegrationIntegrationRequestParameters)?

///
hidden RequestTemplates: (Dynamic)?
/// A map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client.
hidden RequestTemplates: (IntegrationIntegrationRequestTemplates)?

///
hidden ResponseParameters: (Dynamic)?
/// Parameters that transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
hidden ResponseParameters: (IntegrationIntegrationResponseParameters)?

///
/// The template selection expression for the integration. Supported only for WebSocket APIs.
hidden TemplateSelectionExpression: (String|Mapping)?

///
/// Custom timeout between 50 and 29000 milliseconds for WebSocket APIs and between 50 and 30000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
hidden TimeoutInMillis: (Int|Mapping)?

///
/// The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
hidden TlsConfig: (IntegrationTlsConfig)?

Properties {
Expand All @@ -92,3 +112,10 @@ open class Integration extends cloudformation.Resource {
}

}


typealias IntegrationIntegrationRequestParameters = Mapping<String, Any>

typealias IntegrationIntegrationRequestTemplates = Mapping<String, Any>

typealias IntegrationIntegrationResponseParameters = Mapping<String, Any>
2 changes: 1 addition & 1 deletion package/aws/appintegrations/application.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ open class Application extends cloudformation.Resource {
hidden Name: String(matches(Regex(#"^[a-zA-Z0-9\/\._ \-]+$"#)))|Mapping

/// The namespace of the application.
hidden Namespace: (String(matches(Regex(#"^[a-zA-Z0-9/\._\-]+$"#)))|Mapping)?
hidden Namespace: String(matches(Regex(#"^[a-zA-Z0-9/\._\-]+$"#)))|Mapping

/// The configuration of events or requests that the application has access to.
hidden Permissions: (Listing<ApplicationPermissions>)?
Expand Down
Loading

0 comments on commit 655308a

Please sign in to comment.