@@ -399,6 +427,41 @@ const DestSettings: React.FC = (props) => {
/>
)}
+
+
+ ) => {
+ setDestPutObjectSSEType(event.target.value);
+ }}
+ selectValue={destPutObjectSSEType}
+ optionList={S3_ENCRYPTION_OPTIONS}
+ />
+
+
+ {showKMSKeyInput && (
+
+ ) => {
+ setDestPutObjectSSEKmsKeyId(event.target.value);
+ }}
+ inputName="destPutObjectSSEKmsKeyId"
+ inputValue={destPutObjectSSEKmsKeyId}
+ placeholder="12345678-1234-1234-1234-123456789012"
+ showRequiredError={kmsKeyRequiredError}
+ requiredErrorMsg={t("tips.error.kmsKeyRequired")}
+ />
+
+ )}
)}
diff --git a/source/portal/src/pages/creation/s3/comps/SourceSettings.tsx b/source/portal/src/pages/creation/s3/comps/SourceSettings.tsx
index 5c6f4c6..29828ec 100644
--- a/source/portal/src/pages/creation/s3/comps/SourceSettings.tsx
+++ b/source/portal/src/pages/creation/s3/comps/SourceSettings.tsx
@@ -1,7 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import React, { useState, useEffect, useRef } from "react";
-import { useTranslation } from "react-i18next";
+import { Trans, useTranslation } from "react-i18next";
import { useDispatch, useMappedState } from "redux-react-hook";
// DRH Comp
@@ -36,8 +36,10 @@ import {
import { IState } from "store/Store";
import Alert from "common/Alert";
+import { buildS3Link } from "assets/utils/utils";
const mapState = (state: IState) => ({
tmpTaskInfo: state.tmpTaskInfo,
+ amplifyConfig: state.amplifyConfig,
});
interface SourcePropType {
@@ -58,7 +60,7 @@ const SourceSettings: React.FC