File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export interface MissingTool {
3030 readonly reason ?: string
3131}
3232
33- const minimumSsmActions = [
33+ export const minimumSsmActions = [
3434 'ssmmessages:CreateControlChannel' ,
3535 'ssmmessages:CreateDataChannel' ,
3636 'ssmmessages:OpenControlChannel' ,
Original file line number Diff line number Diff line change 1+ /*!
2+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+ import assert from 'assert'
6+ import { minimumSsmActions } from '../../shared/remoteSession'
7+
8+ describe ( 'minimumSsmActions' , function ( ) {
9+ it ( 'should contain minimal actions needed for ssm connection' , function ( ) {
10+ assert . strictEqual ( minimumSsmActions , [
11+ 'ssmmessages:CreateControlChannel' ,
12+ 'ssmmessages:CreateDataChannel' ,
13+ 'ssmmessages:OpenControlChannel' ,
14+ 'ssmmessages:OpenDataChannel' ,
15+ 'ssm:DescribeAssociation' ,
16+ 'ssm:ListAssociations' ,
17+ 'ssm:UpdateInstanceInformation' ,
18+ ] )
19+ } )
20+ } )
You can’t perform that action at this time.
0 commit comments