@spinnaker/amazon 0.0.0-2025.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4365 -0
- package/LICENSE.txt +203 -0
- package/dist/amazon.logo352d4e042476837f.svg +503 -0
- package/dist/aws.module.d.ts +5 -0
- package/dist/aws.settings.d.ts +59 -0
- package/dist/aws.validators.d.ts +7 -0
- package/dist/certificates/AmazonCertificateReader.d.ts +6 -0
- package/dist/certificates/index.d.ts +1 -0
- package/dist/common/AwsModalFooter.d.ts +21 -0
- package/dist/common/common.module.d.ts +1 -0
- package/dist/common/footer.component.d.ts +1 -0
- package/dist/common/index.d.ts +1 -0
- package/dist/deploymentStrategy/AdditionalFields.d.ts +10 -0
- package/dist/deploymentStrategy/rollingPush.strategy.d.ts +10 -0
- package/dist/domain/IAmazonBlockDeviceMapping.d.ts +15 -0
- package/dist/domain/IAmazonCertificate.d.ts +5 -0
- package/dist/domain/IAmazonFunction.d.ts +65 -0
- package/dist/domain/IAmazonFunctionSourceData.d.ts +46 -0
- package/dist/domain/IAmazonHealth.d.ts +11 -0
- package/dist/domain/IAmazonInstance.d.ts +24 -0
- package/dist/domain/IAmazonLaunchTemplate.d.ts +91 -0
- package/dist/domain/IAmazonLoadBalancer.d.ts +230 -0
- package/dist/domain/IAmazonLoadBalancerSourceData.d.ts +170 -0
- package/dist/domain/IAmazonScalingPolicy.d.ts +22 -0
- package/dist/domain/IAmazonSecurityGroup.d.ts +4 -0
- package/dist/domain/IAmazonServerGroup.d.ts +67 -0
- package/dist/domain/IKeyPair.d.ts +6 -0
- package/dist/domain/IScalingPolicy.d.ts +44 -0
- package/dist/domain/IScalingProcess.d.ts +10 -0
- package/dist/domain/ITargetTrackingPolicy.d.ts +22 -0
- package/dist/domain/index.d.ts +15 -0
- package/dist/function/CreateLambdaFunction.d.ts +25 -0
- package/dist/function/configure/ExecutionRole.d.ts +15 -0
- package/dist/function/configure/FunctionBasicInformation.d.ts +26 -0
- package/dist/function/configure/FunctionDebugAndErrorHandling.d.ts +15 -0
- package/dist/function/configure/FunctionEnvironmentVariables.d.ts +14 -0
- package/dist/function/configure/FunctionSettings.d.ts +14 -0
- package/dist/function/configure/FunctionTags.d.ts +14 -0
- package/dist/function/configure/Network.d.ts +42 -0
- package/dist/function/details/AmazonFunctionDetails.d.ts +19 -0
- package/dist/function/details/FunctionActions.d.ts +20 -0
- package/dist/function/function.module.d.ts +1 -0
- package/dist/function/function.transformer.d.ts +7 -0
- package/dist/function/index.d.ts +5 -0
- package/dist/help/amazon.help.d.ts +1 -0
- package/dist/image/image.reader.d.ts +25 -0
- package/dist/image/index.d.ts +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +20873 -0
- package/dist/index.js.map +1 -0
- package/dist/instance/amazon.instance.write.service.d.ts +15 -0
- package/dist/instance/awsInstanceType.service.d.ts +50 -0
- package/dist/instance/awsInstanceTypes.d.ts +10 -0
- package/dist/instance/details/AmazonInstanceInformation.d.ts +6 -0
- package/dist/instance/details/CostFactor.d.ts +6 -0
- package/dist/instance/details/InstanceDns.d.ts +16 -0
- package/dist/instance/details/InstanceInformation.d.ts +13 -0
- package/dist/instance/details/InstanceSecurityGroups.d.ts +6 -0
- package/dist/instance/details/InstanceStatus.d.ts +16 -0
- package/dist/instance/details/InstanceTags.d.ts +8 -0
- package/dist/instance/details/amazonInstanceInformation.component.d.ts +1 -0
- package/dist/instance/details/instance.details.controller.d.ts +2 -0
- package/dist/instance/details/instanceDns.component.d.ts +1 -0
- package/dist/instance/details/instanceSecurityGroups.component.d.ts +1 -0
- package/dist/instance/details/instanceStatus.component.d.ts +1 -0
- package/dist/instance/details/instanceTags.component.d.ts +1 -0
- package/dist/instance/details/utils.d.ts +3 -0
- package/dist/instance/index.d.ts +5 -0
- package/dist/keyPairs/KeyPairsReader.d.ts +4 -0
- package/dist/keyPairs/index.d.ts +1 -0
- package/dist/loadBalancer/AmazonLoadBalancerClusterContainer.d.ts +6 -0
- package/dist/loadBalancer/AmazonLoadBalancersTag.d.ts +20 -0
- package/dist/loadBalancer/OidcConfigReader.d.ts +16 -0
- package/dist/loadBalancer/TargetGroup.d.ts +12 -0
- package/dist/loadBalancer/TargetGroupDetails.d.ts +7 -0
- package/dist/loadBalancer/amazonLoadBalancerDataUtils.d.ts +6 -0
- package/dist/loadBalancer/configure/AmazonLoadBalancerChoiceModal.d.ts +18 -0
- package/dist/loadBalancer/configure/LoadBalancerTypes.d.ts +14 -0
- package/dist/loadBalancer/configure/application/ALBAdvancedSettings.d.ts +2 -0
- package/dist/loadBalancer/configure/application/ALBListeners.d.ts +59 -0
- package/dist/loadBalancer/configure/application/ConfigureOidcConfigModal.d.ts +20 -0
- package/dist/loadBalancer/configure/application/ConfigureRedirectConfigModal.d.ts +17 -0
- package/dist/loadBalancer/configure/application/CreateApplicationLoadBalancer.d.ts +35 -0
- package/dist/loadBalancer/configure/application/TargetGroups.d.ts +33 -0
- package/dist/loadBalancer/configure/classic/AdvancedSettings.d.ts +10 -0
- package/dist/loadBalancer/configure/classic/CreateClassicLoadBalancer.d.ts +33 -0
- package/dist/loadBalancer/configure/classic/HealthCheck.d.ts +11 -0
- package/dist/loadBalancer/configure/classic/Listeners.d.ts +34 -0
- package/dist/loadBalancer/configure/common/AmazonCertificateSelectField.d.ts +15 -0
- package/dist/loadBalancer/configure/common/LoadBalancerLocation.d.ts +48 -0
- package/dist/loadBalancer/configure/common/SecurityGroups.d.ts +36 -0
- package/dist/loadBalancer/configure/common/targetGroupValidators.d.ts +10 -0
- package/dist/loadBalancer/configure/network/CertificateSelectors.d.ts +3 -0
- package/dist/loadBalancer/configure/network/CreateNetworkLoadBalancer.d.ts +34 -0
- package/dist/loadBalancer/configure/network/NLBAdvancedSettings.d.ts +5 -0
- package/dist/loadBalancer/configure/network/NLBListeners.d.ts +43 -0
- package/dist/loadBalancer/configure/network/TargetGroups.d.ts +34 -0
- package/dist/loadBalancer/details/LoadBalancerActions.d.ts +19 -0
- package/dist/loadBalancer/details/loadBalancerActions.component.d.ts +1 -0
- package/dist/loadBalancer/details/loadBalancerDetails.controller.d.ts +41 -0
- package/dist/loadBalancer/details/targetGroupDetails.controller.d.ts +30 -0
- package/dist/loadBalancer/index.d.ts +9 -0
- package/dist/loadBalancer/loadBalancer.module.d.ts +1 -0
- package/dist/loadBalancer/loadBalancer.transformer.d.ts +17 -0
- package/dist/loadBalancer/targetGroup.states.d.ts +1 -0
- package/dist/pipeline/stages/bake/awsBakeStage.d.ts +2 -0
- package/dist/pipeline/stages/bake/bakeExecutionDetails.controller.d.ts +2 -0
- package/dist/pipeline/stages/cloneServerGroup/awsCloneServerGroupStage.d.ts +2 -0
- package/dist/pipeline/stages/deleteLambda/DeleteLambdaFunctionStageForm.d.ts +3 -0
- package/dist/pipeline/stages/deleteLambda/LambdaDeleteStage.d.ts +8 -0
- package/dist/pipeline/stages/deleteLambda/constants/deleteVersion.constants.d.ts +6 -0
- package/dist/pipeline/stages/deleteLambda/constants/deleteVersion.picker.d.ts +16 -0
- package/dist/pipeline/stages/deleteLambda/constants/index.d.ts +2 -0
- package/dist/pipeline/stages/deleteLambda/index.d.ts +2 -0
- package/dist/pipeline/stages/deployCloudFormation/CloudFormationChangeSetInfo.d.ts +8 -0
- package/dist/pipeline/stages/deployCloudFormation/cloudFormationTemplateEntry.component.d.ts +1 -0
- package/dist/pipeline/stages/deployCloudFormation/deployCloudFormationExecutionDetails.d.ts +7 -0
- package/dist/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.d.ts +25 -0
- package/dist/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.d.ts +1 -0
- package/dist/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecution.service.d.ts +10 -0
- package/dist/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionApproval.d.ts +13 -0
- package/dist/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionDetails.d.ts +7 -0
- package/dist/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionLabel.d.ts +12 -0
- package/dist/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionMarkerIcon.d.ts +6 -0
- package/dist/pipeline/stages/deployLambda/components/AwsLambdaFunctionStageForm.d.ts +3 -0
- package/dist/pipeline/stages/deployLambda/components/BasicSettingsForm.d.ts +3 -0
- package/dist/pipeline/stages/deployLambda/components/EnvironmentForm.d.ts +2 -0
- package/dist/pipeline/stages/deployLambda/components/ExecutionRoleForm.d.ts +2 -0
- package/dist/pipeline/stages/deployLambda/components/LambdaAtEdgeForm.d.ts +3 -0
- package/dist/pipeline/stages/deployLambda/components/NetworkForm.d.ts +3 -0
- package/dist/pipeline/stages/deployLambda/components/TriggerEventsForm.d.ts +3 -0
- package/dist/pipeline/stages/deployLambda/components/function.constants.d.ts +5 -0
- package/dist/pipeline/stages/deployLambda/components/index.d.ts +5 -0
- package/dist/pipeline/stages/deployLambda/config/LambdaDeploymentStage.d.ts +3 -0
- package/dist/pipeline/stages/deployLambda/config/LambdaDeploymentStageConfig.d.ts +4 -0
- package/dist/pipeline/stages/deployLambda/config/LambdaDeploymentStageExecutionDetails.d.ts +6 -0
- package/dist/pipeline/stages/deployLambda/config/UpsertDefaults.d.ts +1 -0
- package/dist/pipeline/stages/deployLambda/config/function.defaults.d.ts +2 -0
- package/dist/pipeline/stages/deployLambda/index.d.ts +2 -0
- package/dist/pipeline/stages/destroyAsg/awsDestroyAsgStage.d.ts +2 -0
- package/dist/pipeline/stages/disableAsg/awsDisableAsgStage.d.ts +2 -0
- package/dist/pipeline/stages/disableCluster/awsDisableClusterStage.d.ts +2 -0
- package/dist/pipeline/stages/enableAsg/awsEnableAsgStage.d.ts +2 -0
- package/dist/pipeline/stages/findAmi/awsFindAmiStage.d.ts +2 -0
- package/dist/pipeline/stages/findImageFromTags/awsFindImageFromTagsStage.d.ts +2 -0
- package/dist/pipeline/stages/invokeLambda/InvokeLambdaFunctionStageForm.d.ts +3 -0
- package/dist/pipeline/stages/invokeLambda/LambdaInvokeStage.d.ts +8 -0
- package/dist/pipeline/stages/invokeLambda/components/InvokeLambdaOperation.d.ts +3 -0
- package/dist/pipeline/stages/invokeLambda/components/index.d.ts +1 -0
- package/dist/pipeline/stages/invokeLambda/index.d.ts +2 -0
- package/dist/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.d.ts +2 -0
- package/dist/pipeline/stages/resizeAsg/awsResizeAsgStage.d.ts +2 -0
- package/dist/pipeline/stages/rollbackCluster/awsRollbackClusterStage.d.ts +2 -0
- package/dist/pipeline/stages/routeLambda/LambdaRouteStage.d.ts +8 -0
- package/dist/pipeline/stages/routeLambda/RouteLambdaFunctionStageForm.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/TriggerEventsForm.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/BlueGreenDeployment/BlueGreenDeploymentForm.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/BlueGreenDeployment/HealthCheckStrategy.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/BlueGreenDeployment/InvocationHealthCheck.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/BlueGreenDeployment/health.constants.d.ts +5 -0
- package/dist/pipeline/stages/routeLambda/components/BlueGreenDeployment/index.d.ts +1 -0
- package/dist/pipeline/stages/routeLambda/components/DeploymentStrategyForm.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/RenderStrategy.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/SimpleDeploymentForm.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/VersionPicker.d.ts +14 -0
- package/dist/pipeline/stages/routeLambda/components/WeightedDeploymentForm.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/components/index.d.ts +1 -0
- package/dist/pipeline/stages/routeLambda/constants/index.d.ts +3 -0
- package/dist/pipeline/stages/routeLambda/constants/strategy.constants.d.ts +6 -0
- package/dist/pipeline/stages/routeLambda/constants/strategy.picker.d.ts +16 -0
- package/dist/pipeline/stages/routeLambda/constants/versions.constants.d.ts +6 -0
- package/dist/pipeline/stages/routeLambda/index.d.ts +2 -0
- package/dist/pipeline/stages/scaleDownCluster/awsScaleDownClusterStage.d.ts +2 -0
- package/dist/pipeline/stages/shrinkCluster/awsShrinkClusterStage.d.ts +2 -0
- package/dist/pipeline/stages/tagImage/awsTagImageStage.d.ts +2 -0
- package/dist/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStage.d.ts +3 -0
- package/dist/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStageConfig.d.ts +5 -0
- package/dist/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStageExecutionDetails.d.ts +6 -0
- package/dist/pipeline/stages/updateCodeLambda/components/UpdateCodeStageForm.d.ts +3 -0
- package/dist/pipeline/stages/updateCodeLambda/components/index.d.ts +1 -0
- package/dist/pipeline/stages/updateCodeLambda/index.d.ts +2 -0
- package/dist/reactShims/aws.react.injector.d.ts +18 -0
- package/dist/reactShims/aws.react.module.d.ts +1 -0
- package/dist/reactShims/index.d.ts +1 -0
- package/dist/search/searchResultFormatter.d.ts +2 -0
- package/dist/securityGroup/clone/cloneSecurityGroup.controller.d.ts +2 -0
- package/dist/securityGroup/configure/CreateSecurityGroupCtrl.d.ts +2 -0
- package/dist/securityGroup/configure/EditSecurityGroupCtrl.d.ts +2 -0
- package/dist/securityGroup/configure/configSecurityGroup.mixin.controller.d.ts +2 -0
- package/dist/securityGroup/configure/ingressRuleGroupSelector.component.d.ts +1 -0
- package/dist/securityGroup/configure/securityGroupDetailsCustom.component.d.ts +1 -0
- package/dist/securityGroup/configure/securityGroupDetailsCustom.d.ts +10 -0
- package/dist/securityGroup/details/IPRangeRules.d.ts +17 -0
- package/dist/securityGroup/details/index.d.ts +1 -0
- package/dist/securityGroup/details/securityGroupDetail.controller.d.ts +2 -0
- package/dist/securityGroup/details/securityGroupIpRangeRules.component.d.ts +1 -0
- package/dist/securityGroup/index.d.ts +1 -0
- package/dist/securityGroup/securityGroup.module.d.ts +1 -0
- package/dist/securityGroup/securityGroup.reader.d.ts +6 -0
- package/dist/securityGroup/securityGroup.transformer.d.ts +2 -0
- package/dist/serverGroup/AvailabilityZoneSelector.d.ts +21 -0
- package/dist/serverGroup/configure/AmazonImageSelectInput.d.ts +44 -0
- package/dist/serverGroup/configure/index.d.ts +5 -0
- package/dist/serverGroup/configure/serverGroupCommandBuilder.service.d.ts +17 -0
- package/dist/serverGroup/configure/serverGroupConfiguration.service.d.ts +126 -0
- package/dist/serverGroup/configure/wizard/AmazonCloneServerGroupModal.d.ts +31 -0
- package/dist/serverGroup/configure/wizard/ServerGroupTemplateSelection.d.ts +15 -0
- package/dist/serverGroup/configure/wizard/capacity/CapacitySelector.d.ts +18 -0
- package/dist/serverGroup/configure/wizard/capacity/MinMaxDesired.d.ts +11 -0
- package/dist/serverGroup/configure/wizard/instanceType/CpuCreditsToggle.d.ts +8 -0
- package/dist/serverGroup/configure/wizard/instanceType/InstanceTypeSelector.d.ts +9 -0
- package/dist/serverGroup/configure/wizard/instanceType/InstanceTypeWarning.d.ts +6 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/AdvancedModeSelector.d.ts +14 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/AmazonInstanceTypeInfoRenderer.d.ts +5 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/InstanceProfileSelector.d.ts +9 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeRow.d.ts +13 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeSelect.d.ts +7 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeTable.d.ts +18 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeTableBody.d.ts +14 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeTableParts.d.ts +17 -0
- package/dist/serverGroup/configure/wizard/instanceType/advancedMode/InstancesDistribution.d.ts +8 -0
- package/dist/serverGroup/configure/wizard/instanceType/simpleMode/SimpleModeSelector.d.ts +9 -0
- package/dist/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.d.ts +32 -0
- package/dist/serverGroup/configure/wizard/pages/ServerGroupCapacity.d.ts +13 -0
- package/dist/serverGroup/configure/wizard/pages/ServerGroupInstanceType.d.ts +22 -0
- package/dist/serverGroup/configure/wizard/pages/ServerGroupLoadBalancers.d.ts +29 -0
- package/dist/serverGroup/configure/wizard/pages/ServerGroupSecurityGroups.d.ts +13 -0
- package/dist/serverGroup/configure/wizard/pages/ServerGroupZones.d.ts +13 -0
- package/dist/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettings.d.ts +13 -0
- package/dist/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsCommon.d.ts +12 -0
- package/dist/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsInner.d.ts +11 -0
- package/dist/serverGroup/configure/wizard/pages/index.d.ts +8 -0
- package/dist/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.d.ts +22 -0
- package/dist/serverGroup/configure/wizard/securityGroups/ServerGroupSecurityGroupsRemoved.d.ts +11 -0
- package/dist/serverGroup/details/AmazonServerGroupActions.d.ts +23 -0
- package/dist/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.controller.d.ts +2 -0
- package/dist/serverGroup/details/amazonServerGroupDetailsGetter.d.ts +4 -0
- package/dist/serverGroup/details/resize/AmazonResizeServerGroupModal.d.ts +47 -0
- package/dist/serverGroup/details/rollback/rollbackServerGroup.controller.d.ts +2 -0
- package/dist/serverGroup/details/scalingPolicy/CreateScalingPolicyButton.d.ts +21 -0
- package/dist/serverGroup/details/scalingPolicy/ScalingPolicySummary.d.ts +9 -0
- package/dist/serverGroup/details/scalingPolicy/ScalingPolicyWriter.d.ts +55 -0
- package/dist/serverGroup/details/scalingPolicy/StepPolicySummary.d.ts +10 -0
- package/dist/serverGroup/details/scalingPolicy/chart/DateLineChart.d.ts +15 -0
- package/dist/serverGroup/details/scalingPolicy/chart/MetricAlarmChart.d.ts +11 -0
- package/dist/serverGroup/details/scalingPolicy/createScalingPolicyButton.component.d.ts +1 -0
- package/dist/serverGroup/details/scalingPolicy/index.d.ts +12 -0
- package/dist/serverGroup/details/scalingPolicy/popover/AlarmSummary.d.ts +12 -0
- package/dist/serverGroup/details/scalingPolicy/popover/StepPolicyPopoverContent.d.ts +7 -0
- package/dist/serverGroup/details/scalingPolicy/scalingPolicy.module.d.ts +1 -0
- package/dist/serverGroup/details/scalingPolicy/scalingPolicySummary.component.d.ts +1 -0
- package/dist/serverGroup/details/scalingPolicy/targetTracking/TargetMetricFields.d.ts +17 -0
- package/dist/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingAdditionalSettings.d.ts +10 -0
- package/dist/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingChart.d.ts +9 -0
- package/dist/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingSummary.d.ts +10 -0
- package/dist/serverGroup/details/scalingPolicy/targetTracking/UpsertTargetTrackingModal.d.ts +9 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/PolicyTypeSelectionModal.d.ts +7 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/ScalingPolicyAdditionalSettings.d.ts +11 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/ScalingPolicyCommandBuilderService.d.ts +11 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/UpsertScalingPolicyModal.d.ts +9 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/alarm/AlarmConfigurer.d.ts +16 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/alarm/DimensionsEditor.d.ts +12 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/alarm/MetricSelector.d.ts +15 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/alarm/namespaces.d.ts +1 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/index.d.ts +7 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/simple/SimplePolicyAction.d.ts +13 -0
- package/dist/serverGroup/details/scalingPolicy/upsert/step/StepPolicyAction.d.ts +18 -0
- package/dist/serverGroup/details/scalingProcesses/AutoScalingProcessService.d.ts +6 -0
- package/dist/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.d.ts +2 -0
- package/dist/serverGroup/details/scheduledAction/ScheduledAction.d.ts +8 -0
- package/dist/serverGroup/details/scheduledAction/editScheduledActions.modal.controller.d.ts +2 -0
- package/dist/serverGroup/details/sections/AdvancedSettingsDetailsSection.d.ts +6 -0
- package/dist/serverGroup/details/sections/AmazonCapacityDetailsSection.d.ts +5 -0
- package/dist/serverGroup/details/sections/AmazonInfoDetailsSection.d.ts +12 -0
- package/dist/serverGroup/details/sections/HealthDetailsSection.d.ts +5 -0
- package/dist/serverGroup/details/sections/IAmazonServerGroupDetailsSectionProps.d.ts +5 -0
- package/dist/serverGroup/details/sections/InstancesDistributionDetailsSection.d.ts +3 -0
- package/dist/serverGroup/details/sections/LaunchConfigDetailsSection.d.ts +11 -0
- package/dist/serverGroup/details/sections/LaunchTemplateDetailsSection.d.ts +3 -0
- package/dist/serverGroup/details/sections/LogsDetailsSection.d.ts +5 -0
- package/dist/serverGroup/details/sections/MultipleInstanceTypesSubSection.d.ts +6 -0
- package/dist/serverGroup/details/sections/PackageDetailsSection.d.ts +12 -0
- package/dist/serverGroup/details/sections/ScalingPoliciesDetailsSection.d.ts +8 -0
- package/dist/serverGroup/details/sections/ScalingProcessesDetailsSection.d.ts +15 -0
- package/dist/serverGroup/details/sections/ScheduledActionsDetailsSection.d.ts +12 -0
- package/dist/serverGroup/details/sections/SecurityGroupsDetailsSection.d.ts +14 -0
- package/dist/serverGroup/details/sections/TagsDetailsSection.d.ts +5 -0
- package/dist/serverGroup/details/sections/index.d.ts +15 -0
- package/dist/serverGroup/details/securityGroup/editSecurityGroups.modal.controller.d.ts +2 -0
- package/dist/serverGroup/details/serverGroupDetails.module.d.ts +1 -0
- package/dist/serverGroup/details/utils.d.ts +1 -0
- package/dist/serverGroup/index.d.ts +5 -0
- package/dist/serverGroup/serverGroup.transformer.d.ts +14 -0
- package/dist/subnet/SubnetSelectField.d.ts +23 -0
- package/dist/subnet/SubnetSelectInput.d.ts +18 -0
- package/dist/subnet/index.d.ts +2 -0
- package/dist/subnet/subnet.renderer.d.ts +5 -0
- package/dist/validation/ApplicationNameValidator.d.ts +1 -0
- package/dist/vpc/VpcReader.d.ts +7 -0
- package/dist/vpc/VpcTag.d.ts +5 -0
- package/dist/vpc/index.d.ts +1 -0
- package/dist/vpc/vpc.module.d.ts +1 -0
- package/package.json +63 -0
- package/src/applicationProviderFields/awsFields.html +13 -0
- package/src/aws.module.ts +211 -0
- package/src/aws.settings.ts +71 -0
- package/src/aws.validators.ts +31 -0
- package/src/certificates/AmazonCertificateReader.ts +24 -0
- package/src/certificates/index.ts +1 -0
- package/src/common/AwsModalFooter.tsx +70 -0
- package/src/common/common.module.ts +6 -0
- package/src/common/footer.component.ts +29 -0
- package/src/common/index.ts +1 -0
- package/src/deploymentStrategy/AdditionalFields.tsx +110 -0
- package/src/deploymentStrategy/rollingPush.strategy.ts +43 -0
- package/src/domain/IAmazonBlockDeviceMapping.ts +16 -0
- package/src/domain/IAmazonCertificate.ts +6 -0
- package/src/domain/IAmazonFunction.ts +64 -0
- package/src/domain/IAmazonFunctionSourceData.ts +45 -0
- package/src/domain/IAmazonHealth.ts +15 -0
- package/src/domain/IAmazonInstance.ts +25 -0
- package/src/domain/IAmazonLaunchTemplate.ts +104 -0
- package/src/domain/IAmazonLoadBalancer.ts +277 -0
- package/src/domain/IAmazonLoadBalancerSourceData.ts +188 -0
- package/src/domain/IAmazonScalingPolicy.ts +26 -0
- package/src/domain/IAmazonSecurityGroup.ts +4 -0
- package/src/domain/IAmazonServerGroup.ts +74 -0
- package/src/domain/IKeyPair.ts +6 -0
- package/src/domain/IScalingPolicy.ts +85 -0
- package/src/domain/IScalingProcess.ts +11 -0
- package/src/domain/ITargetTrackingPolicy.ts +31 -0
- package/src/domain/index.ts +15 -0
- package/src/function/CreateLambdaFunction.tsx +228 -0
- package/src/function/configure/ExecutionRole.tsx +45 -0
- package/src/function/configure/FunctionBasicInformation.tsx +207 -0
- package/src/function/configure/FunctionDebugAndErrorHandling.tsx +49 -0
- package/src/function/configure/FunctionEnvironmentVariables.tsx +42 -0
- package/src/function/configure/FunctionSettings.tsx +43 -0
- package/src/function/configure/FunctionTags.tsx +35 -0
- package/src/function/configure/Network.tsx +260 -0
- package/src/function/details/AmazonFunctionDetails.tsx +198 -0
- package/src/function/details/FunctionActions.spec.tsx +55 -0
- package/src/function/details/FunctionActions.tsx +132 -0
- package/src/function/function.module.ts +5 -0
- package/src/function/function.transformer.ts +71 -0
- package/src/function/index.ts +5 -0
- package/src/help/amazon.help.ts +228 -0
- package/src/image/image.reader.spec.ts +75 -0
- package/src/image/image.reader.ts +44 -0
- package/src/image/index.ts +1 -0
- package/src/index.ts +15 -0
- package/src/instance/amazon.instance.write.service.ts +85 -0
- package/src/instance/awsInstanceType.service.spec.js +380 -0
- package/src/instance/awsInstanceType.service.ts +253 -0
- package/src/instance/awsInstanceTypes.ts +311 -0
- package/src/instance/details/AmazonInstanceInformation.tsx +35 -0
- package/src/instance/details/CostFactor.tsx +29 -0
- package/src/instance/details/InstanceDns.tsx +73 -0
- package/src/instance/details/InstanceInformation.spec.tsx +71 -0
- package/src/instance/details/InstanceInformation.tsx +66 -0
- package/src/instance/details/InstanceSecurityGroups.tsx +45 -0
- package/src/instance/details/InstanceStatus.tsx +92 -0
- package/src/instance/details/InstanceTags.tsx +21 -0
- package/src/instance/details/amazonInstanceInformation.component.ts +13 -0
- package/src/instance/details/instance.details.controller.js +586 -0
- package/src/instance/details/instance.details.controller.spec.js +133 -0
- package/src/instance/details/instanceDetails.html +65 -0
- package/src/instance/details/instanceDns.component.ts +21 -0
- package/src/instance/details/instanceSecurityGroups.component.ts +13 -0
- package/src/instance/details/instanceStatus.component.ts +19 -0
- package/src/instance/details/instanceTags.component.ts +13 -0
- package/src/instance/details/utils.ts +34 -0
- package/src/instance/index.ts +5 -0
- package/src/keyPairs/KeyPairsReader.ts +11 -0
- package/src/keyPairs/index.ts +1 -0
- package/src/loadBalancer/AmazonLoadBalancerClusterContainer.tsx +53 -0
- package/src/loadBalancer/AmazonLoadBalancersTag.tsx +231 -0
- package/src/loadBalancer/OidcConfigReader.ts +21 -0
- package/src/loadBalancer/TargetGroup.tsx +63 -0
- package/src/loadBalancer/TargetGroupDetails.tsx +13 -0
- package/src/loadBalancer/amazonLoadBalancerDataUtils.ts +64 -0
- package/src/loadBalancer/configure/AmazonLoadBalancerChoiceModal.tsx +155 -0
- package/src/loadBalancer/configure/LoadBalancerTypes.ts +42 -0
- package/src/loadBalancer/configure/application/ALBAdvancedSettings.tsx +28 -0
- package/src/loadBalancer/configure/application/ALBListeners.tsx +1023 -0
- package/src/loadBalancer/configure/application/ConfigureConfigModal.css +3 -0
- package/src/loadBalancer/configure/application/ConfigureOidcConfigModal.tsx +140 -0
- package/src/loadBalancer/configure/application/ConfigureRedirectConfigModal.tsx +146 -0
- package/src/loadBalancer/configure/application/CreateApplicationLoadBalancer.tsx +337 -0
- package/src/loadBalancer/configure/application/TargetGroups.tsx +548 -0
- package/src/loadBalancer/configure/classic/AdvancedSettings.css +3 -0
- package/src/loadBalancer/configure/classic/AdvancedSettings.tsx +69 -0
- package/src/loadBalancer/configure/classic/CreateClassicLoadBalancer.tsx +282 -0
- package/src/loadBalancer/configure/classic/HealthCheck.tsx +69 -0
- package/src/loadBalancer/configure/classic/Listeners.less +21 -0
- package/src/loadBalancer/configure/classic/Listeners.tsx +273 -0
- package/src/loadBalancer/configure/common/AmazonCertificateSelectField.tsx +48 -0
- package/src/loadBalancer/configure/common/LoadBalancerLocation.tsx +417 -0
- package/src/loadBalancer/configure/common/SecurityGroups.tsx +223 -0
- package/src/loadBalancer/configure/common/configure.less +131 -0
- package/src/loadBalancer/configure/common/targetGroupValidators.spec.ts +130 -0
- package/src/loadBalancer/configure/common/targetGroupValidators.ts +41 -0
- package/src/loadBalancer/configure/network/CertificateSelectors.tsx +73 -0
- package/src/loadBalancer/configure/network/CreateNetworkLoadBalancer.tsx +303 -0
- package/src/loadBalancer/configure/network/NLBAdvancedSettings.tsx +34 -0
- package/src/loadBalancer/configure/network/NLBListeners.tsx +298 -0
- package/src/loadBalancer/configure/network/TargetGroups.tsx +447 -0
- package/src/loadBalancer/details/LoadBalancerActions.tsx +166 -0
- package/src/loadBalancer/details/loadBalancerActions.component.ts +16 -0
- package/src/loadBalancer/details/loadBalancerDetails.controller.spec.ts +76 -0
- package/src/loadBalancer/details/loadBalancerDetails.controller.ts +240 -0
- package/src/loadBalancer/details/loadBalancerDetails.html +266 -0
- package/src/loadBalancer/details/targetGroupDetails.controller.ts +95 -0
- package/src/loadBalancer/details/targetGroupDetails.html +138 -0
- package/src/loadBalancer/index.ts +9 -0
- package/src/loadBalancer/loadBalancer.module.ts +15 -0
- package/src/loadBalancer/loadBalancer.transformer.ts +638 -0
- package/src/loadBalancer/targetGroup.less +46 -0
- package/src/loadBalancer/targetGroup.states.ts +55 -0
- package/src/logo/amazon.logo.svg +503 -0
- package/src/logo/aws.icon.svg +10 -0
- package/src/logo/aws.logo.less +5 -0
- package/src/pipeline/stages/bake/awsBakeStage.js +219 -0
- package/src/pipeline/stages/bake/bakeExecutionDetails.controller.js +43 -0
- package/src/pipeline/stages/bake/bakeExecutionDetails.html +65 -0
- package/src/pipeline/stages/bake/bakeStage.html +205 -0
- package/src/pipeline/stages/cloneServerGroup/awsCloneServerGroupStage.js +143 -0
- package/src/pipeline/stages/cloneServerGroup/cloneServerGroupStage.html +143 -0
- package/src/pipeline/stages/cloneServerGroup/cloneServerGroupStepLabel.html +1 -0
- package/src/pipeline/stages/deleteLambda/DeleteLambdaFunctionStageForm.tsx +143 -0
- package/src/pipeline/stages/deleteLambda/LambdaDeleteStage.tsx +86 -0
- package/src/pipeline/stages/deleteLambda/constants/deleteVersion.constants.ts +37 -0
- package/src/pipeline/stages/deleteLambda/constants/deleteVersion.picker.tsx +47 -0
- package/src/pipeline/stages/deleteLambda/constants/index.ts +5 -0
- package/src/pipeline/stages/deleteLambda/index.ts +17 -0
- package/src/pipeline/stages/deployCloudFormation/CloudFormationChangeSetInfo.tsx +80 -0
- package/src/pipeline/stages/deployCloudFormation/cloudFormationTemplateEntry.component.ts +46 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationExecutionDetails.tsx +23 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.ts +84 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.html +84 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.ts +37 -0
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecution.service.ts +33 -0
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionApproval.tsx +80 -0
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionDetails.tsx +56 -0
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionLabel.tsx +53 -0
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionMarkerIcon.tsx +20 -0
- package/src/pipeline/stages/deployLambda/components/AwsLambdaFunctionStageForm.tsx +138 -0
- package/src/pipeline/stages/deployLambda/components/BasicSettingsForm.tsx +176 -0
- package/src/pipeline/stages/deployLambda/components/EnvironmentForm.tsx +24 -0
- package/src/pipeline/stages/deployLambda/components/ExecutionRoleForm.tsx +15 -0
- package/src/pipeline/stages/deployLambda/components/LambdaAtEdgeForm.tsx +28 -0
- package/src/pipeline/stages/deployLambda/components/NetworkForm.tsx +123 -0
- package/src/pipeline/stages/deployLambda/components/TriggerEventsForm.tsx +49 -0
- package/src/pipeline/stages/deployLambda/components/function.constants.ts +32 -0
- package/src/pipeline/stages/deployLambda/components/index.ts +8 -0
- package/src/pipeline/stages/deployLambda/config/LambdaDeploymentStage.tsx +20 -0
- package/src/pipeline/stages/deployLambda/config/LambdaDeploymentStageConfig.tsx +64 -0
- package/src/pipeline/stages/deployLambda/config/LambdaDeploymentStageExecutionDetails.tsx +31 -0
- package/src/pipeline/stages/deployLambda/config/UpsertDefaults.tsx +21 -0
- package/src/pipeline/stages/deployLambda/config/function.defaults.ts +39 -0
- package/src/pipeline/stages/deployLambda/index.ts +18 -0
- package/src/pipeline/stages/destroyAsg/awsDestroyAsgStage.js +66 -0
- package/src/pipeline/stages/destroyAsg/destroyAsgStage.html +9 -0
- package/src/pipeline/stages/destroyAsg/destroyAsgStepLabel.html +1 -0
- package/src/pipeline/stages/disableAsg/awsDisableAsgStage.js +69 -0
- package/src/pipeline/stages/disableAsg/disableAsgStage.html +11 -0
- package/src/pipeline/stages/disableAsg/disableAsgStepLabel.html +1 -0
- package/src/pipeline/stages/disableCluster/awsDisableClusterStage.js +84 -0
- package/src/pipeline/stages/disableCluster/disableClusterStage.html +26 -0
- package/src/pipeline/stages/enableAsg/awsEnableAsgStage.js +73 -0
- package/src/pipeline/stages/enableAsg/enableAsgStage.html +11 -0
- package/src/pipeline/stages/enableAsg/enableAsgStepLabel.html +1 -0
- package/src/pipeline/stages/findAmi/awsFindAmiStage.js +79 -0
- package/src/pipeline/stages/findAmi/findAmiStage.html +24 -0
- package/src/pipeline/stages/findImageFromTags/awsFindImageFromTagsStage.js +36 -0
- package/src/pipeline/stages/findImageFromTags/findImageFromTagsExecutionDetails.html +44 -0
- package/src/pipeline/stages/findImageFromTags/findImageFromTagsStage.html +11 -0
- package/src/pipeline/stages/invokeLambda/InvokeLambdaFunctionStageForm.tsx +106 -0
- package/src/pipeline/stages/invokeLambda/LambdaInvokeStage.tsx +125 -0
- package/src/pipeline/stages/invokeLambda/components/InvokeLambdaOperation.tsx +78 -0
- package/src/pipeline/stages/invokeLambda/components/index.ts +4 -0
- package/src/pipeline/stages/invokeLambda/index.ts +18 -0
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessExecutionDetails.html +36 -0
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.html +24 -0
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.js +98 -0
- package/src/pipeline/stages/resizeAsg/awsResizeAsgStage.js +127 -0
- package/src/pipeline/stages/resizeAsg/resizeAsgStage.html +90 -0
- package/src/pipeline/stages/resizeAsg/resizeAsgStepLabel.html +4 -0
- package/src/pipeline/stages/rollbackCluster/awsRollbackClusterStage.js +66 -0
- package/src/pipeline/stages/rollbackCluster/rollbackClusterStage.html +43 -0
- package/src/pipeline/stages/routeLambda/LambdaRouteStage.tsx +98 -0
- package/src/pipeline/stages/routeLambda/RouteLambdaFunctionStageForm.tsx +150 -0
- package/src/pipeline/stages/routeLambda/TriggerEventsForm.tsx +51 -0
- package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/BlueGreenDeploymentForm.tsx +27 -0
- package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/HealthCheckStrategy.tsx +21 -0
- package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/InvocationHealthCheck.tsx +93 -0
- package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/health.constants.ts +14 -0
- package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/index.ts +4 -0
- package/src/pipeline/stages/routeLambda/components/DeploymentStrategyForm.tsx +18 -0
- package/src/pipeline/stages/routeLambda/components/RenderStrategy.tsx +23 -0
- package/src/pipeline/stages/routeLambda/components/SimpleDeploymentForm.tsx +67 -0
- package/src/pipeline/stages/routeLambda/components/VersionPicker.tsx +43 -0
- package/src/pipeline/stages/routeLambda/components/WeightedDeploymentForm.tsx +107 -0
- package/src/pipeline/stages/routeLambda/components/index.ts +4 -0
- package/src/pipeline/stages/routeLambda/constants/index.ts +6 -0
- package/src/pipeline/stages/routeLambda/constants/strategy.constants.tsx +26 -0
- package/src/pipeline/stages/routeLambda/constants/strategy.picker.tsx +47 -0
- package/src/pipeline/stages/routeLambda/constants/versions.constants.ts +31 -0
- package/src/pipeline/stages/routeLambda/index.ts +18 -0
- package/src/pipeline/stages/scaleDownCluster/awsScaleDownClusterStage.js +78 -0
- package/src/pipeline/stages/scaleDownCluster/scaleDownClusterStage.html +35 -0
- package/src/pipeline/stages/shrinkCluster/awsShrinkClusterStage.js +73 -0
- package/src/pipeline/stages/shrinkCluster/shrinkClusterStage.html +34 -0
- package/src/pipeline/stages/tagImage/awsTagImageStage.js +34 -0
- package/src/pipeline/stages/tagImage/tagImageExecutionDetails.html +38 -0
- package/src/pipeline/stages/tagImage/tagImageStage.html +10 -0
- package/src/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStage.less +5 -0
- package/src/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStage.tsx +20 -0
- package/src/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStageConfig.tsx +41 -0
- package/src/pipeline/stages/updateCodeLambda/LambdaUpdateCodeStageExecutionDetails.tsx +31 -0
- package/src/pipeline/stages/updateCodeLambda/components/UpdateCodeStageForm.tsx +122 -0
- package/src/pipeline/stages/updateCodeLambda/components/index.ts +4 -0
- package/src/pipeline/stages/updateCodeLambda/index.ts +18 -0
- package/src/reactShims/aws.react.injector.ts +25 -0
- package/src/reactShims/aws.react.module.ts +12 -0
- package/src/reactShims/index.ts +1 -0
- package/src/search/searchResultFormatter.ts +19 -0
- package/src/securityGroup/clone/cloneSecurityGroup.controller.js +106 -0
- package/src/securityGroup/clone/cloneSecurityGroup.html +19 -0
- package/src/securityGroup/configure/CreateSecurityGroup.controller.spec.js +307 -0
- package/src/securityGroup/configure/CreateSecurityGroupCtrl.js +47 -0
- package/src/securityGroup/configure/EditSecurityGroupCtrl.js +115 -0
- package/src/securityGroup/configure/configSecurityGroup.mixin.controller.js +366 -0
- package/src/securityGroup/configure/createSecurityGroup.html +19 -0
- package/src/securityGroup/configure/createSecurityGroupIngress.html +100 -0
- package/src/securityGroup/configure/createSecurityGroupProperties.html +123 -0
- package/src/securityGroup/configure/editSecurityGroup.html +20 -0
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.html +77 -0
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.less +6 -0
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.ts +190 -0
- package/src/securityGroup/configure/securityGroupDetailsCustom.component.ts +16 -0
- package/src/securityGroup/configure/securityGroupDetailsCustom.tsx +16 -0
- package/src/securityGroup/details/IPRangeRules.tsx +56 -0
- package/src/securityGroup/details/index.ts +1 -0
- package/src/securityGroup/details/securityGroupDetail.controller.js +249 -0
- package/src/securityGroup/details/securityGroupDetail.html +114 -0
- package/src/securityGroup/details/securityGroupIpRangeRules.component.ts +12 -0
- package/src/securityGroup/index.ts +1 -0
- package/src/securityGroup/securityGroup.module.ts +26 -0
- package/src/securityGroup/securityGroup.reader.ts +24 -0
- package/src/securityGroup/securityGroup.transformer.js +48 -0
- package/src/serverGroup/AvailabilityZoneSelector.tsx +107 -0
- package/src/serverGroup/configure/AccountServiceFixtures.js +45 -0
- package/src/serverGroup/configure/AmazonImageSelectInput.spec.tsx +101 -0
- package/src/serverGroup/configure/AmazonImageSelectInput.tsx +412 -0
- package/src/serverGroup/configure/index.ts +5 -0
- package/src/serverGroup/configure/serverGroupCommandBuilder.aws.service.spec.js +430 -0
- package/src/serverGroup/configure/serverGroupCommandBuilder.service.ts +528 -0
- package/src/serverGroup/configure/serverGroupCommandBuilder.spec.js +284 -0
- package/src/serverGroup/configure/serverGroupConfiguration.service.spec.ts +478 -0
- package/src/serverGroup/configure/serverGroupConfiguration.service.ts +747 -0
- package/src/serverGroup/configure/wizard/AmazonCloneServerGroupModal.tsx +243 -0
- package/src/serverGroup/configure/wizard/ServerGroupTemplateSelection.tsx +60 -0
- package/src/serverGroup/configure/wizard/capacity/CapacitySelector.tsx +181 -0
- package/src/serverGroup/configure/wizard/capacity/MinMaxDesired.tsx +60 -0
- package/src/serverGroup/configure/wizard/instanceType/CpuCreditsToggle.tsx +62 -0
- package/src/serverGroup/configure/wizard/instanceType/InstanceTypeSelector.tsx +167 -0
- package/src/serverGroup/configure/wizard/instanceType/InstanceTypeWarning.tsx +44 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/AdvancedModeSelector.tsx +102 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/AmazonInstanceTypeInfoRenderer.tsx +59 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstanceProfileSelector.tsx +36 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeRow.tsx +157 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeSelect.tsx +78 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeTable.tsx +148 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeTableBody.tsx +144 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstanceTypeTableParts.tsx +129 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstancesDistribution.less +5 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/InstancesDistribution.tsx +111 -0
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/advancedMode.less +122 -0
- package/src/serverGroup/configure/wizard/instanceType/simpleMode/SimpleModeSelector.tsx +65 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.tsx +354 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupCapacity.tsx +71 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupInstanceType.tsx +158 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupLoadBalancers.tsx +262 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupSecurityGroups.tsx +52 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupZones.tsx +68 -0
- package/src/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettings.tsx +30 -0
- package/src/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsCommon.tsx +374 -0
- package/src/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsInner.tsx +40 -0
- package/src/serverGroup/configure/wizard/pages/index.ts +8 -0
- package/src/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.tsx +108 -0
- package/src/serverGroup/configure/wizard/securityGroups/ServerGroupSecurityGroupsRemoved.tsx +49 -0
- package/src/serverGroup/details/AmazonServerGroupActions.tsx +343 -0
- package/src/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.controller.js +47 -0
- package/src/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.html +79 -0
- package/src/serverGroup/details/amazonServerGroupDetailsGetter.ts +83 -0
- package/src/serverGroup/details/resize/AmazonResizeServerGroupModal.tsx +458 -0
- package/src/serverGroup/details/rollback/rollbackServerGroup.controller.js +146 -0
- package/src/serverGroup/details/rollback/rollbackServerGroup.html +139 -0
- package/src/serverGroup/details/scalingPolicy/CreateScalingPolicyButton.tsx +97 -0
- package/src/serverGroup/details/scalingPolicy/ScalingPolicySummary.tsx +33 -0
- package/src/serverGroup/details/scalingPolicy/ScalingPolicyWriter.ts +102 -0
- package/src/serverGroup/details/scalingPolicy/StepPolicySummary.less +10 -0
- package/src/serverGroup/details/scalingPolicy/StepPolicySummary.tsx +120 -0
- package/src/serverGroup/details/scalingPolicy/chart/DateLineChart.tsx +117 -0
- package/src/serverGroup/details/scalingPolicy/chart/MetricAlarmChart.tsx +85 -0
- package/src/serverGroup/details/scalingPolicy/createScalingPolicyButton.component.ts +15 -0
- package/src/serverGroup/details/scalingPolicy/index.ts +12 -0
- package/src/serverGroup/details/scalingPolicy/popover/AlarmSummary.tsx +26 -0
- package/src/serverGroup/details/scalingPolicy/popover/StepPolicyPopoverContent.tsx +90 -0
- package/src/serverGroup/details/scalingPolicy/scalingPolicy.module.ts +6 -0
- package/src/serverGroup/details/scalingPolicy/scalingPolicySummary.component.ts +14 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/TargetMetricFields.less +10 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/TargetMetricFields.tsx +212 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingAdditionalSettings.less +11 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingAdditionalSettings.tsx +122 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingChart.tsx +85 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingSummary.less +11 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/TargetTrackingSummary.tsx +117 -0
- package/src/serverGroup/details/scalingPolicy/targetTracking/UpsertTargetTrackingModal.tsx +77 -0
- package/src/serverGroup/details/scalingPolicy/upsert/PolicyTypeSelectionModal.tsx +77 -0
- package/src/serverGroup/details/scalingPolicy/upsert/ScalingPolicyAdditionalSettings.less +11 -0
- package/src/serverGroup/details/scalingPolicy/upsert/ScalingPolicyAdditionalSettings.tsx +105 -0
- package/src/serverGroup/details/scalingPolicy/upsert/ScalingPolicyCommandBuilderService.ts +133 -0
- package/src/serverGroup/details/scalingPolicy/upsert/UpsertScalingPolicyModal.tsx +213 -0
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/AlarmConfigurer.less +19 -0
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/AlarmConfigurer.tsx +176 -0
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/DimensionsEditor.tsx +89 -0
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/MetricSelector.less +15 -0
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/MetricSelector.tsx +170 -0
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/dimensionsEditor.less +18 -0
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/namespaces.ts +31 -0
- package/src/serverGroup/details/scalingPolicy/upsert/index.ts +7 -0
- package/src/serverGroup/details/scalingPolicy/upsert/simple/SimplePolicyAction.less +9 -0
- package/src/serverGroup/details/scalingPolicy/upsert/simple/SimplePolicyAction.tsx +70 -0
- package/src/serverGroup/details/scalingPolicy/upsert/step/StepPolicyAction.less +18 -0
- package/src/serverGroup/details/scalingPolicy/upsert/step/StepPolicyAction.tsx +163 -0
- package/src/serverGroup/details/scalingProcesses/AutoScalingProcessService.spec.ts +94 -0
- package/src/serverGroup/details/scalingProcesses/AutoScalingProcessService.ts +76 -0
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.js +95 -0
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.spec.js +106 -0
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.html +30 -0
- package/src/serverGroup/details/scheduledAction/ScheduledAction.tsx +25 -0
- package/src/serverGroup/details/scheduledAction/editScheduledActions.modal.controller.js +70 -0
- package/src/serverGroup/details/scheduledAction/editScheduledActions.modal.html +89 -0
- package/src/serverGroup/details/sections/AdvancedSettingsDetailsSection.tsx +61 -0
- package/src/serverGroup/details/sections/AmazonCapacityDetailsSection.tsx +39 -0
- package/src/serverGroup/details/sections/AmazonInfoDetailsSection.tsx +89 -0
- package/src/serverGroup/details/sections/HealthDetailsSection.tsx +25 -0
- package/src/serverGroup/details/sections/IAmazonServerGroupDetailsSectionProps.ts +6 -0
- package/src/serverGroup/details/sections/InstancesDistributionDetailsSection.spec.tsx +88 -0
- package/src/serverGroup/details/sections/InstancesDistributionDetailsSection.tsx +50 -0
- package/src/serverGroup/details/sections/LaunchConfigDetailsSection.tsx +93 -0
- package/src/serverGroup/details/sections/LaunchTemplateDetailsSection.spec.tsx +255 -0
- package/src/serverGroup/details/sections/LaunchTemplateDetailsSection.tsx +61 -0
- package/src/serverGroup/details/sections/LogsDetailsSection.tsx +19 -0
- package/src/serverGroup/details/sections/MultipleInstanceTypesSubSection.tsx +44 -0
- package/src/serverGroup/details/sections/PackageDetailsSection.tsx +78 -0
- package/src/serverGroup/details/sections/ScalingPoliciesDetailsSection.tsx +65 -0
- package/src/serverGroup/details/sections/ScalingProcessesDetailsSection.tsx +113 -0
- package/src/serverGroup/details/sections/ScheduledActionsDetailsSection.tsx +92 -0
- package/src/serverGroup/details/sections/SecurityGroupsDetailsSection.tsx +119 -0
- package/src/serverGroup/details/sections/TagsDetailsSection.tsx +26 -0
- package/src/serverGroup/details/sections/index.ts +15 -0
- package/src/serverGroup/details/sections/multipleInstanceTypesSubSection.less +50 -0
- package/src/serverGroup/details/securityGroup/editSecurityGroups.modal.controller.js +95 -0
- package/src/serverGroup/details/securityGroup/editSecurityGroups.modal.html +40 -0
- package/src/serverGroup/details/serverGroupDetails.module.ts +18 -0
- package/src/serverGroup/details/utils.spec.ts +23 -0
- package/src/serverGroup/details/utils.ts +13 -0
- package/src/serverGroup/index.ts +5 -0
- package/src/serverGroup/serverGroup.transformer.spec.ts +185 -0
- package/src/serverGroup/serverGroup.transformer.ts +160 -0
- package/src/subnet/SubnetSelectField.tsx +84 -0
- package/src/subnet/SubnetSelectInput.spec.tsx +91 -0
- package/src/subnet/SubnetSelectInput.tsx +111 -0
- package/src/subnet/index.ts +2 -0
- package/src/subnet/subnet.renderer.ts +12 -0
- package/src/validation/ApplicationNameValidator.ts +84 -0
- package/src/vpc/VpcReader.spec.ts +45 -0
- package/src/vpc/VpcReader.ts +36 -0
- package/src/vpc/VpcTag.spec.tsx +37 -0
- package/src/vpc/VpcTag.tsx +24 -0
- package/src/vpc/index.ts +1 -0
- package/src/vpc/vpc.module.ts +9 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<div ng-controller="awsResizeAsgStageCtrl as resizeAsgStageCtrl">
|
|
2
|
+
<div ng-if="!pipeline.strategy">
|
|
3
|
+
<div ng-if="!viewState.accountsLoaded" class="horizontal center middle">
|
|
4
|
+
<loading-spinner size="'small'"></loading-spinner>
|
|
5
|
+
</div>
|
|
6
|
+
<div ng-if="viewState.accountsLoaded">
|
|
7
|
+
<account-region-cluster-selector application="application" component="stage" accounts="accounts">
|
|
8
|
+
</account-region-cluster-selector>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<stage-config-field label="Target">
|
|
12
|
+
<target-select model="stage" options="resizeTargets"></target-select>
|
|
13
|
+
</stage-config-field>
|
|
14
|
+
<stage-config-field label="Action" help-key="pipeline.config.resizeAsg.action">
|
|
15
|
+
<select
|
|
16
|
+
class="form-control input-sm"
|
|
17
|
+
required
|
|
18
|
+
ng-model="stage.action"
|
|
19
|
+
ng-change="resizeAsgStageCtrl.updateResizeType()"
|
|
20
|
+
ng-options="a.val as a.label for a in scaleActions"
|
|
21
|
+
>
|
|
22
|
+
<option>Select an action...</option>
|
|
23
|
+
</select>
|
|
24
|
+
</stage-config-field>
|
|
25
|
+
<div ng-if="stage.action !== 'scale_exact'">
|
|
26
|
+
<stage-config-field label="{{stage.action === 'scale_to_cluster' ? 'Additional Capacity' : 'Type'}}">
|
|
27
|
+
<select
|
|
28
|
+
class="form-control input-sm"
|
|
29
|
+
required
|
|
30
|
+
ng-model="stage.resizeType"
|
|
31
|
+
ng-change="resizeAsgStageCtrl.updateResizeType()"
|
|
32
|
+
ng-options="t.val as t.label for t in resizeTypes"
|
|
33
|
+
>
|
|
34
|
+
<option>Select an action...</option>
|
|
35
|
+
</select>
|
|
36
|
+
</stage-config-field>
|
|
37
|
+
<div ng-if="stage.resizeType === 'pct'">
|
|
38
|
+
<stage-config-field label="Resize Percentage">
|
|
39
|
+
<input type="number" min="0" ng-model="stage.scalePct" class="form-control input-sm" style="width: 80px" />
|
|
40
|
+
<div>
|
|
41
|
+
<em class="subinput-note"
|
|
42
|
+
>This is the percentage by which the target server group's capacity will be increased</em
|
|
43
|
+
>
|
|
44
|
+
</div>
|
|
45
|
+
</stage-config-field>
|
|
46
|
+
</div>
|
|
47
|
+
<div ng-if="stage.resizeType === 'incr'">
|
|
48
|
+
<stage-config-field label="Resize-by Amount">
|
|
49
|
+
<input type="number" min="0" ng-model="stage.scaleNum" class="form-control input-sm" style="width: 80px" />
|
|
50
|
+
<div>
|
|
51
|
+
<em class="subinput-note"
|
|
52
|
+
>This is the exact amount by which the target server group's capacity will be increased</em
|
|
53
|
+
>
|
|
54
|
+
</div>
|
|
55
|
+
</stage-config-field>
|
|
56
|
+
</div>
|
|
57
|
+
<div ng-if="stage.action === 'scale_up' || stage.action === 'scale_to_cluster'">
|
|
58
|
+
<stage-config-field>
|
|
59
|
+
<target-healthy-percentage-selector command="stage"></target-healthy-percentage-selector>
|
|
60
|
+
</stage-config-field>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div ng-if="stage.action === 'scale_exact'">
|
|
64
|
+
<stage-config-field class="small">
|
|
65
|
+
<div class="row">
|
|
66
|
+
<div class="col-md-3">Min</div>
|
|
67
|
+
<div class="col-md-3">Max</div>
|
|
68
|
+
<div class="col-md-3">Desired</div>
|
|
69
|
+
</div>
|
|
70
|
+
</stage-config-field>
|
|
71
|
+
<stage-config-field label="Match Capacity">
|
|
72
|
+
<div class="row">
|
|
73
|
+
<div class="col-md-3">
|
|
74
|
+
<input type="number" ng-model="stage.capacity.min" class="form-control input-sm" />
|
|
75
|
+
</div>
|
|
76
|
+
<div class="col-md-3">
|
|
77
|
+
<input type="number" ng-model="stage.capacity.max" class="form-control input-sm" />
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-md-3">
|
|
80
|
+
<input type="number" ng-model="stage.capacity.desired" class="form-control input-sm" />
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</stage-config-field>
|
|
84
|
+
<stage-config-field>
|
|
85
|
+
<em class="subinput-note">This is the exact amount to which the target server group will be scaled</em>
|
|
86
|
+
</stage-config-field>
|
|
87
|
+
</div>
|
|
88
|
+
<stage-platform-health-override application="application" stage="stage" platform-health-type="'Amazon'">
|
|
89
|
+
</stage-platform-health-override>
|
|
90
|
+
</div>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
import { module } from 'angular';
|
|
4
|
+
|
|
5
|
+
import { AccountService, Registry, SETTINGS } from '@spinnaker/core';
|
|
6
|
+
|
|
7
|
+
export const AMAZON_PIPELINE_STAGES_ROLLBACKCLUSTER_AWSROLLBACKCLUSTERSTAGE =
|
|
8
|
+
'spinnaker.amazon.pipeline.stage.rollbackClusterStage';
|
|
9
|
+
export const name = AMAZON_PIPELINE_STAGES_ROLLBACKCLUSTER_AWSROLLBACKCLUSTERSTAGE; // for backwards compatibility
|
|
10
|
+
module(AMAZON_PIPELINE_STAGES_ROLLBACKCLUSTER_AWSROLLBACKCLUSTERSTAGE, [])
|
|
11
|
+
.config(function () {
|
|
12
|
+
Registry.pipeline.registerStage({
|
|
13
|
+
provides: 'rollbackCluster',
|
|
14
|
+
cloudProvider: 'aws',
|
|
15
|
+
templateUrl: require('./rollbackClusterStage.html'),
|
|
16
|
+
validators: [
|
|
17
|
+
{ type: 'requiredField', fieldName: 'cluster' },
|
|
18
|
+
{ type: 'requiredField', fieldName: 'regions' },
|
|
19
|
+
{ type: 'requiredField', fieldName: 'credentials', fieldLabel: 'account' },
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
})
|
|
23
|
+
.controller('awsRollbackClusterStageCtrl', [
|
|
24
|
+
'$scope',
|
|
25
|
+
function ($scope) {
|
|
26
|
+
const ctrl = this;
|
|
27
|
+
|
|
28
|
+
const stage = $scope.stage;
|
|
29
|
+
|
|
30
|
+
$scope.state = {
|
|
31
|
+
accounts: false,
|
|
32
|
+
regionsLoaded: false,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
AccountService.listAccounts('aws').then(function (accounts) {
|
|
36
|
+
$scope.accounts = accounts;
|
|
37
|
+
$scope.state.accounts = true;
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
ctrl.reset = () => {
|
|
41
|
+
ctrl.accountUpdated();
|
|
42
|
+
ctrl.resetSelectedCluster();
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
stage.regions = stage.regions || [];
|
|
46
|
+
stage.cloudProvider = 'aws';
|
|
47
|
+
stage.targetHealthyRollbackPercentage = stage.targetHealthyRollbackPercentage || 100;
|
|
48
|
+
|
|
49
|
+
if (
|
|
50
|
+
stage.isNew &&
|
|
51
|
+
$scope.application.attributes.platformHealthOnlyShowOverride &&
|
|
52
|
+
$scope.application.attributes.platformHealthOnly
|
|
53
|
+
) {
|
|
54
|
+
stage.interestingHealthProviderNames = ['Amazon'];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (!stage.credentials && $scope.application.defaultCredentials.aws) {
|
|
58
|
+
stage.credentials = $scope.application.defaultCredentials.aws;
|
|
59
|
+
}
|
|
60
|
+
if (!stage.regions.length && $scope.application.defaultRegions.aws) {
|
|
61
|
+
stage.regions.push($scope.application.defaultRegions.aws);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
$scope.viewState.dynamicRollbackTimeout = SETTINGS.feature.dynamicRollbackTimeout;
|
|
65
|
+
},
|
|
66
|
+
]);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<div ng-controller="awsRollbackClusterStageCtrl as rollbackClusterStageCtrl" class="form-horizontal">
|
|
2
|
+
<div ng-if="!pipeline.strategy">
|
|
3
|
+
<account-region-cluster-selector application="application" component="stage" accounts="accounts">
|
|
4
|
+
</account-region-cluster-selector>
|
|
5
|
+
</div>
|
|
6
|
+
<stage-platform-health-override application="application" stage="stage" platform-health-type="'Amazon'">
|
|
7
|
+
</stage-platform-health-override>
|
|
8
|
+
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-10 col-sm-offset-2" ng-if="stage.regions.length > 1">
|
|
11
|
+
Wait
|
|
12
|
+
<input
|
|
13
|
+
type="number"
|
|
14
|
+
min="0"
|
|
15
|
+
ng-model="stage.waitTimeBetweenRegions"
|
|
16
|
+
class="form-control input-sm inline-number"
|
|
17
|
+
/>
|
|
18
|
+
seconds between regional rollbacks.
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-10 col-sm-offset-2">
|
|
21
|
+
Consider rollback successful when
|
|
22
|
+
<input
|
|
23
|
+
type="number"
|
|
24
|
+
min="0"
|
|
25
|
+
max="100"
|
|
26
|
+
ng-model="stage.targetHealthyRollbackPercentage"
|
|
27
|
+
class="form-control input-sm inline-number"
|
|
28
|
+
/>
|
|
29
|
+
percent of instances are healthy.
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-10 col-sm-offset-2" ng-if="viewState.dynamicRollbackTimeout">
|
|
32
|
+
Rollback Timeout is
|
|
33
|
+
<input
|
|
34
|
+
type="number"
|
|
35
|
+
min="0"
|
|
36
|
+
max="100"
|
|
37
|
+
ng-model="stage.rollbackTimeout"
|
|
38
|
+
class="form-control input-sm inline-number"
|
|
39
|
+
/>
|
|
40
|
+
minutes.
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import type {
|
|
7
|
+
IExecutionDetailsSectionProps,
|
|
8
|
+
IFormikStageConfigInjectedProps,
|
|
9
|
+
IStage,
|
|
10
|
+
IStageConfigProps,
|
|
11
|
+
IStageTypeConfig,
|
|
12
|
+
} from '@spinnaker/core';
|
|
13
|
+
import {
|
|
14
|
+
ExecutionDetailsSection,
|
|
15
|
+
ExecutionDetailsTasks,
|
|
16
|
+
FormikStageConfig,
|
|
17
|
+
FormValidator,
|
|
18
|
+
HelpContentsRegistry,
|
|
19
|
+
StageFailureMessage,
|
|
20
|
+
} from '@spinnaker/core';
|
|
21
|
+
|
|
22
|
+
import { RouteLambdaFunctionStageForm } from './RouteLambdaFunctionStageForm';
|
|
23
|
+
import { awsArnValidator } from '../../../aws.validators';
|
|
24
|
+
|
|
25
|
+
export function RouteLambdaExecutionDetails(props: IExecutionDetailsSectionProps) {
|
|
26
|
+
const { stage } = props;
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<ExecutionDetailsSection name={props.name} current={props.current}>
|
|
30
|
+
<StageFailureMessage stage={stage} message={stage.outputs.failureMessage} />
|
|
31
|
+
<div>
|
|
32
|
+
<p> Function Name: {stage.outputs.functionName ? stage.outputs.functionName : 'N/A'} </p>
|
|
33
|
+
<p>
|
|
34
|
+
{' '}
|
|
35
|
+
Deployed Alias:{' '}
|
|
36
|
+
{stage.outputs['deployment:aliasDeployed'] ? stage.outputs['deployment:aliasDeployed'] : 'N/A'}{' '}
|
|
37
|
+
</p>
|
|
38
|
+
<p>
|
|
39
|
+
{' '}
|
|
40
|
+
Deployed Major Version:{' '}
|
|
41
|
+
{stage.outputs['deployment:majorVersionDeployed']
|
|
42
|
+
? stage.outputs['deployment:majorVersionDeployed']
|
|
43
|
+
: 'N/A'}{' '}
|
|
44
|
+
</p>
|
|
45
|
+
</div>
|
|
46
|
+
</ExecutionDetailsSection>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function RouteLambdaConfig(props: IStageConfigProps) {
|
|
51
|
+
return (
|
|
52
|
+
<div className="RouteLambdaStageConfig">
|
|
53
|
+
<FormikStageConfig
|
|
54
|
+
{...props}
|
|
55
|
+
validate={validate}
|
|
56
|
+
onChange={props.updateStage}
|
|
57
|
+
render={(props: IFormikStageConfigInjectedProps) => <RouteLambdaFunctionStageForm {...props} />}
|
|
58
|
+
/>
|
|
59
|
+
</div>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export const initialize = () => {
|
|
64
|
+
HelpContentsRegistry.register('aws.lambdaDeploymentStage.lambda', 'Lambda Name');
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
function validate(stageConfig: IStage) {
|
|
68
|
+
const validator = new FormValidator(stageConfig);
|
|
69
|
+
|
|
70
|
+
validator
|
|
71
|
+
.field('triggerArns', 'Trigger ARNs')
|
|
72
|
+
.optional()
|
|
73
|
+
.withValidators((value: any, _: string) => {
|
|
74
|
+
const tmp: any[] = value.map((arn: string) => {
|
|
75
|
+
return awsArnValidator(arn, arn);
|
|
76
|
+
});
|
|
77
|
+
const ret: boolean = tmp.every((el) => el === undefined);
|
|
78
|
+
return ret
|
|
79
|
+
? undefined
|
|
80
|
+
: 'Invalid ARN. Event ARN must match regular expression: /^arn:aws[a-zA-Z-]?:[a-zA-Z_0-9.-]+:./';
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
return validator.validateForm();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// eslint-disable-next-line
|
|
87
|
+
export namespace RouteLambdaExecutionDetails {
|
|
88
|
+
export const title = 'Route Lambda Traffic Stage';
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export const lambdaRouteStage: IStageTypeConfig = {
|
|
92
|
+
key: 'Aws.LambdaTrafficRoutingStage',
|
|
93
|
+
label: `AWS Lambda Route`,
|
|
94
|
+
description: 'Route traffic across various versions of your Lambda function',
|
|
95
|
+
component: RouteLambdaConfig, // stage config
|
|
96
|
+
executionDetailsSections: [RouteLambdaExecutionDetails, ExecutionDetailsTasks],
|
|
97
|
+
validateFn: validate,
|
|
98
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
IAccount,
|
|
7
|
+
IAccountDetails,
|
|
8
|
+
IFormikStageConfigInjectedProps,
|
|
9
|
+
IFormInputProps,
|
|
10
|
+
IFunction,
|
|
11
|
+
IRegion,
|
|
12
|
+
} from '@spinnaker/core';
|
|
13
|
+
import {
|
|
14
|
+
AccountService,
|
|
15
|
+
FormikFormField,
|
|
16
|
+
HelpField,
|
|
17
|
+
NumberInput,
|
|
18
|
+
ReactSelectInput,
|
|
19
|
+
TextInput,
|
|
20
|
+
useData,
|
|
21
|
+
} from '@spinnaker/core';
|
|
22
|
+
|
|
23
|
+
import { TriggerEventsForm } from './TriggerEventsForm';
|
|
24
|
+
import { DeploymentStrategyForm } from './components';
|
|
25
|
+
import { DeploymentStrategyList, DeploymentStrategyPicker } from './constants';
|
|
26
|
+
|
|
27
|
+
export function RouteLambdaFunctionStageForm(props: IFormikStageConfigInjectedProps) {
|
|
28
|
+
const { values } = props.formik;
|
|
29
|
+
const { functions } = props.application;
|
|
30
|
+
|
|
31
|
+
const { result: fetchAccountsResult, status: fetchAccountsStatus } = useData(
|
|
32
|
+
() => AccountService.listAccounts('aws'),
|
|
33
|
+
[],
|
|
34
|
+
[],
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
const onAccountChange = (fieldValue: any): void => {
|
|
38
|
+
props.formik.setFieldValue('region', null);
|
|
39
|
+
props.formik.setFieldValue('functionName', null);
|
|
40
|
+
|
|
41
|
+
props.formik.setFieldValue('account', fieldValue);
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const onRegionChange = (fieldValue: any): void => {
|
|
45
|
+
props.formik.setFieldValue('functionName', null);
|
|
46
|
+
props.formik.setFieldValue('region', fieldValue);
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const availableFunctions =
|
|
50
|
+
values.account && values.region
|
|
51
|
+
? functions.data
|
|
52
|
+
.filter((f: IFunction) => f.account === values.account)
|
|
53
|
+
.filter((f: IFunction) => f.region === values.region)
|
|
54
|
+
.map((f: IFunction) => f.functionName)
|
|
55
|
+
: [];
|
|
56
|
+
|
|
57
|
+
return (
|
|
58
|
+
<div className="form-horizontal">
|
|
59
|
+
<h4> Basic Settings </h4>
|
|
60
|
+
<FormikFormField
|
|
61
|
+
label="Account"
|
|
62
|
+
name="account"
|
|
63
|
+
onChange={onAccountChange}
|
|
64
|
+
required={true}
|
|
65
|
+
input={(inputProps: IFormInputProps) => (
|
|
66
|
+
<ReactSelectInput
|
|
67
|
+
{...inputProps}
|
|
68
|
+
clearable={false}
|
|
69
|
+
isLoading={fetchAccountsStatus === 'PENDING'}
|
|
70
|
+
stringOptions={fetchAccountsResult.map((acc: IAccount) => acc.name)}
|
|
71
|
+
/>
|
|
72
|
+
)}
|
|
73
|
+
/>
|
|
74
|
+
<FormikFormField
|
|
75
|
+
label="Region"
|
|
76
|
+
name="region"
|
|
77
|
+
onChange={onRegionChange}
|
|
78
|
+
input={(inputProps: IFormInputProps) => (
|
|
79
|
+
<ReactSelectInput
|
|
80
|
+
clearable={false}
|
|
81
|
+
disabled={!values.account}
|
|
82
|
+
placeholder={values.account ? 'Select...' : 'Select an Account...'}
|
|
83
|
+
{...inputProps}
|
|
84
|
+
isLoading={fetchAccountsStatus === 'PENDING'}
|
|
85
|
+
stringOptions={fetchAccountsResult
|
|
86
|
+
.filter((acc: IAccountDetails) => acc.name === values.account)
|
|
87
|
+
.flatMap((acc: IAccountDetails) => acc.regions)
|
|
88
|
+
.map((reg: IRegion) => reg.name)}
|
|
89
|
+
/>
|
|
90
|
+
)}
|
|
91
|
+
/>
|
|
92
|
+
<FormikFormField
|
|
93
|
+
label="Function Name"
|
|
94
|
+
name="functionName"
|
|
95
|
+
input={(inputProps: IFormInputProps) => (
|
|
96
|
+
<ReactSelectInput
|
|
97
|
+
clearable={false}
|
|
98
|
+
disabled={!(values.account && values.region)}
|
|
99
|
+
placeholder={values.account && values.region ? 'Select...' : 'Select an Account and Region...'}
|
|
100
|
+
{...inputProps}
|
|
101
|
+
stringOptions={availableFunctions}
|
|
102
|
+
/>
|
|
103
|
+
)}
|
|
104
|
+
/>
|
|
105
|
+
|
|
106
|
+
<FormikFormField
|
|
107
|
+
label="Alias"
|
|
108
|
+
name="aliasName"
|
|
109
|
+
input={(inputProps: IFormInputProps) => <TextInput {...inputProps} />}
|
|
110
|
+
/>
|
|
111
|
+
|
|
112
|
+
<h4> Alias Settings </h4>
|
|
113
|
+
<TriggerEventsForm {...props} />
|
|
114
|
+
|
|
115
|
+
<FormikFormField
|
|
116
|
+
name="provisionedConcurrentExecutions"
|
|
117
|
+
label="Provisioned Concurrency"
|
|
118
|
+
help={
|
|
119
|
+
<HelpField content="To enable your function to scale without fluctuations in latency, use provisioned concurrency. Provisioned concurrency runs continually and has separate pricing for concurrency and execution duration. Concurrency cannot be provisioned with a weighted deployment strategy." />
|
|
120
|
+
}
|
|
121
|
+
input={(props) =>
|
|
122
|
+
values.deploymentStrategy === '$WEIGHTED' ? (
|
|
123
|
+
<NumberInput {...props} min={0} max={0} />
|
|
124
|
+
) : (
|
|
125
|
+
<NumberInput {...props} min={0} max={3000} />
|
|
126
|
+
)
|
|
127
|
+
}
|
|
128
|
+
required={false}
|
|
129
|
+
/>
|
|
130
|
+
|
|
131
|
+
<h4> Deployment Strategy </h4>
|
|
132
|
+
<FormikFormField
|
|
133
|
+
label="Strategy"
|
|
134
|
+
name="deploymentStrategy"
|
|
135
|
+
help={<HelpField content="" />}
|
|
136
|
+
input={(inputProps: IFormInputProps) => (
|
|
137
|
+
<ReactSelectInput
|
|
138
|
+
{...inputProps}
|
|
139
|
+
clearable={false}
|
|
140
|
+
options={DeploymentStrategyList}
|
|
141
|
+
optionRenderer={(option) => (
|
|
142
|
+
<DeploymentStrategyPicker config={props} value={option.value as any} showingDetails={true} />
|
|
143
|
+
)}
|
|
144
|
+
/>
|
|
145
|
+
)}
|
|
146
|
+
/>
|
|
147
|
+
{values.deploymentStrategy ? <DeploymentStrategyForm {...props} /> : null}
|
|
148
|
+
</div>
|
|
149
|
+
);
|
|
150
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import type { Option } from 'react-select';
|
|
7
|
+
|
|
8
|
+
import type { IFormikStageConfigInjectedProps, IFormInputProps } from '@spinnaker/core';
|
|
9
|
+
import { FormikFormField, HelpField, NumberInput, TetheredCreatable } from '@spinnaker/core';
|
|
10
|
+
|
|
11
|
+
export function TriggerEventsForm(props: IFormikStageConfigInjectedProps) {
|
|
12
|
+
const { values } = props.formik;
|
|
13
|
+
|
|
14
|
+
const onChange = (o: Option, field: any) => {
|
|
15
|
+
props.formik.setFieldValue(
|
|
16
|
+
field,
|
|
17
|
+
o.map((arn: any) => arn.value),
|
|
18
|
+
);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<div>
|
|
23
|
+
<FormikFormField
|
|
24
|
+
name="triggerArns"
|
|
25
|
+
label="Event ARNs"
|
|
26
|
+
help={
|
|
27
|
+
<HelpField content="The resource ARNs for Lambda event trigger sources. Input the entire ARN and select `Create option TRIGGER-ARN-INPUT` to add the ARN." />
|
|
28
|
+
}
|
|
29
|
+
input={(inputProps: IFormInputProps) => (
|
|
30
|
+
<TetheredCreatable
|
|
31
|
+
{...inputProps}
|
|
32
|
+
multi={true}
|
|
33
|
+
placeholder={'Input ARN...'}
|
|
34
|
+
onChange={(e: Option) => {
|
|
35
|
+
onChange(e, 'triggerArns');
|
|
36
|
+
}}
|
|
37
|
+
value={values.triggerArns ? values.triggerArns.map((arn: string) => ({ value: arn, label: arn })) : []}
|
|
38
|
+
/>
|
|
39
|
+
)}
|
|
40
|
+
required={false}
|
|
41
|
+
/>
|
|
42
|
+
|
|
43
|
+
<FormikFormField
|
|
44
|
+
name="batchsize"
|
|
45
|
+
label="Event Batch Size"
|
|
46
|
+
input={(inputProps: IFormInputProps) => <NumberInput {...inputProps} min={1} max={10} />}
|
|
47
|
+
required={false}
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
50
|
+
);
|
|
51
|
+
}
|
package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/BlueGreenDeploymentForm.tsx
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import type { IFormikStageConfigInjectedProps, IFormInputProps } from '@spinnaker/core';
|
|
7
|
+
import { FormikFormField, ReactSelectInput } from '@spinnaker/core';
|
|
8
|
+
|
|
9
|
+
import { retrieveHealthCheck } from './HealthCheckStrategy';
|
|
10
|
+
import { HealthCheckList } from './health.constants';
|
|
11
|
+
|
|
12
|
+
export function BlueGreenDeploymentForm(props: IFormikStageConfigInjectedProps) {
|
|
13
|
+
const { values } = props.formik;
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div>
|
|
17
|
+
<FormikFormField
|
|
18
|
+
label="Health Check Type"
|
|
19
|
+
name="healthCheckType"
|
|
20
|
+
input={(inputProps: IFormInputProps) => (
|
|
21
|
+
<ReactSelectInput {...inputProps} clearable={false} options={HealthCheckList} />
|
|
22
|
+
)}
|
|
23
|
+
/>
|
|
24
|
+
{values.healthCheckType ? retrieveHealthCheck(values.healthCheckType, props) : null}
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
27
|
+
}
|
package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/HealthCheckStrategy.tsx
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import type { IFormikStageConfigInjectedProps } from '@spinnaker/core';
|
|
7
|
+
|
|
8
|
+
import { InvokeLambdaHealthCheck } from './InvocationHealthCheck';
|
|
9
|
+
|
|
10
|
+
export function retrieveHealthCheck(value: string, props: IFormikStageConfigInjectedProps) {
|
|
11
|
+
switch (value) {
|
|
12
|
+
case '$LAMBDA':
|
|
13
|
+
return <InvokeLambdaHealthCheck {...props} />;
|
|
14
|
+
case '$WEIGHTED':
|
|
15
|
+
return null;
|
|
16
|
+
case '$BLUEGREEN':
|
|
17
|
+
return null;
|
|
18
|
+
default:
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/src/pipeline/stages/routeLambda/components/BlueGreenDeployment/InvocationHealthCheck.tsx
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
import type { IArtifact, IExpectedArtifact, IFormikStageConfigInjectedProps } from '@spinnaker/core';
|
|
7
|
+
import {
|
|
8
|
+
ArtifactTypePatterns,
|
|
9
|
+
CheckboxInput,
|
|
10
|
+
excludeAllTypesExcept,
|
|
11
|
+
FormikFormField,
|
|
12
|
+
NumberInput,
|
|
13
|
+
StageArtifactSelectorDelegate,
|
|
14
|
+
} from '@spinnaker/core';
|
|
15
|
+
|
|
16
|
+
export function InvokeLambdaHealthCheck(props: IFormikStageConfigInjectedProps) {
|
|
17
|
+
const { values } = props.formik;
|
|
18
|
+
|
|
19
|
+
const excludedArtifactTypes = excludeAllTypesExcept(
|
|
20
|
+
ArtifactTypePatterns.BITBUCKET_FILE,
|
|
21
|
+
ArtifactTypePatterns.CUSTOM_OBJECT,
|
|
22
|
+
ArtifactTypePatterns.EMBEDDED_BASE64,
|
|
23
|
+
ArtifactTypePatterns.GCS_OBJECT,
|
|
24
|
+
ArtifactTypePatterns.GITHUB_FILE,
|
|
25
|
+
ArtifactTypePatterns.GITLAB_FILE,
|
|
26
|
+
ArtifactTypePatterns.S3_OBJECT,
|
|
27
|
+
ArtifactTypePatterns.HTTP_FILE,
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
const onTemplateArtifactEdited = (artifact: IArtifact, name: string) => {
|
|
31
|
+
props.formik.setFieldValue(`${name}.id`, null);
|
|
32
|
+
props.formik.setFieldValue(`${name}.artifact`, artifact);
|
|
33
|
+
props.formik.setFieldValue(`${name}.account`, artifact.artifactAccount);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const onTemplateArtifactSelected = (id: string, name: string) => {
|
|
37
|
+
props.formik.setFieldValue(`${name}.id`, id);
|
|
38
|
+
props.formik.setFieldValue(`${name}.artifact`, null);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const getInputArtifact = (stage: any, name: string) => {
|
|
42
|
+
if (!stage[name]) {
|
|
43
|
+
return {
|
|
44
|
+
account: '',
|
|
45
|
+
id: '',
|
|
46
|
+
};
|
|
47
|
+
} else {
|
|
48
|
+
return stage[name];
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
return (
|
|
53
|
+
<div>
|
|
54
|
+
<FormikFormField
|
|
55
|
+
name="destroyOnFail"
|
|
56
|
+
label="On Fail"
|
|
57
|
+
input={(props) => <CheckboxInput text={'Destroy latest lambda version on fail.'} {...props} />}
|
|
58
|
+
/>
|
|
59
|
+
<FormikFormField name="timeout" label="Timeout" input={(props) => <NumberInput {...props} min={0} max={900} />} />
|
|
60
|
+
|
|
61
|
+
<StageArtifactSelectorDelegate
|
|
62
|
+
artifact={getInputArtifact(values, 'payloadArtifact').artifact}
|
|
63
|
+
excludedArtifactTypePatterns={excludedArtifactTypes}
|
|
64
|
+
expectedArtifactId={getInputArtifact(values, 'payloadArtifact').id}
|
|
65
|
+
label="Payload Artifact"
|
|
66
|
+
onArtifactEdited={(artifact) => {
|
|
67
|
+
onTemplateArtifactEdited(artifact, 'payloadArtifact');
|
|
68
|
+
}}
|
|
69
|
+
helpKey={''}
|
|
70
|
+
onExpectedArtifactSelected={(artifact: IExpectedArtifact) =>
|
|
71
|
+
onTemplateArtifactSelected(artifact.id, 'payloadrtifact')
|
|
72
|
+
}
|
|
73
|
+
pipeline={props.pipeline}
|
|
74
|
+
stage={values}
|
|
75
|
+
/>
|
|
76
|
+
<StageArtifactSelectorDelegate
|
|
77
|
+
artifact={getInputArtifact(values, 'outputArtifact').artifact}
|
|
78
|
+
excludedArtifactTypePatterns={excludedArtifactTypes}
|
|
79
|
+
expectedArtifactId={getInputArtifact(values, 'outputArtifact').id}
|
|
80
|
+
label="Output Artifact"
|
|
81
|
+
onArtifactEdited={(artifact) => {
|
|
82
|
+
onTemplateArtifactEdited(artifact, 'outputArtifact');
|
|
83
|
+
}}
|
|
84
|
+
helpKey={''}
|
|
85
|
+
onExpectedArtifactSelected={(artifact: IExpectedArtifact) =>
|
|
86
|
+
onTemplateArtifactSelected(artifact.id, 'outputArtifact')
|
|
87
|
+
}
|
|
88
|
+
pipeline={props.pipeline}
|
|
89
|
+
stage={values}
|
|
90
|
+
/>
|
|
91
|
+
</div>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
export interface IHealthConstant {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const HealthCheckList: IHealthConstant[] = [
|
|
10
|
+
{
|
|
11
|
+
label: 'Lambda Invocation',
|
|
12
|
+
value: '$LAMBDA',
|
|
13
|
+
},
|
|
14
|
+
];
|