PolicyVersion class

Contains information about a version of a managed policy.

This data type is used as a response element in the CreatePolicyVersion, GetPolicyVersion, ListPolicyVersions, and GetAccountAuthorizationDetails operations.

For more information about managed policies, refer to Managed Policies and Inline Policies in the IAM User Guide.

Constructors

PolicyVersion({DateTime? createDate, String? document, bool? isDefaultVersion, String? versionId})
PolicyVersion.fromXml(XmlElement elem)
factory

Properties

createDate DateTime?
The date and time, in ISO 8601 date-time format, when the policy version was created.
final
document String?
The policy document.
final
hashCode int
The hash code for this object.
no setterinherited
isDefaultVersion bool?
Specifies whether the policy version is set as the policy's default version.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
versionId String?
The identifier for the policy version.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited