Skip to content

CreatePolicyVersionRequest

Source code in docs_src/capo_iot/types/create_policy_version_request.py
class CreatePolicyVersionRequest(TypedDict, closed=True):
    policy_name: "capo_iot.types.policy_name.PolicyName"
    """<p>The policy name.</p>"""
    policy_document: "capo_iot.types.policy_document.PolicyDocument"
    """<p>The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.</p>"""
    set_as_default: "capo_iot.types.set_as_default.SetAsDefault"
    """<p>Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).</p>"""

policy_document instance-attribute

policy_document: PolicyDocument

The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.

policy_name instance-attribute

policy_name: PolicyName

The policy name.

set_as_default instance-attribute

set_as_default: SetAsDefault

Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).