@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,638 @@
|
|
|
1
|
+
import { chain, filter, flatten, map } from 'lodash';
|
|
2
|
+
import { $q } from 'ngimport';
|
|
3
|
+
|
|
4
|
+
import type { Application, IHealth, IInstance, IServerGroup, IVpc } from '@spinnaker/core';
|
|
5
|
+
import { AccountService, NameUtils, SETTINGS } from '@spinnaker/core';
|
|
6
|
+
import { AWSProviderSettings } from '../aws.settings';
|
|
7
|
+
import type {
|
|
8
|
+
IALBListenerCertificate,
|
|
9
|
+
IAmazonApplicationLoadBalancer,
|
|
10
|
+
IAmazonApplicationLoadBalancerUpsertCommand,
|
|
11
|
+
IAmazonClassicLoadBalancer,
|
|
12
|
+
IAmazonClassicLoadBalancerUpsertCommand,
|
|
13
|
+
IAmazonLoadBalancer,
|
|
14
|
+
IAmazonNetworkLoadBalancerUpsertCommand,
|
|
15
|
+
IAmazonServerGroup,
|
|
16
|
+
IApplicationLoadBalancerSourceData,
|
|
17
|
+
IClassicListenerDescription,
|
|
18
|
+
IClassicLoadBalancerSourceData,
|
|
19
|
+
INetworkLoadBalancerSourceData,
|
|
20
|
+
ITargetGroup,
|
|
21
|
+
} from '../domain';
|
|
22
|
+
import { VpcReader } from '../vpc/VpcReader';
|
|
23
|
+
|
|
24
|
+
export class AwsLoadBalancerTransformer {
|
|
25
|
+
private updateHealthCounts(container: IServerGroup | ITargetGroup | IAmazonLoadBalancer): void {
|
|
26
|
+
const instances = container.instances;
|
|
27
|
+
|
|
28
|
+
container.instanceCounts = {
|
|
29
|
+
up: instances.filter((instance) => instance.health[0].state === 'InService').length,
|
|
30
|
+
down: instances.filter((instance) => instance.healthState === 'Down').length,
|
|
31
|
+
outOfService: instances.filter((instance) => instance.healthState === 'OutOfService').length,
|
|
32
|
+
starting: undefined,
|
|
33
|
+
succeeded: undefined,
|
|
34
|
+
failed: undefined,
|
|
35
|
+
unknown: undefined,
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
if ((container as ITargetGroup | IAmazonLoadBalancer).serverGroups) {
|
|
39
|
+
const serverGroupInstances = flatten((container as ITargetGroup).serverGroups.map((sg) => sg.instances));
|
|
40
|
+
container.instanceCounts.up = serverGroupInstances.filter(
|
|
41
|
+
(instance) => instance.health[0].state === 'InService',
|
|
42
|
+
).length;
|
|
43
|
+
container.instanceCounts.down = serverGroupInstances.filter((instance) => instance.healthState === 'Down').length;
|
|
44
|
+
container.instanceCounts.outOfService = serverGroupInstances.filter(
|
|
45
|
+
(instance) => instance.healthState === 'OutOfService',
|
|
46
|
+
).length;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
private transformInstance(instance: IInstance, provider: string, account: string, region: string): void {
|
|
51
|
+
// instance in this case should be some form if instance source data, but force to 'any' type to fix
|
|
52
|
+
// instnace health in load balancers until we can actually shape this bit properly
|
|
53
|
+
const health: IHealth = (instance.health as any) || ({} as IHealth);
|
|
54
|
+
if (health.state === 'healthy') {
|
|
55
|
+
// Target groups use 'healthy' instead of 'InService' and a lot of deck expects InService
|
|
56
|
+
// to surface health in the UI; just set it as InService since we don't really care the
|
|
57
|
+
// specific state name... yet
|
|
58
|
+
health.state = 'InService';
|
|
59
|
+
}
|
|
60
|
+
instance.provider = provider;
|
|
61
|
+
instance.account = account;
|
|
62
|
+
instance.region = region;
|
|
63
|
+
instance.healthState = health.state ? (health.state === 'InService' ? 'Up' : 'Down') : 'OutOfService';
|
|
64
|
+
instance.health = [health];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
private addVpcNameToContainer(
|
|
68
|
+
container: IAmazonLoadBalancer | ITargetGroup,
|
|
69
|
+
): (vpcs: IVpc[]) => IAmazonLoadBalancer | ITargetGroup {
|
|
70
|
+
return (vpcs: IVpc[]) => {
|
|
71
|
+
const match = vpcs.find((test) => test.id === container.vpcId);
|
|
72
|
+
container.vpcName = match ? match.name : '';
|
|
73
|
+
return container;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private normalizeServerGroups(
|
|
78
|
+
serverGroups: IServerGroup[],
|
|
79
|
+
container: IAmazonLoadBalancer | ITargetGroup,
|
|
80
|
+
containerType: string,
|
|
81
|
+
healthType: string,
|
|
82
|
+
): void {
|
|
83
|
+
serverGroups.forEach((serverGroup) => {
|
|
84
|
+
serverGroup.account = serverGroup.account || container.account;
|
|
85
|
+
serverGroup.region = serverGroup.region || container.region;
|
|
86
|
+
serverGroup.cloudProvider = serverGroup.cloudProvider || container.cloudProvider;
|
|
87
|
+
|
|
88
|
+
if (serverGroup.detachedInstances) {
|
|
89
|
+
serverGroup.detachedInstances = (serverGroup.detachedInstances as any).map((instanceId: string) => {
|
|
90
|
+
return { id: instanceId } as IInstance;
|
|
91
|
+
});
|
|
92
|
+
serverGroup.instances = serverGroup.instances.concat(serverGroup.detachedInstances);
|
|
93
|
+
} else {
|
|
94
|
+
serverGroup.detachedInstances = [];
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
serverGroup.instances.forEach((instance) => {
|
|
98
|
+
this.transformInstance(instance, container.type, container.account, container.region);
|
|
99
|
+
(instance as any)[containerType] = [container.name];
|
|
100
|
+
(instance.health as any).type = healthType;
|
|
101
|
+
});
|
|
102
|
+
this.updateHealthCounts(serverGroup);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
private normalizeTargetGroup(targetGroup: ITargetGroup): PromiseLike<ITargetGroup> {
|
|
107
|
+
this.normalizeServerGroups(targetGroup.serverGroups, targetGroup, 'targetGroups', 'TargetGroup');
|
|
108
|
+
|
|
109
|
+
const activeServerGroups = filter(targetGroup.serverGroups, { isDisabled: false });
|
|
110
|
+
targetGroup.provider = targetGroup.type;
|
|
111
|
+
targetGroup.instances = chain(activeServerGroups).map('instances').flatten<IInstance>().value();
|
|
112
|
+
targetGroup.detachedInstances = chain(activeServerGroups).map('detachedInstances').flatten<IInstance>().value();
|
|
113
|
+
this.updateHealthCounts(targetGroup);
|
|
114
|
+
|
|
115
|
+
return $q.all([VpcReader.listVpcs(), AccountService.listAllAccounts()]).then(([vpcs, accounts]) => {
|
|
116
|
+
const tg = this.addVpcNameToContainer(targetGroup)(vpcs) as ITargetGroup;
|
|
117
|
+
|
|
118
|
+
tg.serverGroups = tg.serverGroups.map((serverGroup) => {
|
|
119
|
+
const account = accounts.find((x) => x.name === serverGroup.account);
|
|
120
|
+
const cloudProvider = (account && account.cloudProvider) || serverGroup.cloudProvider;
|
|
121
|
+
|
|
122
|
+
serverGroup.cloudProvider = cloudProvider;
|
|
123
|
+
serverGroup.instances.forEach((instance) => {
|
|
124
|
+
instance.cloudProvider = cloudProvider;
|
|
125
|
+
instance.provider = cloudProvider;
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
return { ...serverGroup, cloudProvider };
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
return tg;
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
private normalizeActions(loadBalancer: IAmazonApplicationLoadBalancer) {
|
|
136
|
+
if (loadBalancer.loadBalancerType === 'application') {
|
|
137
|
+
const alb = loadBalancer as IAmazonApplicationLoadBalancer;
|
|
138
|
+
|
|
139
|
+
// Sort the actions by the order specified since amazon does not return them in order of order
|
|
140
|
+
alb.listeners.forEach((l) => {
|
|
141
|
+
l.defaultActions.sort((a, b) => a.order - b.order);
|
|
142
|
+
l.rules.forEach((r) => r.actions.sort((a, b) => a.order - b.order));
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
public normalizeLoadBalancer(loadBalancer: IAmazonLoadBalancer): PromiseLike<IAmazonLoadBalancer> {
|
|
148
|
+
this.normalizeServerGroups(loadBalancer.serverGroups, loadBalancer, 'loadBalancers', 'LoadBalancer');
|
|
149
|
+
|
|
150
|
+
let serverGroups = loadBalancer.serverGroups;
|
|
151
|
+
if ((loadBalancer as IAmazonApplicationLoadBalancer).targetGroups) {
|
|
152
|
+
const appLoadBalancer = loadBalancer as IAmazonApplicationLoadBalancer;
|
|
153
|
+
appLoadBalancer.targetGroups.forEach((targetGroup) => this.normalizeTargetGroup(targetGroup));
|
|
154
|
+
serverGroups = flatten<IAmazonServerGroup>(map(appLoadBalancer.targetGroups, 'serverGroups'));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
loadBalancer.loadBalancerType = loadBalancer.loadBalancerType || 'classic';
|
|
158
|
+
loadBalancer.provider = loadBalancer.type;
|
|
159
|
+
|
|
160
|
+
this.normalizeActions(loadBalancer as IAmazonApplicationLoadBalancer);
|
|
161
|
+
|
|
162
|
+
const activeServerGroups = filter(serverGroups, { isDisabled: false });
|
|
163
|
+
loadBalancer.instances = chain(activeServerGroups).map('instances').flatten<IInstance>().value();
|
|
164
|
+
loadBalancer.detachedInstances = chain(activeServerGroups).map('detachedInstances').flatten<IInstance>().value();
|
|
165
|
+
this.updateHealthCounts(loadBalancer);
|
|
166
|
+
return VpcReader.listVpcs().then(
|
|
167
|
+
(vpcs: IVpc[]) => this.addVpcNameToContainer(loadBalancer)(vpcs) as IAmazonLoadBalancer,
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
public static convertClassicLoadBalancerForEditing(
|
|
172
|
+
loadBalancer: IAmazonClassicLoadBalancer,
|
|
173
|
+
): IAmazonClassicLoadBalancerUpsertCommand {
|
|
174
|
+
const toEdit: IAmazonClassicLoadBalancerUpsertCommand = {
|
|
175
|
+
availabilityZones: undefined,
|
|
176
|
+
isInternal: loadBalancer.isInternal,
|
|
177
|
+
region: loadBalancer.region,
|
|
178
|
+
cloudProvider: loadBalancer.cloudProvider,
|
|
179
|
+
credentials: loadBalancer.credentials || loadBalancer.account,
|
|
180
|
+
listeners: loadBalancer.listeners,
|
|
181
|
+
loadBalancerType: 'classic',
|
|
182
|
+
name: loadBalancer.name,
|
|
183
|
+
regionZones: loadBalancer.availabilityZones,
|
|
184
|
+
securityGroups: loadBalancer.securityGroups,
|
|
185
|
+
vpcId: loadBalancer.vpcId,
|
|
186
|
+
healthCheck: undefined,
|
|
187
|
+
healthTimeout: loadBalancer.healthTimeout,
|
|
188
|
+
healthInterval: loadBalancer.healthInterval,
|
|
189
|
+
healthyThreshold: loadBalancer.healthyThreshold,
|
|
190
|
+
unhealthyThreshold: loadBalancer.unhealthyThreshold,
|
|
191
|
+
healthCheckProtocol: loadBalancer.healthCheckProtocol,
|
|
192
|
+
healthCheckPort: loadBalancer.healthCheckPort,
|
|
193
|
+
healthCheckPath: loadBalancer.healthCheckPath,
|
|
194
|
+
idleTimeout: loadBalancer.idleTimeout || 60,
|
|
195
|
+
subnetType: loadBalancer.subnetType,
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
if (loadBalancer.elb) {
|
|
199
|
+
const elb = loadBalancer.elb as IClassicLoadBalancerSourceData;
|
|
200
|
+
toEdit.securityGroups = elb.securityGroups;
|
|
201
|
+
toEdit.vpcId = elb.vpcid || elb.vpcId;
|
|
202
|
+
|
|
203
|
+
if (elb.listenerDescriptions) {
|
|
204
|
+
toEdit.listeners = elb.listenerDescriptions.map(
|
|
205
|
+
(description: any): IClassicListenerDescription => {
|
|
206
|
+
const listener = description.listener;
|
|
207
|
+
if (listener.sslcertificateId) {
|
|
208
|
+
const splitCertificateId = listener.sslcertificateId.split('/');
|
|
209
|
+
listener.sslcertificateId = splitCertificateId[1];
|
|
210
|
+
listener.sslCertificateType = splitCertificateId[0].split(':')[2];
|
|
211
|
+
}
|
|
212
|
+
return {
|
|
213
|
+
internalProtocol: listener.instanceProtocol,
|
|
214
|
+
internalPort: listener.instancePort,
|
|
215
|
+
externalProtocol: listener.protocol,
|
|
216
|
+
externalPort: listener.loadBalancerPort,
|
|
217
|
+
sslCertificateId: listener.sslcertificateId,
|
|
218
|
+
sslCertificateName: listener.sslcertificateId,
|
|
219
|
+
sslCertificateType: listener.sslCertificateType,
|
|
220
|
+
policyNames: description.policyNames,
|
|
221
|
+
};
|
|
222
|
+
},
|
|
223
|
+
);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (elb.healthCheck && elb.healthCheck.target) {
|
|
227
|
+
toEdit.healthTimeout = elb.healthCheck.timeout;
|
|
228
|
+
toEdit.healthInterval = elb.healthCheck.interval;
|
|
229
|
+
toEdit.healthyThreshold = elb.healthCheck.healthyThreshold;
|
|
230
|
+
toEdit.unhealthyThreshold = elb.healthCheck.unhealthyThreshold;
|
|
231
|
+
|
|
232
|
+
const healthCheck = elb.healthCheck.target;
|
|
233
|
+
const protocolIndex = healthCheck.indexOf(':');
|
|
234
|
+
let pathIndex = healthCheck.indexOf('/');
|
|
235
|
+
|
|
236
|
+
if (pathIndex === -1) {
|
|
237
|
+
pathIndex = healthCheck.length;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (protocolIndex !== -1) {
|
|
241
|
+
toEdit.healthCheckProtocol = healthCheck.substring(0, protocolIndex);
|
|
242
|
+
const healthCheckPort = Number(healthCheck.substring(protocolIndex + 1, pathIndex));
|
|
243
|
+
toEdit.healthCheckPath = healthCheck.substring(pathIndex);
|
|
244
|
+
if (!isNaN(healthCheckPort)) {
|
|
245
|
+
toEdit.healthCheckPort = healthCheckPort;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return toEdit;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
public static convertApplicationLoadBalancerForEditing(
|
|
254
|
+
loadBalancer: IAmazonApplicationLoadBalancer,
|
|
255
|
+
): IAmazonApplicationLoadBalancerUpsertCommand {
|
|
256
|
+
const applicationName = NameUtils.parseLoadBalancerName(loadBalancer.name).application;
|
|
257
|
+
|
|
258
|
+
// Since we build up toEdit as we go, much easier to declare as any, then cast at return time.
|
|
259
|
+
const toEdit: IAmazonApplicationLoadBalancerUpsertCommand = {
|
|
260
|
+
availabilityZones: undefined,
|
|
261
|
+
isInternal: loadBalancer.isInternal,
|
|
262
|
+
region: loadBalancer.region,
|
|
263
|
+
loadBalancerType: 'application',
|
|
264
|
+
cloudProvider: loadBalancer.cloudProvider,
|
|
265
|
+
credentials: loadBalancer.account || loadBalancer.credentials,
|
|
266
|
+
listeners: [],
|
|
267
|
+
targetGroups: [],
|
|
268
|
+
name: loadBalancer.name,
|
|
269
|
+
regionZones: loadBalancer.availabilityZones,
|
|
270
|
+
securityGroups: [],
|
|
271
|
+
subnetType: loadBalancer.subnetType,
|
|
272
|
+
vpcId: undefined,
|
|
273
|
+
idleTimeout: loadBalancer.idleTimeout || 60,
|
|
274
|
+
deletionProtection: loadBalancer.deletionProtection || false,
|
|
275
|
+
ipAddressType: loadBalancer.ipAddressType || 'ipv4',
|
|
276
|
+
dualstack: loadBalancer.ipAddressType === 'dualstack',
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
if (loadBalancer.elb) {
|
|
280
|
+
const elb = loadBalancer.elb as IApplicationLoadBalancerSourceData;
|
|
281
|
+
toEdit.securityGroups = elb.securityGroups;
|
|
282
|
+
toEdit.vpcId = elb.vpcid || elb.vpcId;
|
|
283
|
+
|
|
284
|
+
// Convert listeners
|
|
285
|
+
if (elb.listeners) {
|
|
286
|
+
toEdit.listeners = elb.listeners.map((listener) => {
|
|
287
|
+
const certificates: IALBListenerCertificate[] = [];
|
|
288
|
+
if (listener.certificates) {
|
|
289
|
+
listener.certificates.forEach((cert) => {
|
|
290
|
+
const certArnParts = cert.certificateArn.split(':');
|
|
291
|
+
const certParts = certArnParts[5].split('/');
|
|
292
|
+
certificates.push({
|
|
293
|
+
certificateArn: cert.certificateArn,
|
|
294
|
+
type: certArnParts[2],
|
|
295
|
+
name: certParts[1],
|
|
296
|
+
});
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
(listener.defaultActions || []).forEach((action) => {
|
|
301
|
+
if (action.targetGroupName) {
|
|
302
|
+
action.targetGroupName = action.targetGroupName.replace(`${applicationName}-`, '');
|
|
303
|
+
}
|
|
304
|
+
action.redirectActionConfig = action.redirectConfig;
|
|
305
|
+
});
|
|
306
|
+
|
|
307
|
+
// Remove the default rule because it already exists in defaultActions
|
|
308
|
+
listener.rules = (listener.rules || []).filter((l) => !l.default);
|
|
309
|
+
listener.rules.forEach((rule) => {
|
|
310
|
+
(rule.actions || []).forEach((action) => {
|
|
311
|
+
if (action.targetGroupName) {
|
|
312
|
+
action.targetGroupName = action.targetGroupName.replace(`${applicationName}-`, '');
|
|
313
|
+
}
|
|
314
|
+
action.redirectActionConfig = action.redirectConfig;
|
|
315
|
+
});
|
|
316
|
+
(rule.conditions || []).forEach((condition) => {
|
|
317
|
+
if (condition.field === 'http-request-method') {
|
|
318
|
+
condition.values = condition.httpRequestMethodConfig.values;
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
rule.conditions = rule.conditions || [];
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
// Sort listener.rules by priority.
|
|
325
|
+
listener.rules.sort((a, b) => (a.priority as number) - (b.priority as number));
|
|
326
|
+
|
|
327
|
+
return {
|
|
328
|
+
protocol: listener.protocol,
|
|
329
|
+
port: listener.port,
|
|
330
|
+
defaultActions: listener.defaultActions,
|
|
331
|
+
certificates,
|
|
332
|
+
rules: listener.rules || [],
|
|
333
|
+
sslPolicy: listener.sslPolicy,
|
|
334
|
+
};
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// Convert target groups
|
|
339
|
+
if (elb.targetGroups) {
|
|
340
|
+
toEdit.targetGroups = elb.targetGroups.map((targetGroup: any) => {
|
|
341
|
+
return {
|
|
342
|
+
name: targetGroup.targetGroupName.replace(`${applicationName}-`, ''),
|
|
343
|
+
protocol: targetGroup.protocol,
|
|
344
|
+
port: targetGroup.port,
|
|
345
|
+
targetType: targetGroup.targetType,
|
|
346
|
+
healthCheckProtocol: targetGroup.healthCheckProtocol,
|
|
347
|
+
healthCheckPort: targetGroup.healthCheckPort,
|
|
348
|
+
healthCheckPath: targetGroup.healthCheckPath,
|
|
349
|
+
healthCheckTimeout: targetGroup.healthCheckTimeoutSeconds,
|
|
350
|
+
healthCheckInterval: targetGroup.healthCheckIntervalSeconds,
|
|
351
|
+
healthyThreshold: targetGroup.healthyThresholdCount,
|
|
352
|
+
unhealthyThreshold: targetGroup.unhealthyThresholdCount,
|
|
353
|
+
attributes: {
|
|
354
|
+
deregistrationDelay: Number(targetGroup.attributes['deregistration_delay.timeout_seconds']),
|
|
355
|
+
stickinessEnabled: targetGroup.attributes['stickiness.enabled'] === 'true',
|
|
356
|
+
stickinessType: targetGroup.attributes['stickiness.type'],
|
|
357
|
+
stickinessDuration: Number(targetGroup.attributes['stickiness.lb_cookie.duration_seconds']),
|
|
358
|
+
multiValueHeadersEnabled: targetGroup.attributes['lambda.multi_value_headers.enabled'] === 'true',
|
|
359
|
+
},
|
|
360
|
+
};
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
return toEdit;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
public static convertNetworkLoadBalancerForEditing(
|
|
368
|
+
loadBalancer: IAmazonApplicationLoadBalancer,
|
|
369
|
+
): IAmazonNetworkLoadBalancerUpsertCommand {
|
|
370
|
+
const applicationName = NameUtils.parseLoadBalancerName(loadBalancer.name).application;
|
|
371
|
+
|
|
372
|
+
// Since we build up toEdit as we go, much easier to declare as any, then cast at return time.
|
|
373
|
+
const toEdit: IAmazonNetworkLoadBalancerUpsertCommand = {
|
|
374
|
+
availabilityZones: undefined,
|
|
375
|
+
isInternal: loadBalancer.isInternal,
|
|
376
|
+
region: loadBalancer.region,
|
|
377
|
+
loadBalancerType: 'network',
|
|
378
|
+
cloudProvider: loadBalancer.cloudProvider,
|
|
379
|
+
credentials: loadBalancer.account || loadBalancer.credentials,
|
|
380
|
+
listeners: [],
|
|
381
|
+
targetGroups: [],
|
|
382
|
+
name: loadBalancer.name,
|
|
383
|
+
regionZones: loadBalancer.availabilityZones,
|
|
384
|
+
securityGroups: [],
|
|
385
|
+
subnetType: loadBalancer.subnetType,
|
|
386
|
+
vpcId: undefined,
|
|
387
|
+
deletionProtection: loadBalancer.deletionProtection,
|
|
388
|
+
loadBalancingCrossZone: loadBalancer.loadBalancingCrossZone,
|
|
389
|
+
ipAddressType: loadBalancer.ipAddressType || 'ipv4',
|
|
390
|
+
dualstack: loadBalancer.ipAddressType === 'dualstack',
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
if (loadBalancer.elb) {
|
|
394
|
+
const elb = loadBalancer.elb as INetworkLoadBalancerSourceData;
|
|
395
|
+
toEdit.securityGroups = elb.securityGroups;
|
|
396
|
+
toEdit.vpcId = elb.vpcid || elb.vpcId;
|
|
397
|
+
|
|
398
|
+
// Convert listeners
|
|
399
|
+
if (elb.listeners) {
|
|
400
|
+
toEdit.listeners = elb.listeners.map((listener) => {
|
|
401
|
+
const certificates: IALBListenerCertificate[] = [];
|
|
402
|
+
if (listener.certificates) {
|
|
403
|
+
listener.certificates.forEach((cert) => {
|
|
404
|
+
const certArnParts = cert.certificateArn.split(':');
|
|
405
|
+
const certParts = certArnParts[5].split('/');
|
|
406
|
+
certificates.push({
|
|
407
|
+
certificateArn: cert.certificateArn,
|
|
408
|
+
type: certArnParts[2],
|
|
409
|
+
name: certParts[1],
|
|
410
|
+
});
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
(listener.defaultActions || []).forEach((action) => {
|
|
415
|
+
if (action.targetGroupName) {
|
|
416
|
+
action.targetGroupName = action.targetGroupName.replace(`${applicationName}-`, '');
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
|
|
420
|
+
// Remove the default rule because it already exists in defaultActions
|
|
421
|
+
listener.rules = (listener.rules || []).filter((l) => !l.default);
|
|
422
|
+
listener.rules.forEach((rule) => {
|
|
423
|
+
(rule.actions || []).forEach((action) => {
|
|
424
|
+
if (action.targetGroupName) {
|
|
425
|
+
action.targetGroupName = action.targetGroupName.replace(`${applicationName}-`, '');
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
rule.conditions = rule.conditions || [];
|
|
429
|
+
});
|
|
430
|
+
|
|
431
|
+
// Sort listener.rules by priority.
|
|
432
|
+
listener.rules.sort((a, b) => (a.priority as number) - (b.priority as number));
|
|
433
|
+
|
|
434
|
+
return {
|
|
435
|
+
protocol: listener.protocol,
|
|
436
|
+
port: listener.port,
|
|
437
|
+
defaultActions: listener.defaultActions,
|
|
438
|
+
certificates,
|
|
439
|
+
rules: listener.rules || [],
|
|
440
|
+
sslPolicy: listener.sslPolicy,
|
|
441
|
+
};
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
// Convert target groups
|
|
446
|
+
if (elb.targetGroups) {
|
|
447
|
+
toEdit.targetGroups = elb.targetGroups.map((targetGroup: any) => {
|
|
448
|
+
return {
|
|
449
|
+
name: targetGroup.targetGroupName.replace(`${applicationName}-`, ''),
|
|
450
|
+
protocol: targetGroup.protocol,
|
|
451
|
+
port: targetGroup.port,
|
|
452
|
+
targetType: targetGroup.targetType,
|
|
453
|
+
healthCheckProtocol: targetGroup.healthCheckProtocol,
|
|
454
|
+
healthCheckPort: targetGroup.healthCheckPort,
|
|
455
|
+
healthCheckTimeout: targetGroup.healthCheckTimeoutSeconds,
|
|
456
|
+
healthCheckInterval: targetGroup.healthCheckIntervalSeconds,
|
|
457
|
+
healthyThreshold: targetGroup.healthyThresholdCount,
|
|
458
|
+
unhealthyThreshold: targetGroup.unhealthyThresholdCount,
|
|
459
|
+
healthCheckPath: targetGroup.healthCheckPath,
|
|
460
|
+
attributes: {
|
|
461
|
+
deregistrationDelay: Number(targetGroup.attributes['deregistration_delay.timeout_seconds']),
|
|
462
|
+
deregistrationDelayConnectionTermination: Boolean(
|
|
463
|
+
targetGroup.attributes['deregistration_delay.connection_termination.enabled'] === 'true',
|
|
464
|
+
),
|
|
465
|
+
preserveClientIp: Boolean(targetGroup.attributes['preserve_client_ip.enabled'] === 'true'),
|
|
466
|
+
},
|
|
467
|
+
};
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return toEdit;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
public static constructNewClassicLoadBalancerTemplate(
|
|
475
|
+
application: Application,
|
|
476
|
+
): IAmazonClassicLoadBalancerUpsertCommand {
|
|
477
|
+
const defaultCredentials = application.defaultCredentials.aws || AWSProviderSettings.defaults.account;
|
|
478
|
+
const defaultRegion = application.defaultRegions.aws || AWSProviderSettings.defaults.region;
|
|
479
|
+
const defaultSubnetType = AWSProviderSettings.defaults.subnetType;
|
|
480
|
+
return {
|
|
481
|
+
availabilityZones: undefined,
|
|
482
|
+
name: '',
|
|
483
|
+
stack: '',
|
|
484
|
+
detail: '',
|
|
485
|
+
loadBalancerType: 'classic',
|
|
486
|
+
isInternal: false,
|
|
487
|
+
cloudProvider: 'aws',
|
|
488
|
+
credentials: defaultCredentials,
|
|
489
|
+
region: defaultRegion,
|
|
490
|
+
vpcId: null,
|
|
491
|
+
subnetType: defaultSubnetType,
|
|
492
|
+
healthCheck: undefined,
|
|
493
|
+
healthCheckProtocol: 'HTTP',
|
|
494
|
+
healthCheckPort: 7001,
|
|
495
|
+
healthCheckPath: '/healthcheck',
|
|
496
|
+
healthTimeout: 5,
|
|
497
|
+
healthInterval: 10,
|
|
498
|
+
healthyThreshold: 10,
|
|
499
|
+
unhealthyThreshold: 2,
|
|
500
|
+
idleTimeout: 60,
|
|
501
|
+
regionZones: [],
|
|
502
|
+
securityGroups: [],
|
|
503
|
+
listeners: [
|
|
504
|
+
{
|
|
505
|
+
externalPort: 80,
|
|
506
|
+
externalProtocol: 'HTTP',
|
|
507
|
+
internalPort: 7001,
|
|
508
|
+
internalProtocol: 'HTTP',
|
|
509
|
+
},
|
|
510
|
+
],
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
public static constructNewApplicationLoadBalancerTemplate(
|
|
515
|
+
application: Application,
|
|
516
|
+
): IAmazonApplicationLoadBalancerUpsertCommand {
|
|
517
|
+
const defaultCredentials = application.defaultCredentials.aws || AWSProviderSettings.defaults.account;
|
|
518
|
+
const defaultRegion = application.defaultRegions.aws || AWSProviderSettings.defaults.region;
|
|
519
|
+
const defaultSubnetType = AWSProviderSettings.defaults.subnetType;
|
|
520
|
+
const defaultPort = application.attributes.instancePort || SETTINGS.defaultInstancePort;
|
|
521
|
+
const defaultTargetGroupName = `targetgroup`;
|
|
522
|
+
return {
|
|
523
|
+
name: '',
|
|
524
|
+
availabilityZones: undefined,
|
|
525
|
+
stack: '',
|
|
526
|
+
detail: '',
|
|
527
|
+
loadBalancerType: 'application',
|
|
528
|
+
ipAddressType: 'ipv4',
|
|
529
|
+
dualstack: false,
|
|
530
|
+
isInternal: false,
|
|
531
|
+
cloudProvider: 'aws',
|
|
532
|
+
credentials: defaultCredentials,
|
|
533
|
+
region: defaultRegion,
|
|
534
|
+
vpcId: null,
|
|
535
|
+
subnetType: defaultSubnetType,
|
|
536
|
+
idleTimeout: 60,
|
|
537
|
+
deletionProtection: false,
|
|
538
|
+
targetGroups: [
|
|
539
|
+
{
|
|
540
|
+
name: defaultTargetGroupName,
|
|
541
|
+
protocol: 'HTTP',
|
|
542
|
+
port: defaultPort,
|
|
543
|
+
targetType: 'instance',
|
|
544
|
+
healthCheckProtocol: 'HTTP',
|
|
545
|
+
healthCheckPort: 'traffic-port',
|
|
546
|
+
healthCheckPath: '/healthcheck',
|
|
547
|
+
healthCheckTimeout: 5,
|
|
548
|
+
healthCheckInterval: 10,
|
|
549
|
+
healthyThreshold: 10,
|
|
550
|
+
unhealthyThreshold: 2,
|
|
551
|
+
attributes: {
|
|
552
|
+
deregistrationDelay: 300,
|
|
553
|
+
stickinessEnabled: false,
|
|
554
|
+
stickinessType: 'lb_cookie',
|
|
555
|
+
stickinessDuration: 8400,
|
|
556
|
+
multiValueHeadersEnabled: false,
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
],
|
|
560
|
+
regionZones: [],
|
|
561
|
+
securityGroups: [],
|
|
562
|
+
listeners: [
|
|
563
|
+
{
|
|
564
|
+
certificates: [],
|
|
565
|
+
protocol: 'HTTP',
|
|
566
|
+
port: 80,
|
|
567
|
+
defaultActions: [
|
|
568
|
+
{
|
|
569
|
+
type: 'forward',
|
|
570
|
+
targetGroupName: defaultTargetGroupName,
|
|
571
|
+
},
|
|
572
|
+
],
|
|
573
|
+
rules: [],
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
public static constructNewNetworkLoadBalancerTemplate(
|
|
580
|
+
application: Application,
|
|
581
|
+
): IAmazonNetworkLoadBalancerUpsertCommand {
|
|
582
|
+
const defaultCredentials = application.defaultCredentials.aws || AWSProviderSettings.defaults.account;
|
|
583
|
+
const defaultRegion = application.defaultRegions.aws || AWSProviderSettings.defaults.region;
|
|
584
|
+
const defaultSubnetType = AWSProviderSettings.defaults.subnetType;
|
|
585
|
+
const defaultTargetGroupName = `targetgroup`;
|
|
586
|
+
return {
|
|
587
|
+
name: '',
|
|
588
|
+
availabilityZones: undefined,
|
|
589
|
+
stack: '',
|
|
590
|
+
detail: '',
|
|
591
|
+
loadBalancerType: 'network',
|
|
592
|
+
isInternal: false,
|
|
593
|
+
ipAddressType: 'ipv4',
|
|
594
|
+
dualstack: false,
|
|
595
|
+
cloudProvider: 'aws',
|
|
596
|
+
credentials: defaultCredentials,
|
|
597
|
+
region: defaultRegion,
|
|
598
|
+
vpcId: null,
|
|
599
|
+
subnetType: defaultSubnetType,
|
|
600
|
+
deletionProtection: false,
|
|
601
|
+
loadBalancingCrossZone: true,
|
|
602
|
+
securityGroups: [],
|
|
603
|
+
targetGroups: [
|
|
604
|
+
{
|
|
605
|
+
name: defaultTargetGroupName,
|
|
606
|
+
protocol: 'TCP',
|
|
607
|
+
port: 7001,
|
|
608
|
+
targetType: 'instance',
|
|
609
|
+
healthCheckProtocol: 'TCP',
|
|
610
|
+
healthCheckPath: '/healthcheck',
|
|
611
|
+
healthCheckPort: 'traffic-port',
|
|
612
|
+
healthCheckTimeout: 5,
|
|
613
|
+
healthCheckInterval: 10,
|
|
614
|
+
healthyThreshold: 10,
|
|
615
|
+
unhealthyThreshold: 10,
|
|
616
|
+
attributes: {
|
|
617
|
+
deregistrationDelay: 300,
|
|
618
|
+
},
|
|
619
|
+
},
|
|
620
|
+
],
|
|
621
|
+
regionZones: [],
|
|
622
|
+
listeners: [
|
|
623
|
+
{
|
|
624
|
+
certificates: [],
|
|
625
|
+
protocol: 'TCP',
|
|
626
|
+
port: 80,
|
|
627
|
+
defaultActions: [
|
|
628
|
+
{
|
|
629
|
+
type: 'forward',
|
|
630
|
+
targetGroupName: defaultTargetGroupName,
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
rules: [],
|
|
634
|
+
},
|
|
635
|
+
],
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.target-group-title {
|
|
2
|
+
color: var(--color-mineshaft);
|
|
3
|
+
font-weight: 600;
|
|
4
|
+
font-size: 14px;
|
|
5
|
+
padding-right: 15px;
|
|
6
|
+
text-transform: uppercase;
|
|
7
|
+
padding-left: 10px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.cluster-container {
|
|
11
|
+
.target-group-container {
|
|
12
|
+
margin-top: 3px;
|
|
13
|
+
&:not(:first-child) {
|
|
14
|
+
padding-top: 5px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.target-group-container {
|
|
20
|
+
.target-group-header {
|
|
21
|
+
padding: 4px 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.server-group-title {
|
|
25
|
+
padding-top: 0;
|
|
26
|
+
.clickable-row {
|
|
27
|
+
margin-top: -1px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.no-margin-y {
|
|
31
|
+
margin-top: -1px !important;
|
|
32
|
+
margin-bottom: 0 !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
> div {
|
|
36
|
+
> .text-right {
|
|
37
|
+
padding-right: 10px;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.listener-targets {
|
|
44
|
+
display: inline-block;
|
|
45
|
+
vertical-align: top;
|
|
46
|
+
}
|