Policy
public struct Policy : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Undocumented
Declaration
Swift
public let arn: String?
-
The number of entities (users, groups, and roles) that the policy is attached to.
Declaration
Swift
public let attachmentCount: Int?
-
The date and time, in ISO 8601 date-time format, when the policy was created.
Declaration
Swift
public let createDate: TimeStamp?
-
The identifier for the version of the policy that is set as the default version.
Declaration
Swift
public let defaultVersionId: String?
-
A friendly description of the policy. This element is included in the response to the GetPolicy operation. It is not included in the response to the ListPolicies operation.
Declaration
Swift
public let description: String?
-
Specifies whether the policy can be attached to an IAM user, group, or role.
Declaration
Swift
public let isAttachable: Bool?
-
The path to the policy. For more information about paths, see IAM Identifiers in the IAM User Guide.
Declaration
Swift
public let path: String?
-
The number of entities (users and roles) for which the policy is used to set the permissions boundary. For more information about permissions boundaries, see Permissions Boundaries for IAM Identities in the IAM User Guide.
Declaration
Swift
public let permissionsBoundaryUsageCount: Int?
-
The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the IAM User Guide.
Declaration
Swift
public let policyId: String?
-
The friendly name (not ARN) identifying the policy.
Declaration
Swift
public let policyName: String?
-
The date and time, in ISO 8601 date-time format, when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
Declaration
Swift
public let updateDate: TimeStamp?
-
init(arn:attachmentCount:createDate:defaultVersionId:description:isAttachable:path:permissionsBoundaryUsageCount:policyId:policyName:updateDate:)
Undocumented
Declaration
Swift
public init(arn: String? = nil, attachmentCount: Int? = nil, createDate: TimeStamp? = nil, defaultVersionId: String? = nil, description: String? = nil, isAttachable: Bool? = nil, path: String? = nil, permissionsBoundaryUsageCount: Int? = nil, policyId: String? = nil, policyName: String? = nil, updateDate: TimeStamp? = nil)