CreatePolicyVersionRequest

public struct CreatePolicyVersionRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.

    Declaration

    Swift

    public let policyDocument: String
  • The policy name.

    Declaration

    Swift

    public let policyName: String
  • 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).

    Declaration

    Swift

    public let setAsDefault: Bool?
  • Undocumented

    Declaration

    Swift

    public init(policyDocument: String, policyName: String, setAsDefault: Bool? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws