AttachRolePolicyRequest
public struct AttachRolePolicyRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Amazon Resource Name (ARN) of the IAM policy you want to attach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
Declaration
Swift
public let policyArn: String
-
The name (friendly name, not ARN) of the role to attach the policy to. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Declaration
Swift
public let roleName: String
-
Undocumented
Declaration
Swift
public init(policyArn: String, roleName: String)
-
Declaration
Swift
public func validate(name: String) throws