Skip to content

/AWS1/CL_NEP=>ADDROLETODBCLUSTER()

About AddRoleToDBCluster

Associates an Identity and Access Management (IAM) role with an Neptune DB cluster.

Method Signature

IMPORTING

Required arguments:

iv_dbclusteridentifier TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING

The name of the DB cluster to associate the IAM role with.

iv_rolearn TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING

The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune DB cluster, for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

Optional arguments:

iv_featurename TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING

The name of the feature for the Neptune DB cluster that the IAM role is to be associated with. For the list of supported feature names, see DBEngineVersion.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->/aws1/if_nep~addroletodbcluster(
  iv_dbclusteridentifier = |string|
  iv_featurename = |string|
  iv_rolearn = |string|
).