Amazon Redshiftの一時停止/再開のDescriptionはどこに表示されるのか?
はじめに
AWSのRedshiftは停止/再開アクションをスケジュールで自動化することが可能です。
コンソールからスケジュール設定をする際に、スケジュールのDescriptionを付けることが
可能ですが、どこでDescriptionが確認できるのかがわからなかったので、探ってみました。
スケジュール設定
Descriptionを見ることのみが目的なので、設定は適当にします。
以下の赤枠の記載内容を後に確認します。
設定後の確認
Amazon Redshift > クラスター > 設定対象のクラスター > スケジュール(タブ)
赤枠のところが設定されたスケジュールですが、スケジュール名の隣にはDescriptionは表示されていません。
では次に、設定したスケジュールの「test-resume」をクリックします。以下の画面に移ります。
ここにも表示されていません。
どうやら現行のコンソールからDescriptionは確認できないようです。
AWS CLIから確認
AWS CLIの「describe-scheduled-actions」コマンドを使用すると確認できました。
"ScheduledActionDescription": "Scheduled pause and resume"と表示されています。
$ aws redshift describe-scheduled-actions
{
"ScheduledActions": [
{
"ScheduledActionName": "test-pause",
"TargetAction": {
"PauseCluster": {
"ClusterIdentifier": "redshift-cluster-test"
}
},
"Schedule": "cron(00 00 * * ? *)",
"IamRole": "*****",
"ScheduledActionDescription": "Scheduled pause and resume",
"State": "ACTIVE",
"NextInvocations": [
"2020-08-02T00:00:00Z",
"2020-08-03T00:00:00Z",
"2020-08-04T00:00:00Z",
"2020-08-05T00:00:00Z",
"2020-08-06T00:00:00Z"
],
"StartTime": "2020-08-01T00:00:00Z"
},
{
"ScheduledActionName": "test-resume",
"TargetAction": {
"ResumeCluster": {
"ClusterIdentifier": "redshift-cluster-test"
}
},
"Schedule": "cron(00 23 * * ? *)",
"IamRole": "*****",
"ScheduledActionDescription": "Scheduled pause and resume",
"State": "ACTIVE",
"NextInvocations": [
"2020-08-01T23:00:00Z",
"2020-08-02T23:00:00Z",
"2020-08-03T23:00:00Z",
"2020-08-04T23:00:00Z",
"2020-08-05T23:00:00Z"
],
"StartTime": "2020-08-01T00:00:00Z"
}
]
}
Author And Source
この問題について(Amazon Redshiftの一時停止/再開のDescriptionはどこに表示されるのか?), 我々は、より多くの情報をここで見つけました https://qiita.com/latin1/items/4c3af88a012daeb22902著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .