CrossAccountExports

@cosmos-building-blocks/commonGlobalsCrossAccountExports

Hierarchy

  • Construct

    CrossAccountExports

Implements

  • IConstruct
  • IConstruct

Index

Constructors

Properties

Methods

Constructors

constructor

+ new CrossAccountExports(scope: Construct, id: string, props: CrossAccountExportsProps): CrossAccountExports

Overrides void

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:25

Parameters:

NameType
scopeConstruct
idstring
propsCrossAccountExportsProps

Returns: CrossAccountExports

Properties

Readonly exports

exports: string[]

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:23


Readonly resource

resource: CustomResource

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:24


Readonly serviceToken

serviceToken: string

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:25

Methods

get

get(name: string): string

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:48

Parameters:

NameType
namestring

Returns: string

get(name?: string[]): string[]

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:49

Parameters:

NameType
name?string[]

Returns: string[]


getRef

getRef(name: string): Reference

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:57

Parameters:

NameType
namestring

Returns: Reference

getRef(name?: string[]): Reference[]

Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:58

Parameters:

NameType
name?string[]

Returns: Reference[]