CreatePermissionRequest

public struct CreatePermissionRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The actions that the specified AWS service principal can use. These include IssueCertificate, GetCertificate, and ListPermissions.

    Declaration

    Swift

    public let actions: [ActionType]
  • The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities action. This must have the following form: arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

    Declaration

    Swift

    public let certificateAuthorityArn: String
  • The AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com.

    Declaration

    Swift

    public let principal: String
  • The ID of the calling account.

    Declaration

    Swift

    public let sourceAccount: String?
  • Undocumented

    Declaration

    Swift

    public init(actions: [ActionType], certificateAuthorityArn: String, principal: String, sourceAccount: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws