go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/cli/execruntime/env_aws_run_command.go (about)

     1  // Copyright (c) Mondoo, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  package execruntime
     5  
     6  const AWS_RUN_COMMAND = "aws_ssm_runcommand"
     7  
     8  // see https://github.com/aws/amazon-ssm-agent/blob/master/agent/executers/executers.go
     9  var awsruncommandEnv = &RuntimeEnv{
    10  	Id:        AWS_RUN_COMMAND,
    11  	Name:      "AWS SSM Run Command",
    12  	Namespace: "ssm.aws.amazon.com",
    13  	Prefix:    "AWS_SSM",
    14  	Identify: []Variable{
    15  		{
    16  			Name: "AWS_SSM_INSTANCE_ID",
    17  			Desc: "The AWS instance where ssm command is executed",
    18  		},
    19  
    20  		{
    21  			Name: "AWS_SSM_REGION_NAME",
    22  			Desc: "The AWS Region where ssm command is executed",
    23  		},
    24  	},
    25  	Variables: []Variable{},
    26  }