UNPKG

@cloudtoolkit/aws

Version:

The Cloud Toolkit AWS provider for Pulumi provision well-architected solutions in [AWS](https://aws.amazon.com/). With Cloud Toolkit AWS you can use your preferred programming language to manage your platform with Infrastructure as Code.

70 lines (69 loc) 2.39 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as enums from "../../types/enums"; export interface CdnCacheArgs { /** * Cloud Front distribution cache time to live */ ttl: pulumi.Input<number>; } export interface CdnDnsArgs { /** * Hosted zone ID to store the DNS records */ hostedZoneId: pulumi.Input<string>; /** * DNS time to live */ ttl: pulumi.Input<number>; } export interface DeadLetterQueueTypeArgs { /** * Enables the feature. */ enable: pulumi.Input<boolean>; /** * Placing a Queue ARN will set said already existing Queue as a Dead Letter Queue for the new one. */ existingDeadLetterQueueArn?: pulumi.Input<string>; /** * The amount of time that a message will be stored in the Dead Letter Queue without being deleted. Minimum is 60 seconds (1 minutes) and Maximum 1,209,600 (14 days) seconds. By default a message is retained 4 days. */ messageRetentionSeconds?: pulumi.Input<number>; /** * Dead Letter Queue type attached to the component to create. */ type: pulumi.Input<enums.serverless.DeadLetterQueueTypes>; } export interface DomainPartsArgs { /** * Domain used to extract the hosted zone id for the DNS Record */ parentDomain?: pulumi.Input<string>; /** * Subdomain part that will be the name of the DNS Record */ subdomain?: pulumi.Input<string>; } export interface QueueArgs { /** * Dead Letter Queue attached to the component to create. */ DeadLetterQueueTypeArgs?: pulumi.Input<inputs.serverless.DeadLetterQueueTypeArgs>; /** * Set to true to create the Queue as FiFo. False for a Standard Queue. */ isFifo?: pulumi.Input<boolean>; /** * The limit for a Queue message size in bytes. Minimum is 1 byte (1 character) and Maximum 262,144 bytes (256 KiB). By default a message can be 256 KiB large. */ maxMessageSize?: pulumi.Input<number>; /** * The amount of time that a message will be stored in the Queue without being deleted. Minimum is 60 seconds (1 minutes) and Maximum 1,209,600 (14 days) seconds. By default a message is retained 4 days. */ messageRetentionSeconds?: pulumi.Input<number>; /** * Custom policy for the Queue. */ policy?: pulumi.Input<string>; }