Properties
| Name | Type | Description |
|---|---|---|
| PolicyArn | object | |
| VersionId | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SetDefaultPolicyVersionRequest",
"title": "SetDefaultPolicyVersionRequest",
"type": "object",
"required": [
"PolicyArn",
"VersionId"
],
"properties": {
"PolicyArn": {
"allOf": [
{
"$ref": "#/components/schemas/arnType"
},
{
"description": "<p>The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.</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>"
}
]
},
"VersionId": {
"allOf": [
{
"$ref": "#/components/schemas/policyVersionIdType"
},
{
"description": "<p>The version of the policy to set as the default (operative) version.</p> <p>For more information about managed policy versions, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html\">Versioning for managed policies</a> in the <i>IAM User Guide</i>.</p>"
}
]
}
}
}