aws
Submodule ¶
Structs ¶
CdkBootstrapProps ¶
Configuration properties for initializing a Bootstrap instance.
Initializer ¶
Properties ¶
Name | Type | Description |
---|---|---|
awsAccountId |
string |
The AWS account ID associated with the Bootstrap configuration. |
awsRegion |
string |
The AWS region in which the Bootstrap will be performed. |
qualifier |
string |
The qualifier applied to the Bootstrap. |
toolkitStackName |
string |
The name of the toolkit stack used for Bootstrap. |
jobName |
string |
An optional name for the Bootstrap job. |
jobStage |
string |
An optional stage for the Bootstrap job. |
resourceTags |
{[ key: string ]: string} |
Optional resource tags that can be applied during Bootstrap. |
awsAccountId
Required ¶
- Type: string
The AWS account ID associated with the Bootstrap configuration.
awsRegion
Required ¶
- Type: string
The AWS region in which the Bootstrap will be performed.
qualifier
Required ¶
- Type: string
The qualifier applied to the Bootstrap.
toolkitStackName
Required ¶
- Type: string
The name of the toolkit stack used for Bootstrap.
jobName
Optional ¶
- Type: string
An optional name for the Bootstrap job.
jobStage
Optional ¶
- Type: string
An optional stage for the Bootstrap job.
resourceTags
Optional ¶
- Type: {[ key: string ]: string}
Optional resource tags that can be applied during Bootstrap.
CdkDeployProps ¶
Configuration properties for initializing a Deploy instance.
Initializer ¶
Properties ¶
Name | Type | Description |
---|---|---|
stacks |
string[] |
An array of stack names to be deployed. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for deployment. |
deployOptions |
string |
Optional deployment options. |
jobName |
string |
An optional name for the Deploy job. |
jobStage |
string |
An optional stage for the Deploy job. |
strict |
boolean |
Enable strict deployment mode. |
toolkitStackName |
string |
Optional toolkit stack name used for deployment. |
waitForStack |
boolean |
Wait for stacks to complete deployment. |
waitForStackAccountId |
string |
AWS account ID for stack waiting. |
waitForStackAssumeRole |
string |
AWS assume role for stack waiting. |
stacks
Required ¶
- Type: string[]
An array of stack names to be deployed.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for deployment.
deployOptions
Optional ¶
- Type: string
Optional deployment options.
jobName
Optional ¶
- Type: string
An optional name for the Deploy job.
jobStage
Optional ¶
- Type: string
An optional stage for the Deploy job.
strict
Optional ¶
- Type: boolean
Enable strict deployment mode.
toolkitStackName
Optional ¶
- Type: string
Optional toolkit stack name used for deployment.
waitForStack
Optional ¶
- Type: boolean
Wait for stacks to complete deployment.
waitForStackAccountId
Optional ¶
- Type: string
AWS account ID for stack waiting.
waitForStackAssumeRole
Optional ¶
- Type: string
AWS assume role for stack waiting.
CdkDiffDeployProps ¶
Configuration properties for initializing a DiffDeploy instance.
Initializer ¶
Properties ¶
Name | Type | Description |
---|---|---|
stacks |
string[] |
An array of stack names for which to generate a diff and perform deployment. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for the diff and deployment. |
stacks
Required ¶
- Type: string[]
An array of stack names for which to generate a diff and perform deployment.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for the diff and deployment.
CdkDiffProps ¶
Configuration properties for initializing a Diff instance.
Initializer ¶
Properties ¶
Name | Type | Description |
---|---|---|
stacks |
string[] |
An array of stack names for which to generate a diff. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for the diff. |
diffOptions |
string |
Optional diff options to customize the diff process. |
jobName |
string |
An optional name for the Diff job. |
jobStage |
string |
An optional stage for the Diff job. |
stacks
Required ¶
- Type: string[]
An array of stack names for which to generate a diff.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for the diff.
diffOptions
Optional ¶
- Type: string
Optional diff options to customize the diff process.
jobName
Optional ¶
- Type: string
An optional name for the Diff job.
jobStage
Optional ¶
- Type: string
An optional stage for the Diff job.
CdkMirrorToCodecommitProps ¶
Initializer ¶
Properties ¶
Name | Type | Description |
---|---|---|
awsRegion |
string |
The AWS region you want to operate in. |
infrastructureTags |
string |
Only if the ECR would be created on the first call, these AWS Tags becomes applied to the AWS Codecommit resource. |
mirrorOpts |
@gcix/gcix.git.GitMirrorProps |
Options for the upstream Mirror job. |
repositoryName |
string |
The name of the target Codecommit repository. |
awsRegion
Optional ¶
- Type: string
The AWS region you want to operate in.
When not set, it would be curl'ed from the current EC2 instance metadata.
infrastructureTags
Optional ¶
- Type: string
Only if the ECR would be created on the first call, these AWS Tags becomes applied to the AWS Codecommit resource.
Changed values won't
change the tags on an already existing ECR. This string must have the
pattern: Tag1=Value1,Tag2=Value2
mirrorOpts
Optional ¶
- Type: @gcix/gcix.git.GitMirrorProps
Options for the upstream Mirror job.
repositoryName
Optional ¶
- Type: string
- Default: CI_PROJECT_PATH_SLUG.
The name of the target Codecommit repository.
Classes ¶
AWSAccount ¶
Initializers ¶
Name | Type | Description |
---|---|---|
Static Functions ¶
Name | Description |
---|---|
awsAccountId |
Retrieves the AWS Account ID associated with the current AWS credentials or environment. |
awsRegion |
Retrieves the AWS region associated with the current AWS credentials or environment. |
awsAccountId
¶
Retrieves the AWS Account ID associated with the current AWS credentials or environment.
If available, it uses the environment variable
AWS_ACCOUNT_ID
. Otherwise, it fetches the AWS Account ID from the caller
identity response obtained via STS.
awsRegion
¶
Retrieves the AWS region associated with the current AWS credentials or environment.
If available, it uses the environment variable
AWS_DEFAULT_REGION
. Otherwise, it fetches the AWS region from the caller
identity response obtained via STS.
CdkBootstrap ¶
- Implements: ICdkBootstrap
Creates an instance of Bootstrap.
Initializers ¶
Name | Type | Description |
---|---|---|
props |
CdkBootstrapProps |
No description. |
props
Required ¶
- Type: CdkBootstrapProps
Methods ¶
Name | Description |
---|---|
addDependencies |
No description. |
addNeeds |
No description. |
addParent |
This method is called by gcix.JobCollection s when the job is added to that JobCollection. |
addTags |
No description. |
addVariables |
No description. |
appendRules |
No description. |
appendScripts |
No description. |
assignAllowFailure |
No description. |
assignArtifacts |
No description. |
assignCache |
No description. |
assignDependencies |
No description. |
assignImage |
Sets the image of this job. |
assignNeeds |
No description. |
assignTags |
No description. |
copy |
Returns an independent, deep copy object of this job. |
extendName |
This method is used by gcix.JobCollection s to populate the jobs name. |
extendStage |
This method is used by gcix.JobCollection s to populate the jobs name and stage. |
extendStageValue |
This method is used by gcix.JobCollection s to populate the jobs stage. |
getAllInstanceNames |
Return all instance names from the given child. |
isEqual |
isEqual checks if this object is equal to given object. |
prependRules |
No description. |
prependScripts |
No description. |
render |
Returns a representation of any object which implements IBase . |
addDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addParent
¶
This method is called by gcix.JobCollection
s when the job is added to that JobCollection.
The job needs to know its parents when getAllInstanceNames()
is called.
parent
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
addTags
¶
tags
Required ¶
- Type: string[]
addVariables
¶
variables
Required ¶
- Type: {[ key: string ]: string}
appendRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
appendScripts
¶
scripts
Required ¶
- Type: string[]
assignAllowFailure
¶
allowFailure
Required ¶
- Type: boolean | number[]
assignArtifacts
¶
artifacts
Required ¶
- Type: @gcix/gcix.Artifacts
assignCache
¶
cache
Required ¶
- Type: @gcix/gcix.Cache
assignDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignImage
¶
Sets the image of this job.
For a simple container image you can provide the origin of the image. If you want to set the entrypoint, you have to provide an Image object instead.
!! Any previous values will be overwritten.
image
Required ¶
- Type: string | @gcix/gcix.Image
assignNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignTags
¶
tags
Required ¶
- Type: string[]
copy
¶
Returns an independent, deep copy object of this job.
extendName
¶
This method is used by gcix.JobCollection
s to populate the jobs name.
name
Required ¶
- Type: string
extendStage
¶
This method is used by gcix.JobCollection
s to populate the jobs name and stage.
stage
Required ¶
- Type: string
extendStageValue
¶
This method is used by gcix.JobCollection
s to populate the jobs stage.
stage
Required ¶
- Type: string
getAllInstanceNames
¶
Return all instance names from the given child.
That means all combinations of the childs name and stage within this sequence and all parent sequences.
child
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
isEqual
¶
isEqual
checks if this
object is equal to given object.
comparable
Required ¶
- Type: @gcix/gcix.IBase
prependRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
prependScripts
¶
scripts
Required ¶
- Type: string[]
render
¶
Returns a representation of any object which implements IBase
.
The rendered representation is used by the gcix
to dump it
in YAML format as part of the .gitlab-ci.yml
pipeline.
Properties ¶
Name | Type | Description |
---|---|---|
tags |
string[] |
Getter method to receive added tags. |
allowFailure |
string | boolean | number[] |
No description. |
name |
string |
No description. |
orderedTags |
@gcix/gcix.OrderedStringSet |
No description. |
parents |
@gcix/gcix.Job | @gcix/gcix.JobCollection[] |
No description. |
scripts |
string[] |
No description. |
stage |
string |
No description. |
artifacts |
@gcix/gcix.Artifacts |
No description. |
cache |
@gcix/gcix.Cache |
No description. |
dependencies |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
image |
@gcix/gcix.Image |
No description. |
needs |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
original |
@gcix/gcix.Job |
No description. |
rules |
@gcix/gcix.Rule[] |
No description. |
variables |
{[ key: string ]: string} |
No description. |
awsAccountId |
string |
The AWS account ID associated with the Bootstrap configuration. |
awsRegion |
string |
The AWS region in which the Bootstrap will be performed. |
jobName |
string |
The name of the Bootstrap job. |
jobStage |
string |
The stage of the Bootstrap job. |
qualifier |
string |
The qualifier applied to the Bootstrap. |
toolkitStackName |
string |
The name of the toolkit stack used for Bootstrap. |
resourceTags |
{[ key: string ]: string} |
Optional resource tags that can be applied during Bootstrap. |
tags
Required ¶
- Type: string[]
Getter method to receive added tags.
allowFailure
Required ¶
- Type: string | boolean | number[]
name
Required ¶
- Type: string
orderedTags
Required ¶
- Type: @gcix/gcix.OrderedStringSet
parents
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection[]
scripts
Required ¶
- Type: string[]
stage
Required ¶
- Type: string
artifacts
Optional ¶
- Type: @gcix/gcix.Artifacts
cache
Optional ¶
- Type: @gcix/gcix.Cache
dependencies
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
image
Optional ¶
- Type: @gcix/gcix.Image
needs
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
original
Optional ¶
- Type: @gcix/gcix.Job
rules
Optional ¶
- Type: @gcix/gcix.Rule[]
variables
Optional ¶
- Type: {[ key: string ]: string}
awsAccountId
Required ¶
- Type: string
The AWS account ID associated with the Bootstrap configuration.
awsRegion
Required ¶
- Type: string
The AWS region in which the Bootstrap will be performed.
jobName
Required ¶
- Type: string
The name of the Bootstrap job.
jobStage
Required ¶
- Type: string
The stage of the Bootstrap job.
qualifier
Required ¶
- Type: string
The qualifier applied to the Bootstrap.
toolkitStackName
Required ¶
- Type: string
The name of the toolkit stack used for Bootstrap.
resourceTags
Optional ¶
- Type: {[ key: string ]: string}
Optional resource tags that can be applied during Bootstrap.
CdkDeploy ¶
- Implements: ICdkDeploy
A class that manages the configuration and rendering of a Deploy job.
Inherits from the base Job class and implements the IDeploy interface.
Initializers ¶
Name | Type | Description |
---|---|---|
props |
CdkDeployProps |
- Configuration properties for the Deploy job. |
props
Required ¶
- Type: CdkDeployProps
Configuration properties for the Deploy job.
Methods ¶
Name | Description |
---|---|
addDependencies |
No description. |
addNeeds |
No description. |
addParent |
This method is called by gcix.JobCollection s when the job is added to that JobCollection. |
addTags |
No description. |
addVariables |
No description. |
appendRules |
No description. |
appendScripts |
No description. |
assignAllowFailure |
No description. |
assignArtifacts |
No description. |
assignCache |
No description. |
assignDependencies |
No description. |
assignImage |
Sets the image of this job. |
assignNeeds |
No description. |
assignTags |
No description. |
copy |
Returns an independent, deep copy object of this job. |
extendName |
This method is used by gcix.JobCollection s to populate the jobs name. |
extendStage |
This method is used by gcix.JobCollection s to populate the jobs name and stage. |
extendStageValue |
This method is used by gcix.JobCollection s to populate the jobs stage. |
getAllInstanceNames |
Return all instance names from the given child. |
isEqual |
isEqual checks if this object is equal to given object. |
prependRules |
No description. |
prependScripts |
No description. |
render |
Renders the Deploy job's configuration and scripts. |
addDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addParent
¶
This method is called by gcix.JobCollection
s when the job is added to that JobCollection.
The job needs to know its parents when getAllInstanceNames()
is called.
parent
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
addTags
¶
tags
Required ¶
- Type: string[]
addVariables
¶
variables
Required ¶
- Type: {[ key: string ]: string}
appendRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
appendScripts
¶
scripts
Required ¶
- Type: string[]
assignAllowFailure
¶
allowFailure
Required ¶
- Type: boolean | number[]
assignArtifacts
¶
artifacts
Required ¶
- Type: @gcix/gcix.Artifacts
assignCache
¶
cache
Required ¶
- Type: @gcix/gcix.Cache
assignDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignImage
¶
Sets the image of this job.
For a simple container image you can provide the origin of the image. If you want to set the entrypoint, you have to provide an Image object instead.
!! Any previous values will be overwritten.
image
Required ¶
- Type: string | @gcix/gcix.Image
assignNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignTags
¶
tags
Required ¶
- Type: string[]
copy
¶
Returns an independent, deep copy object of this job.
extendName
¶
This method is used by gcix.JobCollection
s to populate the jobs name.
name
Required ¶
- Type: string
extendStage
¶
This method is used by gcix.JobCollection
s to populate the jobs name and stage.
stage
Required ¶
- Type: string
extendStageValue
¶
This method is used by gcix.JobCollection
s to populate the jobs stage.
stage
Required ¶
- Type: string
getAllInstanceNames
¶
Return all instance names from the given child.
That means all combinations of the childs name and stage within this sequence and all parent sequences.
child
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
isEqual
¶
isEqual
checks if this
object is equal to given object.
comparable
Required ¶
- Type: @gcix/gcix.IBase
prependRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
prependScripts
¶
scripts
Required ¶
- Type: string[]
render
¶
Renders the Deploy job's configuration and scripts.
Properties ¶
Name | Type | Description |
---|---|---|
tags |
string[] |
Getter method to receive added tags. |
allowFailure |
string | boolean | number[] |
No description. |
name |
string |
No description. |
orderedTags |
@gcix/gcix.OrderedStringSet |
No description. |
parents |
@gcix/gcix.Job | @gcix/gcix.JobCollection[] |
No description. |
scripts |
string[] |
No description. |
stage |
string |
No description. |
artifacts |
@gcix/gcix.Artifacts |
No description. |
cache |
@gcix/gcix.Cache |
No description. |
dependencies |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
image |
@gcix/gcix.Image |
No description. |
needs |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
original |
@gcix/gcix.Job |
No description. |
rules |
@gcix/gcix.Rule[] |
No description. |
variables |
{[ key: string ]: string} |
No description. |
stacks |
string[] |
An array of stack names to be deployed. |
strict |
boolean |
Flag indicating if strict deployment mode is enabled. |
waitForStack |
boolean |
Flag indicating if the deployment should wait for stack completion. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for deployment. |
deployOptions |
string |
Optional deployment options. |
jobName |
string |
An optional name for the Deploy job. |
jobStage |
string |
An optional stage for the Deploy job. |
toolkitStackName |
string |
Optional toolkit stack name used for deployment. |
waitForStackAccountId |
string |
AWS account ID for stack waiting. |
waitForStackAssumeRole |
string |
AWS assume role for stack waiting. |
tags
Required ¶
- Type: string[]
Getter method to receive added tags.
allowFailure
Required ¶
- Type: string | boolean | number[]
name
Required ¶
- Type: string
orderedTags
Required ¶
- Type: @gcix/gcix.OrderedStringSet
parents
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection[]
scripts
Required ¶
- Type: string[]
stage
Required ¶
- Type: string
artifacts
Optional ¶
- Type: @gcix/gcix.Artifacts
cache
Optional ¶
- Type: @gcix/gcix.Cache
dependencies
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
image
Optional ¶
- Type: @gcix/gcix.Image
needs
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
original
Optional ¶
- Type: @gcix/gcix.Job
rules
Optional ¶
- Type: @gcix/gcix.Rule[]
variables
Optional ¶
- Type: {[ key: string ]: string}
stacks
Required ¶
- Type: string[]
An array of stack names to be deployed.
strict
Required ¶
- Type: boolean
Flag indicating if strict deployment mode is enabled.
waitForStack
Required ¶
- Type: boolean
Flag indicating if the deployment should wait for stack completion.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for deployment.
deployOptions
Optional ¶
- Type: string
Optional deployment options.
jobName
Optional ¶
- Type: string
An optional name for the Deploy job.
jobStage
Optional ¶
- Type: string
An optional stage for the Deploy job.
toolkitStackName
Optional ¶
- Type: string
Optional toolkit stack name used for deployment.
waitForStackAccountId
Optional ¶
- Type: string
AWS account ID for stack waiting.
waitForStackAssumeRole
Optional ¶
- Type: string
AWS assume role for stack waiting.
CdkDiff ¶
- Implements: ICdkDiff
A class that manages the configuration and rendering of a Diff job.
Inherits from the base Job class and implements the IDiff interface.
Initializers ¶
Name | Type | Description |
---|---|---|
props |
CdkDiffProps |
- Configuration properties for the Diff job. |
props
Required ¶
- Type: CdkDiffProps
Configuration properties for the Diff job.
Methods ¶
Name | Description |
---|---|
addDependencies |
No description. |
addNeeds |
No description. |
addParent |
This method is called by gcix.JobCollection s when the job is added to that JobCollection. |
addTags |
No description. |
addVariables |
No description. |
appendRules |
No description. |
appendScripts |
No description. |
assignAllowFailure |
No description. |
assignArtifacts |
No description. |
assignCache |
No description. |
assignDependencies |
No description. |
assignImage |
Sets the image of this job. |
assignNeeds |
No description. |
assignTags |
No description. |
copy |
Returns an independent, deep copy object of this job. |
extendName |
This method is used by gcix.JobCollection s to populate the jobs name. |
extendStage |
This method is used by gcix.JobCollection s to populate the jobs name and stage. |
extendStageValue |
This method is used by gcix.JobCollection s to populate the jobs stage. |
getAllInstanceNames |
Return all instance names from the given child. |
isEqual |
isEqual checks if this object is equal to given object. |
prependRules |
No description. |
prependScripts |
No description. |
render |
Returns a representation of any object which implements IBase . |
addDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addParent
¶
This method is called by gcix.JobCollection
s when the job is added to that JobCollection.
The job needs to know its parents when getAllInstanceNames()
is called.
parent
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
addTags
¶
tags
Required ¶
- Type: string[]
addVariables
¶
variables
Required ¶
- Type: {[ key: string ]: string}
appendRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
appendScripts
¶
scripts
Required ¶
- Type: string[]
assignAllowFailure
¶
allowFailure
Required ¶
- Type: boolean | number[]
assignArtifacts
¶
artifacts
Required ¶
- Type: @gcix/gcix.Artifacts
assignCache
¶
cache
Required ¶
- Type: @gcix/gcix.Cache
assignDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignImage
¶
Sets the image of this job.
For a simple container image you can provide the origin of the image. If you want to set the entrypoint, you have to provide an Image object instead.
!! Any previous values will be overwritten.
image
Required ¶
- Type: string | @gcix/gcix.Image
assignNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignTags
¶
tags
Required ¶
- Type: string[]
copy
¶
Returns an independent, deep copy object of this job.
extendName
¶
This method is used by gcix.JobCollection
s to populate the jobs name.
name
Required ¶
- Type: string
extendStage
¶
This method is used by gcix.JobCollection
s to populate the jobs name and stage.
stage
Required ¶
- Type: string
extendStageValue
¶
This method is used by gcix.JobCollection
s to populate the jobs stage.
stage
Required ¶
- Type: string
getAllInstanceNames
¶
Return all instance names from the given child.
That means all combinations of the childs name and stage within this sequence and all parent sequences.
child
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
isEqual
¶
isEqual
checks if this
object is equal to given object.
comparable
Required ¶
- Type: @gcix/gcix.IBase
prependRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
prependScripts
¶
scripts
Required ¶
- Type: string[]
render
¶
Returns a representation of any object which implements IBase
.
The rendered representation is used by the gcix
to dump it
in YAML format as part of the .gitlab-ci.yml
pipeline.
Properties ¶
Name | Type | Description |
---|---|---|
tags |
string[] |
Getter method to receive added tags. |
allowFailure |
string | boolean | number[] |
No description. |
name |
string |
No description. |
orderedTags |
@gcix/gcix.OrderedStringSet |
No description. |
parents |
@gcix/gcix.Job | @gcix/gcix.JobCollection[] |
No description. |
scripts |
string[] |
No description. |
stage |
string |
No description. |
artifacts |
@gcix/gcix.Artifacts |
No description. |
cache |
@gcix/gcix.Cache |
No description. |
dependencies |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
image |
@gcix/gcix.Image |
No description. |
needs |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
original |
@gcix/gcix.Job |
No description. |
rules |
@gcix/gcix.Rule[] |
No description. |
variables |
{[ key: string ]: string} |
No description. |
stacks |
string[] |
An array of stack names for which to generate a diff. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for the diff. |
diffOptions |
string |
Optional diff options to customize the diff process. |
jobName |
string |
An optional name for the Diff job. |
jobStage |
string |
An optional stage for the Diff job. |
tags
Required ¶
- Type: string[]
Getter method to receive added tags.
allowFailure
Required ¶
- Type: string | boolean | number[]
name
Required ¶
- Type: string
orderedTags
Required ¶
- Type: @gcix/gcix.OrderedStringSet
parents
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection[]
scripts
Required ¶
- Type: string[]
stage
Required ¶
- Type: string
artifacts
Optional ¶
- Type: @gcix/gcix.Artifacts
cache
Optional ¶
- Type: @gcix/gcix.Cache
dependencies
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
image
Optional ¶
- Type: @gcix/gcix.Image
needs
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
original
Optional ¶
- Type: @gcix/gcix.Job
rules
Optional ¶
- Type: @gcix/gcix.Rule[]
variables
Optional ¶
- Type: {[ key: string ]: string}
stacks
Required ¶
- Type: string[]
An array of stack names for which to generate a diff.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for the diff.
diffOptions
Optional ¶
- Type: string
Optional diff options to customize the diff process.
jobName
Optional ¶
- Type: string
An optional name for the Diff job.
jobStage
Optional ¶
- Type: string
An optional stage for the Diff job.
CdkDiffDeploy ¶
- Implements: ICdkDiffDeploy
A class that manages the configuration and execution of combined Diff and Deploy operations.
Inherits from the base JobCollection class and implements the IDiffDeploy interface.
Initializers ¶
Name | Type | Description |
---|---|---|
props |
CdkDiffDeployProps |
- Configuration properties for the DiffDeploy job collection. |
props
Required ¶
- Type: CdkDiffDeployProps
Configuration properties for the DiffDeploy job collection.
Methods ¶
Name | Description |
---|---|
addChildren |
Add gcix.Job s or other gcix.JobCollection s to this JobCollection. |
addDependencies |
No description. |
addNeeds |
No description. |
addParent |
No description. |
addTags |
No description. |
addVariables |
No description. |
appendRules |
No description. |
appendScripts |
No description. |
assignArtifacts |
No description. |
assignCache |
No description. |
getAllInstanceNames |
Return all instance names from the given child. |
initializeAllowFailure |
Calling gcix.Job.assignAllowFailure() to all jobs within this JobCollection that haven't been set the allowFailure before. |
initializeArtifacts |
Sets gcix.Job.artifacts to all jobs within this JobCollection that haven't been set the artifacs before. |
initializeCache |
Calling gcix.Job.assigneCache() to all jobs within this JobCollection that haven't been set the cache before. |
initializeDependencies |
Calling gcix.Job.assignDependencies() to all jobs within the first stage of this JobCollection that haven't been added dependencies before. |
initializeImage |
Calling gcix.Job.assignImage() to all jobs within this JobCollection. |
initializeNeeds |
Calling gcix.Job.assignNeeds() to all jobs within the first stage of this JobCollection that haven't been added needs before. |
initializeRules |
Calling gcix.Job.append_rules() to all jobs within this JobCollection that haven't been added rules before. |
initializeTags |
Calling gcix.Job.addTags([...]) to all jobs within this JobCollection that haven't been added tags before. |
initializeVariables |
Calling gcix.Job.addVariables({...}) to all jobs within this JobCollection that haven't been added variables before. |
isEqual |
isEqual checks if this object is equal to given object. |
overrideAllowFailure |
Calling gcix.Job.assignAllowFailure() to all jobs within this JobCollection overriding any previous set value. |
overrideDependencies |
Calling gcix.Job.assignDependencies() to all jobs within the first stage of this JobCollection and overriding any previously added dependencies to that jobs. |
overrideImage |
Calling gcix.Job.assignImage() to all jobs within this JobCollection overriding any previous set value. |
overrideNeeds |
Calling gcix.Job.assignNeeds() to all jobs within the first stage of this JobCollection and overriding any previously added needs to that jobs. |
overrideRules |
Calling gcix.Job.overrideRules() to all jobs within this JobCollection and overriding any previously added rules to that jobs. |
overrideTags |
Calling gcix.Job.addTags([...]) to all jobs within this JobCollection and overriding any previously added tags to that jobs. |
overrideVariables |
Calling gcix.Job.addVariables({...}) to all jobs within this JobCollection and overriding any previously added variables to that jobs. |
prependRules |
No description. |
prependScripts |
No description. |
render |
Returns a representation of any object which implements IBase . |
addChildren
¶
Add gcix.Job
s or other gcix.JobCollection
s to this JobCollection.
Adding a child creates a copy of that child. You should provide a name or stage when adding children, to make them different from other places where they will be used.
props
Required ¶
- Type: @gcix/gcix.AddChildrenProps
addDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addParent
¶
parent
Required ¶
- Type: @gcix/gcix.JobCollection
addTags
¶
tags
Required ¶
- Type: string[]
addVariables
¶
variables
Required ¶
- Type: {[ key: string ]: string}
appendRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
appendScripts
¶
scripts
Required ¶
- Type: string[]
assignArtifacts
¶
artifacts
Required ¶
- Type: @gcix/gcix.Artifacts
assignCache
¶
cache
Required ¶
- Type: @gcix/gcix.Cache
getAllInstanceNames
¶
Return all instance names from the given child.
That means all combinations of the childs name and stage within this JobCollection and all parent JobCollection's.
child
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
initializeAllowFailure
¶
Calling gcix.Job.assignAllowFailure()
to all jobs within this JobCollection that haven't been set the allowFailure before.
allowFailure
Required ¶
- Type: boolean | number[]
initializeArtifacts
¶
Sets gcix.Job.artifacts
to all jobs within this JobCollection that haven't been set the artifacs before.
artifacts
Required ¶
- Type: @gcix/gcix.Artifacts
initializeCache
¶
Calling gcix.Job.assigneCache()
to all jobs within this JobCollection that haven't been set the cache before.
cache
Required ¶
- Type: @gcix/gcix.Cache
initializeDependencies
¶
Calling gcix.Job.assignDependencies()
to all jobs within the first stage of this JobCollection that haven't been added dependencies before.
An empty parameter list means that jobs will get an empty dependency list and thus does not download artifacts by default.
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
initializeImage
¶
Calling gcix.Job.assignImage()
to all jobs within this JobCollection.
image
Required ¶
- Type: string | @gcix/gcix.Image
initializeNeeds
¶
Calling gcix.Job.assignNeeds()
to all jobs within the first stage of this JobCollection that haven't been added needs before.
An empty parameter list means that jobs will get an empty dependency list and thus does not depend on other jobs by default.
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
initializeRules
¶
Calling gcix.Job.append_rules()
to all jobs within this JobCollection that haven't been added rules before.
rules
Required ¶
- Type: @gcix/gcix.Rule[]
initializeTags
¶
Calling gcix.Job.addTags([...])
to all jobs within this JobCollection that haven't been added tags before.
tags
Required ¶
- Type: string[]
initializeVariables
¶
Calling gcix.Job.addVariables({...})
to all jobs within this JobCollection that haven't been added variables before.
variables
Required ¶
- Type: {[ key: string ]: string}
isEqual
¶
isEqual
checks if this
object is equal to given object.
comparable
Required ¶
- Type: @gcix/gcix.IBase
overrideAllowFailure
¶
Calling gcix.Job.assignAllowFailure()
to all jobs within this JobCollection overriding any previous set value.
allowFailure
Required ¶
- Type: boolean | number[]
overrideDependencies
¶
Calling gcix.Job.assignDependencies()
to all jobs within the first stage of this JobCollection and overriding any previously added dependencies to that jobs.
An empty parameter list means that jobs will get an empty dependency list and thus does not download artifacts.
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
overrideImage
¶
Calling gcix.Job.assignImage()
to all jobs within this JobCollection overriding any previous set value.
image
Required ¶
- Type: string | @gcix/gcix.Image
overrideNeeds
¶
Calling gcix.Job.assignNeeds()
to all jobs within the first stage of this JobCollection and overriding any previously added needs to that jobs.
An empty parameter list means that jobs will get an empty dependency list and thus does not depend on other jobs.
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
overrideRules
¶
Calling gcix.Job.overrideRules()
to all jobs within this JobCollection and overriding any previously added rules to that jobs.
rules
Required ¶
- Type: @gcix/gcix.Rule[]
overrideTags
¶
Calling gcix.Job.addTags([...])
to all jobs within this JobCollection and overriding any previously added tags to that jobs.
tags
Required ¶
- Type: string[]
overrideVariables
¶
Calling gcix.Job.addVariables({...})
to all jobs within this JobCollection and overriding any previously added variables to that jobs.
variables
Required ¶
- Type: {[ key: string ]: string}
prependRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
prependScripts
¶
scripts
Required ¶
- Type: string[]
render
¶
Returns a representation of any object which implements IBase
.
The rendered representation is used by the gcix
to dump it
in YAML format as part of the .gitlab-ci.yml
pipeline.
Properties ¶
Name | Type | Description |
---|---|---|
lastJobsExecuted |
@gcix/gcix.Job[] |
This property returns all Jobs from the last stage of this JobCollection. |
nestedJobs |
@gcix/gcix.Job[] |
No description. |
populatedJobs |
@gcix/gcix.Job[] |
Returns a list with populated copies of all nested jobs of this JobCollection. |
children |
@gcix/gcix.ChildDict[] |
No description. |
orderedTags |
@gcix/gcix.OrderedStringSet |
No description. |
orderedTagsForInitialization |
@gcix/gcix.OrderedStringSet |
No description. |
orderedTagsForReplacement |
@gcix/gcix.OrderedStringSet |
No description. |
parents |
@gcix/gcix.Job | @gcix/gcix.JobCollection[] |
No description. |
allowFailureForInitialization |
string | boolean | number[] |
No description. |
allowFailureForReplacement |
string | boolean | number[] |
No description. |
artifacts |
@gcix/gcix.Artifacts |
No description. |
artifactsForInitialization |
@gcix/gcix.Artifacts |
No description. |
artifactsForReplacement |
@gcix/gcix.Artifacts |
No description. |
cache |
@gcix/gcix.Cache |
No description. |
cacheForInitialization |
@gcix/gcix.Cache |
No description. |
dependencies |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
dependenciesForInitialization |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
dependenciesForReplacement |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
imageForInitialization |
string | @gcix/gcix.Image |
No description. |
imageForReplacement |
string | @gcix/gcix.Image |
No description. |
needs |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
needsForInitialization |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
needsForReplacement |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
rulesForInitialization |
@gcix/gcix.Rule[] |
No description. |
rulesForReplacement |
@gcix/gcix.Rule[] |
No description. |
rulesToAppend |
@gcix/gcix.Rule[] |
No description. |
rulesToPrepend |
@gcix/gcix.Rule[] |
No description. |
scriptsToAppend |
string[] |
No description. |
scriptsToPrepend |
string[] |
No description. |
variables |
{[ key: string ]: string} |
No description. |
variablesForInitialization |
{[ key: string ]: string} |
No description. |
variablesForReplacement |
{[ key: string ]: string} |
No description. |
deployJob |
CdkDeploy |
The instance of the Deploy job associated with this DiffDeploy instance. |
diffJob |
CdkDiff |
The instance of the Diff job associated with this DiffDeploy instance. |
stacks |
string[] |
An array of stack names for which to generate a diff and perform deployment. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for the diff and deployment. |
lastJobsExecuted
Required ¶
- Type: @gcix/gcix.Job[]
This property returns all Jobs from the last stage of this JobCollection.
This is typically be requested from a job which has setup this JobCollection as need, to determine all actual jobs of this JobCollection as need.
nestedJobs
Required ¶
- Type: @gcix/gcix.Job[]
populatedJobs
Required ¶
- Type: @gcix/gcix.Job[]
Returns a list with populated copies of all nested jobs of this JobCollection.
Populated means, that all attributes of a Job which depends on its context are resolved to their final values. The context is primarily the JobCollection within the jobs resides but also dependencies to other jobs and JobCollection's. Thus this JobCollection will apply its own configuration, like variables to add, tags to set, etc., to all its jobs and JobCollection's.
Copies means what it says, that the returned job are not the same job objects, originally added to this JobCollection, but copies of them.
Nested means, that also jobs from JobCollection's within this JobCollection, are returned, as well as jobs from JobCollection's within JobCollection's within this JobCollection and so on.
children
Required ¶
- Type: @gcix/gcix.ChildDict[]
orderedTags
Required ¶
- Type: @gcix/gcix.OrderedStringSet
orderedTagsForInitialization
Required ¶
- Type: @gcix/gcix.OrderedStringSet
orderedTagsForReplacement
Required ¶
- Type: @gcix/gcix.OrderedStringSet
parents
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection[]
allowFailureForInitialization
Optional ¶
- Type: string | boolean | number[]
allowFailureForReplacement
Optional ¶
- Type: string | boolean | number[]
artifacts
Optional ¶
- Type: @gcix/gcix.Artifacts
artifactsForInitialization
Optional ¶
- Type: @gcix/gcix.Artifacts
artifactsForReplacement
Optional ¶
- Type: @gcix/gcix.Artifacts
cache
Optional ¶
- Type: @gcix/gcix.Cache
cacheForInitialization
Optional ¶
- Type: @gcix/gcix.Cache
dependencies
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
dependenciesForInitialization
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
dependenciesForReplacement
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
imageForInitialization
Optional ¶
- Type: string | @gcix/gcix.Image
imageForReplacement
Optional ¶
- Type: string | @gcix/gcix.Image
needs
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
needsForInitialization
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
needsForReplacement
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
rulesForInitialization
Optional ¶
- Type: @gcix/gcix.Rule[]
rulesForReplacement
Optional ¶
- Type: @gcix/gcix.Rule[]
rulesToAppend
Optional ¶
- Type: @gcix/gcix.Rule[]
rulesToPrepend
Optional ¶
- Type: @gcix/gcix.Rule[]
scriptsToAppend
Optional ¶
- Type: string[]
scriptsToPrepend
Optional ¶
- Type: string[]
variables
Optional ¶
- Type: {[ key: string ]: string}
variablesForInitialization
Optional ¶
- Type: {[ key: string ]: string}
variablesForReplacement
Optional ¶
- Type: {[ key: string ]: string}
deployJob
Required ¶
- Type: CdkDeploy
The instance of the Deploy job associated with this DiffDeploy instance.
diffJob
Required ¶
- Type: CdkDiff
The instance of the Diff job associated with this DiffDeploy instance.
stacks
Required ¶
- Type: string[]
An array of stack names for which to generate a diff and perform deployment.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for the diff and deployment.
CdkMirrorToCodecommit ¶
- Implements: ICdkMirrorToCodecommit
This job clones the CI_COMMIT_REF_NAME of the current repository and forcefully pushes this REF to a AWS CodeCommit repository.
This job requires following IAM permissions:
- codecommit:CreateRepository
- codecommit:GetRepository
- codecommit:CreateBranch
- codecommit:GitPush
- codecommit:TagResource
You could also limit the resource to !Sub arn:aws:codecommit:${AWS::Region}:${AWS::AccountId}:<repository-name>
.
Initializers ¶
Name | Type | Description |
---|---|---|
props |
CdkMirrorToCodecommitProps |
No description. |
props
Required ¶
Methods ¶
Name | Description |
---|---|
addDependencies |
No description. |
addNeeds |
No description. |
addParent |
This method is called by gcix.JobCollection s when the job is added to that JobCollection. |
addTags |
No description. |
addVariables |
No description. |
appendRules |
No description. |
appendScripts |
No description. |
assignAllowFailure |
No description. |
assignArtifacts |
No description. |
assignCache |
No description. |
assignDependencies |
No description. |
assignImage |
Sets the image of this job. |
assignNeeds |
No description. |
assignTags |
No description. |
copy |
Returns an independent, deep copy object of this job. |
extendName |
This method is used by gcix.JobCollection s to populate the jobs name. |
extendStage |
This method is used by gcix.JobCollection s to populate the jobs name and stage. |
extendStageValue |
This method is used by gcix.JobCollection s to populate the jobs stage. |
getAllInstanceNames |
Return all instance names from the given child. |
isEqual |
isEqual checks if this object is equal to given object. |
prependRules |
No description. |
prependScripts |
No description. |
render |
Returns a representation of any object which implements IBase . |
addDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
addParent
¶
This method is called by gcix.JobCollection
s when the job is added to that JobCollection.
The job needs to know its parents when getAllInstanceNames()
is called.
parent
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
addTags
¶
tags
Required ¶
- Type: string[]
addVariables
¶
variables
Required ¶
- Type: {[ key: string ]: string}
appendRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
appendScripts
¶
scripts
Required ¶
- Type: string[]
assignAllowFailure
¶
allowFailure
Required ¶
- Type: boolean | number[]
assignArtifacts
¶
artifacts
Required ¶
- Type: @gcix/gcix.Artifacts
assignCache
¶
cache
Required ¶
- Type: @gcix/gcix.Cache
assignDependencies
¶
dependencies
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignImage
¶
Sets the image of this job.
For a simple container image you can provide the origin of the image. If you want to set the entrypoint, you have to provide an Image object instead.
!! Any previous values will be overwritten.
image
Required ¶
- Type: string | @gcix/gcix.Image
assignNeeds
¶
needs
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
assignTags
¶
tags
Required ¶
- Type: string[]
copy
¶
Returns an independent, deep copy object of this job.
extendName
¶
This method is used by gcix.JobCollection
s to populate the jobs name.
name
Required ¶
- Type: string
extendStage
¶
This method is used by gcix.JobCollection
s to populate the jobs name and stage.
stage
Required ¶
- Type: string
extendStageValue
¶
This method is used by gcix.JobCollection
s to populate the jobs stage.
stage
Required ¶
- Type: string
getAllInstanceNames
¶
Return all instance names from the given child.
That means all combinations of the childs name and stage within this sequence and all parent sequences.
child
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection
isEqual
¶
isEqual
checks if this
object is equal to given object.
comparable
Required ¶
- Type: @gcix/gcix.IBase
prependRules
¶
rules
Required ¶
- Type: @gcix/gcix.Rule[]
prependScripts
¶
scripts
Required ¶
- Type: string[]
render
¶
Returns a representation of any object which implements IBase
.
The rendered representation is used by the gcix
to dump it
in YAML format as part of the .gitlab-ci.yml
pipeline.
Properties ¶
Name | Type | Description |
---|---|---|
tags |
string[] |
Getter method to receive added tags. |
allowFailure |
string | boolean | number[] |
No description. |
name |
string |
No description. |
orderedTags |
@gcix/gcix.OrderedStringSet |
No description. |
parents |
@gcix/gcix.Job | @gcix/gcix.JobCollection[] |
No description. |
scripts |
string[] |
No description. |
stage |
string |
No description. |
artifacts |
@gcix/gcix.Artifacts |
No description. |
cache |
@gcix/gcix.Cache |
No description. |
dependencies |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
image |
@gcix/gcix.Image |
No description. |
needs |
@gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[] |
No description. |
original |
@gcix/gcix.Job |
No description. |
rules |
@gcix/gcix.Rule[] |
No description. |
variables |
{[ key: string ]: string} |
No description. |
gitConfigUserEmail |
string |
The 'user.email' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_EMAIL. |
gitConfigUserName |
string |
The 'user.name' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_NAME. |
remoteRepository |
string |
The git repository the code of the pipelines repository should be mirrored to. |
scriptHook |
string[] |
This list of strings could contain any commands that should be executed between pulling the current repository and pushing it to the remote. |
privateKeyVariable |
string |
DO NOT PROVIDE YOUR PRIVATE SSH KEY HERE!!! This parameter takes the name of the Gitlab environment variable, which contains the private ssh key used to push to the remote repository. This one should be created as protected and masked variable in the 'CI/CD' settings of your project. |
runOnlyForRepositoryUrl |
string |
When mirroring to a remote Gitlab instance, you don't want to run this mirroring job there again. |
repositoryName |
string |
The name of the target Codecommit repository. |
awsRegion |
string |
The AWS region you want to operate in. |
infrastructureTags |
string |
Only if the ECR would be created on the first call, these AWS Tags becomes applied to the AWS Codecommit resource. |
mirrorOpts |
@gcix/gcix.git.GitMirrorProps |
No description. |
tags
Required ¶
- Type: string[]
Getter method to receive added tags.
allowFailure
Required ¶
- Type: string | boolean | number[]
name
Required ¶
- Type: string
orderedTags
Required ¶
- Type: @gcix/gcix.OrderedStringSet
parents
Required ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection[]
scripts
Required ¶
- Type: string[]
stage
Required ¶
- Type: string
artifacts
Optional ¶
- Type: @gcix/gcix.Artifacts
cache
Optional ¶
- Type: @gcix/gcix.Cache
dependencies
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
image
Optional ¶
- Type: @gcix/gcix.Image
needs
Optional ¶
- Type: @gcix/gcix.Job | @gcix/gcix.JobCollection | @gcix/gcix.Need[]
original
Optional ¶
- Type: @gcix/gcix.Job
rules
Optional ¶
- Type: @gcix/gcix.Rule[]
variables
Optional ¶
- Type: {[ key: string ]: string}
gitConfigUserEmail
Required ¶
- Type: string
The 'user.email' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_EMAIL.
gitConfigUserName
Required ¶
- Type: string
The 'user.name' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_NAME.
remoteRepository
Required ¶
- Type: string
The git repository the code of the pipelines repository should be mirrored to.
scriptHook
Required ¶
- Type: string[]
This list of strings could contain any commands that should be executed between pulling the current repository and pushing it to the remote.
This hook is mostly meant to be for git configuration commands, required to push to the remote repository.
privateKeyVariable
Optional ¶
- Type: string
DO NOT PROVIDE YOUR PRIVATE SSH KEY HERE!!! This parameter takes the name of the Gitlab environment variable, which contains the private ssh key used to push to the remote repository. This one should be created as protected and masked variable in the 'CI/CD' settings of your project.
runOnlyForRepositoryUrl
Optional ¶
- Type: string
When mirroring to a remote Gitlab instance, you don't want to run this mirroring job there again.
With this variable the job only runs, when its value matches the CI_REPOSITORY_URL of the current repository.
repositoryName
Required ¶
- Type: string
The name of the target Codecommit repository.
awsRegion
Optional ¶
- Type: string
The AWS region you want to operate in.
When not set, it would be curl'ed from the current EC2 instance metadata.
infrastructureTags
Optional ¶
- Type: string
Only if the ECR would be created on the first call, these AWS Tags becomes applied to the AWS Codecommit resource.
Changed values won't
change the tags on an already existing ECR. This string must have the
pattern: Tag1=Value1,Tag2=Value2
mirrorOpts
Optional ¶
- Type: @gcix/gcix.git.GitMirrorProps
Protocols ¶
ICdkBootstrap ¶
- Implemented By: CdkBootstrap, ICdkBootstrap
Represents the interface that a Bootstrap instance adheres to.
Properties ¶
Name | Type | Description |
---|---|---|
awsAccountId |
string |
The AWS account ID associated with the Bootstrap configuration. |
awsRegion |
string |
The AWS region in which the Bootstrap will be performed. |
jobName |
string |
The name of the Bootstrap job. |
jobStage |
string |
The stage of the Bootstrap job. |
qualifier |
string |
The qualifier applied to the Bootstrap. |
toolkitStackName |
string |
The name of the toolkit stack used for Bootstrap. |
resourceTags |
{[ key: string ]: string} |
Optional resource tags that can be applied during Bootstrap. |
awsAccountId
Required ¶
- Type: string
The AWS account ID associated with the Bootstrap configuration.
awsRegion
Required ¶
- Type: string
The AWS region in which the Bootstrap will be performed.
jobName
Required ¶
- Type: string
The name of the Bootstrap job.
jobStage
Required ¶
- Type: string
The stage of the Bootstrap job.
qualifier
Required ¶
- Type: string
The qualifier applied to the Bootstrap.
toolkitStackName
Required ¶
- Type: string
The name of the toolkit stack used for Bootstrap.
resourceTags
Optional ¶
- Type: {[ key: string ]: string}
Optional resource tags that can be applied during Bootstrap.
ICdkDeploy ¶
- Implemented By: CdkDeploy, ICdkDeploy
Represents the interface that a Deploy instance adheres to.
Properties ¶
Name | Type | Description |
---|---|---|
stacks |
string[] |
An array of stack names to be deployed. |
strict |
boolean |
Flag indicating if strict deployment mode is enabled. |
waitForStack |
boolean |
Flag indicating if the deployment should wait for stack completion. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for deployment. |
deployOptions |
string |
Optional deployment options. |
jobName |
string |
An optional name for the Deploy job. |
jobStage |
string |
An optional stage for the Deploy job. |
toolkitStackName |
string |
Optional toolkit stack name used for deployment. |
waitForStackAccountId |
string |
AWS account ID for stack waiting. |
waitForStackAssumeRole |
string |
AWS assume role for stack waiting. |
stacks
Required ¶
- Type: string[]
An array of stack names to be deployed.
strict
Required ¶
- Type: boolean
Flag indicating if strict deployment mode is enabled.
waitForStack
Required ¶
- Type: boolean
Flag indicating if the deployment should wait for stack completion.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for deployment.
deployOptions
Optional ¶
- Type: string
Optional deployment options.
jobName
Optional ¶
- Type: string
An optional name for the Deploy job.
jobStage
Optional ¶
- Type: string
An optional stage for the Deploy job.
toolkitStackName
Optional ¶
- Type: string
Optional toolkit stack name used for deployment.
waitForStackAccountId
Optional ¶
- Type: string
AWS account ID for stack waiting.
waitForStackAssumeRole
Optional ¶
- Type: string
AWS assume role for stack waiting.
ICdkDiff ¶
Represents the interface that a Diff instance adheres to.
Properties ¶
Name | Type | Description |
---|---|---|
stacks |
string[] |
An array of stack names for which to generate a diff. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for the diff. |
diffOptions |
string |
Optional diff options to customize the diff process. |
jobName |
string |
An optional name for the Diff job. |
jobStage |
string |
An optional stage for the Diff job. |
stacks
Required ¶
- Type: string[]
An array of stack names for which to generate a diff.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for the diff.
diffOptions
Optional ¶
- Type: string
Optional diff options to customize the diff process.
jobName
Optional ¶
- Type: string
An optional name for the Diff job.
jobStage
Optional ¶
- Type: string
An optional stage for the Diff job.
ICdkDiffDeploy ¶
- Implemented By: CdkDiffDeploy, ICdkDiffDeploy
Represents the interface that a DiffDeploy instance adheres to.
Properties ¶
Name | Type | Description |
---|---|---|
deployJob |
CdkDeploy |
The instance of the Deploy job associated with this DiffDeploy instance. |
diffJob |
CdkDiff |
The instance of the Diff job associated with this DiffDeploy instance. |
stacks |
string[] |
An array of stack names for which to generate a diff and perform deployment. |
context |
{[ key: string ]: string} |
Optional context values to provide additional information for the diff and deployment. |
deployJob
Required ¶
- Type: CdkDeploy
The instance of the Deploy job associated with this DiffDeploy instance.
diffJob
Required ¶
- Type: CdkDiff
The instance of the Diff job associated with this DiffDeploy instance.
stacks
Required ¶
- Type: string[]
An array of stack names for which to generate a diff and perform deployment.
context
Optional ¶
- Type: {[ key: string ]: string}
Optional context values to provide additional information for the diff and deployment.
ICdkMirrorToCodecommit ¶
-
Extends: @gcix/gcix.git.IGitMirror
-
Implemented By: CdkMirrorToCodecommit, ICdkMirrorToCodecommit
Properties ¶
Name | Type | Description |
---|---|---|
gitConfigUserEmail |
string |
The 'user.email' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_EMAIL. |
gitConfigUserName |
string |
The 'user.name' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_NAME. |
remoteRepository |
string |
The git repository the code of the pipelines repository should be mirrored to. |
scriptHook |
string[] |
This list of strings could contain any commands that should be executed between pulling the current repository and pushing it to the remote. |
privateKeyVariable |
string |
DO NOT PROVIDE YOUR PRIVATE SSH KEY HERE!!! This parameter takes the name of the Gitlab environment variable, which contains the private ssh key used to push to the remote repository. This one should be created as protected and masked variable in the 'CI/CD' settings of your project. |
runOnlyForRepositoryUrl |
string |
When mirroring to a remote Gitlab instance, you don't want to run this mirroring job there again. |
repositoryName |
string |
The name of the target Codecommit repository. |
awsRegion |
string |
The AWS region you want to operate in. |
infrastructureTags |
string |
Only if the ECR would be created on the first call, these AWS Tags becomes applied to the AWS Codecommit resource. |
gitConfigUserEmail
Required ¶
- Type: string
The 'user.email' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_EMAIL.
gitConfigUserName
Required ¶
- Type: string
The 'user.name' with which the commits to the remote repository should be made. Defaults to GITLAB_USER_NAME.
remoteRepository
Required ¶
- Type: string
The git repository the code of the pipelines repository should be mirrored to.
scriptHook
Required ¶
- Type: string[]
This list of strings could contain any commands that should be executed between pulling the current repository and pushing it to the remote.
This hook is mostly meant to be for git configuration commands, required to push to the remote repository.
privateKeyVariable
Optional ¶
- Type: string
DO NOT PROVIDE YOUR PRIVATE SSH KEY HERE!!! This parameter takes the name of the Gitlab environment variable, which contains the private ssh key used to push to the remote repository. This one should be created as protected and masked variable in the 'CI/CD' settings of your project.
runOnlyForRepositoryUrl
Optional ¶
- Type: string
When mirroring to a remote Gitlab instance, you don't want to run this mirroring job there again.
With this variable the job only runs, when its value matches the CI_REPOSITORY_URL of the current repository.
repositoryName
Required ¶
- Type: string
- Default: CI_PROJECT_PATH_SLUG.
The name of the target Codecommit repository.
awsRegion
Optional ¶
- Type: string
The AWS region you want to operate in.
When not set, it would be curl'ed from the current EC2 instance metadata.
infrastructureTags
Optional ¶
- Type: string
Only if the ECR would be created on the first call, these AWS Tags becomes applied to the AWS Codecommit resource.
Changed values won't
change the tags on an already existing ECR. This string must have the
pattern: Tag1=Value1,Tag2=Value2