AWSDeployerParameters
Class: AWSDeployerParameters
Defined in: aws/src/deployers/awsdeployer.ts:43
Common parameters of the AWS deployers
A deployer is declared as a unit of a deployment (deployments/<name>.json),
its parameters can use the ${...} deployment variables (getDeploymentVariables)
Extends
ServiceParameters
Extended by
Constructors
Constructor
new AWSDeployerParameters():
AWSDeployerParameters
Returns
AWSDeployerParameters
Inherited from
ServiceParameters.constructor
Properties
accessKeyId?
optionalaccessKeyId?:string|SecretString
Defined in: aws/src/deployers/awsdeployer.ts:55
AWS_ACCESS_KEY_ID to use
Using static key is not recommended
Can be encrypted with webda config encrypt
AWSAccountId?
optionalAWSAccountId?:string
Defined in: aws/src/deployers/awsdeployer.ts:83
AWS Account Id
Certificates?
optionalCertificates?:object
Defined in: aws/src/deployers/awsdeployer.ts:105
SSL certificates to create
Sample
Certificates: {
"test.webda.io": {
SubjectAlternativeNames: ["test2.webda.io"]
}
}
Index Signature
[key: string]: object
endpoints?
optionalendpoints?:object
Defined in: aws/src/deployers/awsdeployer.ts:88
Endpoints to use by differents services Usefull to test with localstack or other AWS emulations
ACM?
optionalACM?:string
APIGateway?
optionalAPIGateway?:string
CloudFormation?
optionalCloudFormation?:string
CloudFront?
optionalCloudFront?:string
EC2?
optionalEC2?:string
Route53?
optionalRoute53?:string
S3?
optionalS3?:string
STS?
optionalSTS?:string
name?
optionalname?:string
Defined in: aws/src/deployers/awsdeployer.ts:47
Name of the unit
region?
optionalregion?:string
Defined in: aws/src/deployers/awsdeployer.ts:79
AWS_REGION to use
Default
"us-east-1"
secretAccessKey?
optionalsecretAccessKey?:string|SecretString
Defined in: aws/src/deployers/awsdeployer.ts:63
AWS_SECRET_ACCESS_KEY to use
Using static key is not recommended
Can be encrypted with webda config encrypt
sessionToken?
optionalsessionToken?:string|SecretString
Defined in: aws/src/deployers/awsdeployer.ts:73
AWS_SESSION_TOKEN Token
Even if it is possible to add it here It is not sustainable as this token at its best will have a lifetime of 12 hours
Can be encrypted with webda config encrypt
Tags?
optionalTags?:TagsDefinition
Defined in: aws/src/deployers/awsdeployer.ts:92
Default Tags to use with resources created by deployers
type
type:
string
Defined in: core/lib/services/serviceparameters.d.ts:9
Type of the service
Inherited from
ServiceParameters.type
Methods
load()
load(
params?):this
Defined in: core/lib/application/parameters.d.ts:14
Load raw parameters by assigning them onto this instance
Parameters
params?
any
the service parameters
Returns
this
this for chaining
Inherited from
ServiceParameters.load
update()
update(
params,delta):this
Defined in: core/lib/application/parameters.d.ts:21
Update parameters and call watchers if a parameter was changed
Parameters
params
any
the service parameters
delta
any
the delta
Returns
this
this for chaining
Inherited from
ServiceParameters.update
with()
with(
callback):this
Defined in: core/lib/application/parameters.d.ts:27
Watch for changes on the parameters and call watchers when a parameter is changed
Parameters
callback
(params) => void
the callback function
Returns
this
this for chaining
Inherited from
ServiceParameters.with