Options
All
  • Public
  • Public/Protected
  • All
Menu

A Construct representing a Serverless Aurora Database for use with Mira

Hierarchy

  • Construct
    • ServerlessAurora

Implements

  • IConstruct
  • IConstruct
  • ISecretAttachmentTarget

Index

Constructors

constructor

Properties

clusterEndpoint

clusterEndpoint: Endpoint

clusterIdentifier

clusterIdentifier: string

connections

connections: Connections

Readonly node

node: ConstructNode

The construct tree node associated with this construct.

stability

stable

Optional secret

secret: SecretTargetAttachment

securityGroup

securityGroup: ISecurityGroup

securityGroupId

securityGroupId: string

vpc

vpc: IVpc

vpcSubnets

vpcSubnets: SubnetSelection

Methods

addRotationSingleUser

  • addRotationSingleUser(id: string, duration?: Duration): SecretRotation
  • Adds the single user rotation of the master password to this cluster.

    Parameters

    • id: string
    • Optional duration: Duration

      The duration of the rotation, if null the default of 30 days is used

    Returns SecretRotation

asSecretAttachmentTarget

  • asSecretAttachmentTarget(): SecretAttachmentTargetProps

Protected onPrepare

  • onPrepare(): void
  • Perform final modifications before synthesis.

    This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.

    This is an advanced framework feature. Only use this if you understand the implications.

    stability

    stable

    Returns void

Protected onSynthesize

  • onSynthesize(session: ISynthesisSession): void
  • Allows this construct to emit artifacts into the cloud assembly during synthesis.

    This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

    stability

    stable

    Parameters

    • session: ISynthesisSession

      The synthesis session.

    Returns void

Protected onValidate

  • onValidate(): string[]
  • Validate the current construct.

    This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.

    stability

    stable

    Returns string[]

    An array of validation error messages, or an empty array if the construct is valid.

Protected prepare

  • prepare(): void
  • Perform final modifications before synthesis.

    This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.

    This is an advanced framework feature. Only use this if you understand the implications.

    stability

    stable

    Returns void

Protected synthesize

  • synthesize(session: ISynthesisSession): void
  • Allows this construct to emit artifacts into the cloud assembly during synthesis.

    This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

    stability

    stable

    Parameters

    • session: ISynthesisSession

      The synthesis session.

    Returns void

toString

  • toString(): string
  • Returns a string representation of this construct.

    stability

    stable

    Returns string

Protected validate

  • validate(): string[]
  • Validate the current construct.

    This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.

    stability

    stable

    Returns string[]

    An array of validation error messages, or an empty array if the construct is valid.

Static isConstruct

  • isConstruct(x: any): x is Construct
  • Return whether the given object is a Construct.

    stability

    stable

    Parameters

    • x: any

    Returns x is Construct

Legend

  • Constructor
  • Property
  • Method
  • Constructor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc