Class GetRoleResult


  • public final class GetRoleResult
    extends java.lang.Object
    • Method Detail

      • arn

        public java.lang.String arn()
        Returns:
        ARN of the role.
      • assumeRolePolicy

        public java.lang.String assumeRolePolicy()
        Returns:
        Policy document associated with the role.
      • createDate

        public java.lang.String createDate()
        Returns:
        Creation date of the role in RFC 3339 format.
      • description

        public java.lang.String description()
        Returns:
        Description for the role.
      • id

        public java.lang.String id()
        Returns:
        The provider-assigned unique ID for this managed resource.
      • maxSessionDuration

        public java.lang.Integer maxSessionDuration()
        Returns:
        Maximum session duration.
      • name

        public java.lang.String name()
      • path

        public java.lang.String path()
        Returns:
        Path to the role.
      • permissionsBoundary

        public java.lang.String permissionsBoundary()
        Returns:
        The ARN of the policy that is used to set the permissions boundary for the role.
      • roleLastUseds

        public java.util.List<GetRoleRoleLastUsed> roleLastUseds()
        Returns:
        Contains information about the last time that an IAM role was used. See `roleLastUsed` for details.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Tags attached to the role.
      • uniqueId

        public java.lang.String uniqueId()
        Returns:
        Stable and unique string identifying the role.