This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
315 changed files
with
33,434 additions
and
2,637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
addons/addon-base-raas-ui/packages/base-raas-ui/src/models/constants/aws-regions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
/* eslint-disable import/prefer-default-export */ | ||
import _ from 'lodash'; | ||
|
||
const regionNames = [ | ||
'us-east-1', | ||
'us-east-2', | ||
'us-west-1', | ||
'us-west-2', | ||
'af-south-1', | ||
'ap-east-1', | ||
'ap-south-1', | ||
'ap-northeast-1', | ||
'ap-northeast-2', | ||
'ap-northeast-3', | ||
'ap-southeast-1', | ||
'ap-southeast-2', | ||
'ca-central-1', | ||
'eu-central-1', | ||
'eu-north-1', | ||
'eu-south-1', | ||
'eu-west-1', | ||
'eu-west-2', | ||
'eu-west-3', | ||
'me-south-1', | ||
'sa-east-1', | ||
]; | ||
|
||
const regionOptions = _.map(regionNames, name => ({ | ||
key: name, | ||
value: name, | ||
text: name, | ||
})); | ||
|
||
export { regionNames, regionOptions }; |
33 changes: 33 additions & 0 deletions
33
addons/addon-base-raas-ui/packages/base-raas-ui/src/models/constants/bucket.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
/* eslint-disable import/prefer-default-export */ | ||
|
||
const encryptionOptions = [ | ||
{ | ||
text: 'AWS Key Management Service key (SSE-KMS)', | ||
value: 'kms', | ||
}, | ||
{ | ||
text: 'Amazon S3 key (SSE-S3)', | ||
value: 's3', | ||
}, | ||
{ | ||
text: 'Disabled', | ||
value: 'none', | ||
}, | ||
]; | ||
|
||
export { encryptionOptions }; |
Oops, something went wrong.