PutPolicyRequest

public struct PutPolicyRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The path and filename of a JSON-formatted IAM policy to attach to the specified private CA resource. If this policy does not contain all required statements or if it includes any statement that is not allowed, the PutPolicy action returns an InvalidPolicyException. For information about IAM policy and statement structure, see Overview of JSON Policies.

    Declaration

    Swift

    public let policy: String
  • The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the ListCertificateAuthorities action.

    Declaration

    Swift

    public let resourceArn: String
  • Undocumented

    Declaration

    Swift

    public init(policy: String, resourceArn: String)
  • Declaration

    Swift

    public func validate(name: String) throws