GetRolePolicyResponse

public struct GetRolePolicyResponse : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The policy document. IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

    Declaration

    Swift

    public let policyDocument: String
  • The name of the policy.

    Declaration

    Swift

    public let policyName: String
  • The role the policy is associated with.

    Declaration

    Swift

    public let roleName: String
  • Undocumented

    Declaration

    Swift

    public init(policyDocument: String, policyName: String, roleName: String)