AttachRolePolicyRequest

APIs.ioEngineeringPlatform

Properties

Name Type Description
RoleName object
PolicyArn object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-attachrolepolicyrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AttachRolePolicyRequest",
  "title": "AttachRolePolicyRequest",
  "type": "object",
  "required": [
    "RoleName",
    "PolicyArn"
  ],
  "properties": {
    "RoleName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/roleNameType"
        },
        {
          "description": "<p>The name (friendly name, not ARN) of the role to attach the policy to.</p> <p>This parameter allows (through its <a href=\"http://wikipedia.org/wiki/regex\">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p>"
        }
      ]
    },
    "PolicyArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/arnType"
        },
        {
          "description": "<p>The Amazon Resource Name (ARN) of the IAM policy you want to attach.</p> <p>For more information about ARNs, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>"
        }
      ]
    }
  }
}