CrossAccountExports
@cosmos-building-blocks/common › Globals › CrossAccountExports
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:
Name | Type |
---|---|
scope | Construct |
id | string |
props | CrossAccountExportsProps |
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:
Name | Type |
---|---|
name | string |
Returns: string
▸ get(name?
: string[]): string[]
Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:49
Parameters:
Name | Type |
---|---|
name? | string[] |
Returns: string[]
getRef
▸ getRef(name
: string): Reference
Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:57
Parameters:
Name | Type |
---|---|
name | string |
Returns: Reference
▸ getRef(name?
: string[]): Reference[]
Defined in packages/@cosmos-building-blocks/common/src/cross-account-exports.ts:58
Parameters:
Name | Type |
---|---|
name? | string[] |
Returns: Reference[]