Skip to content

Register an SAP application with AWS Systems Manager for SAP

Description

Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering.

The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.

AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.

Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.

Usage

ssmsap_register_application(ApplicationId, ApplicationType, Instances,
  SapInstanceNumber, Sid, Tags, Credentials, DatabaseArn, ComponentsInfo)

Arguments

  • ApplicationId

    [required] The ID of the application.

  • ApplicationType

    [required] The type of the application.

  • Instances

    [required] The Amazon EC2 instances on which your SAP application is running.

  • SapInstanceNumber

    The SAP instance number of the application.

  • Sid

    The System ID of the application.

  • Tags

    The tags to be attached to the SAP application.

  • Credentials

    The credentials of the SAP application.

  • DatabaseArn

    The Amazon Resource Name of the SAP HANA database.

  • ComponentsInfo

    This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.

    This is an array of ApplicationComponent objects. You may input 0 to 5 items.

Value

A list with the following syntax:

list(
  Application = list(
    Id = "string",
    Type = "HANA"|"SAP_ABAP",
    Arn = "string",
    AppRegistryArn = "string",
    Status = "ACTIVATED"|"STARTING"|"STOPPED"|"STOPPING"|"FAILED"|"REGISTERING"|"DELETING"|"UNKNOWN",
    DiscoveryStatus = "SUCCESS"|"REGISTRATION_FAILED"|"REFRESH_FAILED"|"REGISTERING"|"DELETING",
    Components = list(
      "string"
    ),
    LastUpdated = as.POSIXct(
      "2015-01-01"
    ),
    StatusMessage = "string",
    AssociatedApplicationArns = list(
      "string"
    )
  ),
  OperationId = "string"
)

Request syntax

svc$register_application(
  ApplicationId = "string",
  ApplicationType = "HANA"|"SAP_ABAP",
  Instances = list(
    "string"
  ),
  SapInstanceNumber = "string",
  Sid = "string",
  Tags = list(
    "string"
  ),
  Credentials = list(
    list(
      DatabaseName = "string",
      CredentialType = "ADMIN",
      SecretId = "string"
    )
  ),
  DatabaseArn = "string",
  ComponentsInfo = list(
    list(
      ComponentType = "HANA"|"HANA_NODE"|"ABAP"|"ASCS"|"DIALOG"|"WEBDISP"|"WD"|"ERS",
      Sid = "string",
      Ec2InstanceId = "string"
    )
  )
)