import { CustomResourceProvider } from 'halloumi-cross-account-parameter-store'
new CustomResourceProvider(scope: Construct, id: string, props: FunctionProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
FunctionProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: FunctionProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
gProviderFramework |
No description. |
public toString(): string
Returns a string representation of this construct.
public gProviderFramework(): Provider
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { CustomResourceProvider } from 'halloumi-cross-account-parameter-store'
CustomResourceProvider.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
import { FunctionConstruct } from 'halloumi-cross-account-parameter-store'
new FunctionConstruct(scope: Construct, id: string, props: FunctionProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
FunctionProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: FunctionProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
gFunction |
Get the function. |
gFunctionRole |
Get the IAM Role attached to the function. |
public toString(): string
Returns a string representation of this construct.
public gFunction(): IFunction
Get the function.
public gFunctionRole(): IRole
Get the IAM Role attached to the function.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { FunctionConstruct } from 'halloumi-cross-account-parameter-store'
FunctionConstruct.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
import { HalloumiCrossAccountParameterStore } from 'halloumi-cross-account-parameter-store'
new HalloumiCrossAccountParameterStore(scope: Construct, id: string, props: ParameterManagerProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
ParameterManagerProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: ParameterManagerProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
createParameterManager |
No description. |
public toString(): string
Returns a string representation of this construct.
public createParameterManager(id: string): CustomResource
- Type: string
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { HalloumiCrossAccountParameterStore } from 'halloumi-cross-account-parameter-store'
HalloumiCrossAccountParameterStore.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
import { FunctionProps } from 'halloumi-cross-account-parameter-store'
const functionProps: FunctionProps = { ... }
Name | Type | Description |
---|---|---|
roleArn |
string |
The ARN of the role on the target account that the STS client on the Lambda function assumes and has permissions to create, update and delete a parameter on that account. |
roleExternalId |
string |
Optional: Information that you can use in an IAM role trust policy to designate who can assume the role. |
roleSessionName |
string |
Optional: IAM role session name when STS client on the Lambda function assumes the role on the target account. |
public readonly roleArn: string;
- Type: string
The ARN of the role on the target account that the STS client on the Lambda function assumes and has permissions to create, update and delete a parameter on that account.
public readonly roleExternalId: string;
- Type: string
Optional: Information that you can use in an IAM role trust policy to designate who can assume the role.
public readonly roleSessionName: string;
- Type: string
Optional: IAM role session name when STS client on the Lambda function assumes the role on the target account.
Default is halloumi_cross_account_parameter_store
.
import { ParameterManagerProps } from 'halloumi-cross-account-parameter-store'
const parameterManagerProps: ParameterManagerProps = { ... }
Name | Type | Description |
---|---|---|
customResourceProvider |
CustomResourceProvider |
An instance of the CustomResourceProvider . |
parameterDescription |
string |
A description for the parameter. |
parameterName |
string |
The name of the parameter on the target account that is going to be managed. |
parameterValue |
any |
The value of the parameter on the target account. |
public readonly customResourceProvider: CustomResourceProvider;
- Type: CustomResourceProvider
An instance of the CustomResourceProvider
.
public readonly parameterDescription: string;
- Type: string
A description for the parameter.
public readonly parameterName: string;
- Type: string
The name of the parameter on the target account that is going to be managed.
public readonly parameterValue: any;
- Type: any
The value of the parameter on the target account.