GradientEdge CDK Utils
    Preparing search index...

    Provides operations on AWS

    • A new instance of this class is injected into CommonConstruct constructor.
    • If a custom construct extends CommonConstruct, an instance is available within the context.
    import { CommonConstruct } from '@gradientedge/cdk-utils'

    class CustomConstruct extends CommonConstruct {
    constructor(parent: Construct, id: string, props: common.CommonStackProps) {
    super(parent, id, props)
    this.props = props
    this.iamManager.createRoleForEcsEvent('MyEcsRole', this, cluster, task)
    }
    }
    Index

    Constructors

    Methods

    • Parameters

      • id: string

        scoped id of the resource

      • scope: CommonConstruct

        scope in which this resource is defined

      • sqsQueue: Queue
      • eventBridgeRule: IRule
      • OptionalservicePrincipals: ServicePrincipal[]

      Returns PolicyDocument

    • Parameters

      • id: string

        scoped id of the resource

      • scope: CommonConstruct

        scope in which this resource is defined

      • dynamoDbStreamArn: string

        the arn of the dynamoDb Stream queue

      • lambdaFunctionArn: string

        the arn of the lambda function

      Returns Role