GradientEdge CDK Utils
    Preparing search index...

    Module @gradientedge/cdk-utils-aws

    @gradientedge/cdk-utils-aws

    AWS CDK utilities for provisioning and managing AWS infrastructure using the AWS CDK.

    This package provides high-level constructs and service managers that simplify common AWS CDK patterns:

    • Constructs — ready-to-use patterns like REST API with Lambda, EventBridge targets, static sites, and ECS backends
    • Services — manager classes for AWS services including Lambda, API Gateway, CloudFront, DynamoDB, ECS, S3, SQS, SNS, and more
    • Common — base constructs and stack classes that all higher-level constructs extend
    pnpm add @gradientedge/cdk-utils-aws
    
    import { CommonConstruct } from '@gradientedge/cdk-utils-aws'
    import { Construct } from 'constructs'

    class MyStack extends CommonConstruct {
    constructor(parent: Construct, id: string, props: CommonStackProps) {
    super(parent, id, props)
    this.initResources()
    }
    }

    Common

    CommonConstruct
    CommonStack
    ResourceNameFormatter

    Constant

    ArnsByRegionForArm64
    ArnsByRegionForX86_64
    DEFAULT_CREATE_ACL
    DEFAULT_POSIX_USER
    LAMBDA_ALIAS_NAME_CURRENT
    createCfnOutput
    determineCredentials
    redirectError
    redirectSuccess

    Construct

    ApiDestinedLambda
    ApiToAnyTarget
    ApiToAnyTargetRestApi
    ApiToEventBridgeTarget
    ApiToEventbridgeTargetEvent
    ApiToEventbridgeTargetRestApi
    ApiToEventBridgeTargetWithSns
    ApiToLambdaTarget
    ApiToLambdaTargetRestApi
    ApplicationConfiguration
    EventHandler
    Handler
    LambdaWithIamAccess
    PipedEventHandler
    RestApiLambda
    RestApiLambdaWithCache
    SiteWithEcsBackend
    SiteWithLambdaBackend
    StaticAssetDeployment
    StaticSite

    Enum

    Architecture
    SiteResponseHeaderPolicyType
    SiteWithLambdaBackendResponseHeaderPolicyType

    Interface

    AcmProps
    AlarmProps
    AlarmStatusWidgetProps
    ApiDestinedLambdaEnvironment
    ApiDestinedLambdaType
    ApiToAnyTargetProps
    ApiToAnyTargetRestApiProps
    ApiToAnyTargetRestApiResource
    ApiToAnyTargetRestApiType
    ApiToEventBridgeTargetEventProps
    ApiToEventBridgeTargetEventType
    ApiToEventBridgeTargetLambdaProps
    ApiToEventBridgeTargetProps
    ApiToEventBridgeTargetRestApiProps
    ApiToEventBridgeTargetRestApiType
    ApiToLambdaTargetProps
    ApiToLambdaTargetRestApiProps
    ApiToLambdaTargetRestApiType
    AppConfigDeploymentStrategyProps
    AppConfigProps
    ApplicationConfigurationProps
    AssetExport
    BucketDeploymentProps
    CloudfrontFunctionProps
    CloudTrailProps
    CommonStackProps
    DashboardProps
    DistributionProps
    DynamoDbToLambdaPipeProps
    EcsApplicationLoadBalancedFargateServiceHealthCheck
    EcsApplicationLoadBalancedFargateServiceProps
    EcsClusterProps
    EcsScalingProps
    EcsTaskProps
    EdgeFunctionProps
    EfsAccessPointOptions
    EfsFileSystemProps
    EksClusterProps
    ElastiCacheProps
    EventBusProps
    EventHandlerProps
    EventHandlerType
    EventRuleProps
    EvidentlyExperimentProps
    EvidentlyFeatureProps
    EvidentlyLaunchProps
    EvidentlyProjectProps
    EvidentlySegmentProps
    GraphWidgetProps
    GuageWidgetProps
    HealthCheck
    KmsKeyProps
    LambdaAliasProps
    LambdaEdgeProps
    LambdaEnvironment
    LambdaProps
    LambdaRestApiProps
    LambdaWithIamAccessEnvironment
    LambdaWithIamAccessProps
    LifecycleRule
    LogGroupNoPolicyProps
    LogProps
    LogQueryWidgetProps
    MetricFilterProps
    MetricProps
    NumericWidgetProps
    PipedEventHandlerProps
    ProvisionedConcurrencyProps
    QueueProps
    ReplicatedElastiCacheProps
    ResourceNameFormatterProps
    RestApigProps
    RestApiLambdaEnvironment
    RestApiLambdaProps
    RestApiLambdaWithCacheProps
    Route53Props
    RuleProps
    S3BucketProps
    SecretBaseProps
    SfnCallApiGatewayRestApiEndpointProps
    SfnChoiceProps
    SfnDynamoDeleteItemProps
    SfnDynamoGetItemProps
    SfnDynamoPutItemProps
    SfnFailProps
    SfnLambdaInvokeProps
    SfnMapProps
    SfnParallelProps
    SfnPassProps
    SfnRetryProps
    SfnSqsSendMessageProps
    SfnStartExecutionProps
    SfnStateMachineProps
    SfnSucceedProps
    SfnWaitProps
    SiteCachePolicyProps
    SiteResponseHeadersPolicyProps
    SiteResponseHeadersStrictTransportSecurity
    SiteSecurityHeadersBehavior
    SiteWithEcsBackendProps
    SiteWithLambdaBackendCachePolicyProps
    SiteWithLambdaBackendProps
    SiteWithLambdaBackendResponseHeadersPolicyProps
    SiteWithLambdaBackendResponseHeadersStrictTransportSecurity
    SiteWithLambdaBackendSecurityHeadersBehavior
    SQSEventSourceProps
    SqsToLambdaPipeProps
    SqsToSfnPipeProps
    SSMParameterReaderProps
    SSMStringParameterProps
    StaticAssetDeploymentProps
    StaticCloudFrontDistribution
    StaticSiteProps
    SubscriptionProps
    TableProps
    TablePropsV2
    TagProps
    TextWidgetProps
    VpcProps
    WafIPSetProps
    WafWebACLProps

    Service

    AcmManager
    ApiManager
    AppConfigManager
    CloudFrontManager
    CloudTrailManager
    CloudWatchLogGroupNoPolicy
    CloudWatchManager
    CodeBuildManager
    DynamodbManager
    EcrManager
    EcsManager
    EfsManager
    EksManager
    ElastiCacheManager

    Provides operations on AWS ElastiCache Service.

    • A new instance of scope class is injected into CommonConstruct constructor.
    • If a custom construct extends CommonConstruct, an instance is available within the context.
    EventManager
    EventTargetManager
    EvidentlyManager
    IamManager
    KmsManager
    LambdaManager
    LogManager
    Route53Manager
    S3Manager
    SecretsManager
    SfnManager
    SnsManager
    SqsManager
    SsmManager
    SSMParameterReader
    VpcManager
    WafManager