Skip to content

Put Attribute Mapping

iamrolesanywhere_put_attribute_mapping R Documentation

Put an entry in the attribute mapping rules that will be enforced by a given profile

Description

Put an entry in the attribute mapping rules that will be enforced by a given profile. A mapping specifies a certificate field and one or more specifiers that have contextual meanings.

Usage

iamrolesanywhere_put_attribute_mapping(certificateField, mappingRules,
  profileId)

Arguments

certificateField

[required] Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

mappingRules

[required] A list of mapping entries for every supported specifier or sub-field.

profileId

[required] The unique identifier of the profile.

Value

A list with the following syntax:

list(
  profile = list(
    acceptRoleSessionName = TRUE|FALSE,
    attributeMappings = list(
      list(
        certificateField = "x509Subject"|"x509Issuer"|"x509SAN",
        mappingRules = list(
          list(
            specifier = "string"
          )
        )
      )
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    createdBy = "string",
    durationSeconds = 123,
    enabled = TRUE|FALSE,
    managedPolicyArns = list(
      "string"
    ),
    name = "string",
    profileArn = "string",
    profileId = "string",
    requireInstanceProperties = TRUE|FALSE,
    roleArns = list(
      "string"
    ),
    sessionPolicy = "string",
    updatedAt = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$put_attribute_mapping(
  certificateField = "x509Subject"|"x509Issuer"|"x509SAN",
  mappingRules = list(
    list(
      specifier = "string"
    )
  ),
  profileId = "string"
)