Class Permission

    • Method Detail

      • stackId

        public final String stackId()

        A stack ID.

        Returns:
        A stack ID.
      • iamUserArn

        public final String iamUserArn()

        The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

        Returns:
        The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
      • allowSsh

        public final Boolean allowSsh()

        Whether the user can use SSH.

        Returns:
        Whether the user can use SSH.
      • allowSudo

        public final Boolean allowSudo()

        Whether the user can use sudo.

        Returns:
        Whether the user can use sudo.
      • level

        public final String level()

        The user's permission level, which must be the following:

        • deny

        • show

        • deploy

        • manage

        • iam_only

        For more information on the permissions associated with these levels, see Managing User Permissions

        Returns:
        The user's permission level, which must be the following:

        • deny

        • show

        • deploy

        • manage

        • iam_only

        For more information on the permissions associated with these levels, see Managing User Permissions

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)