Class SetPermissionRequest

    • Method Detail

      • stackId

        public final String stackId()

        The stack ID.

        Returns:
        The stack ID.
      • iamUserArn

        public final String iamUserArn()

        The user's IAM ARN. This can also be a federated user's ARN.

        Returns:
        The user's IAM ARN. This can also be a federated user's ARN.
      • allowSsh

        public final Boolean allowSsh()

        The user is allowed to use SSH to communicate with the instance.

        Returns:
        The user is allowed to use SSH to communicate with the instance.
      • allowSudo

        public final Boolean allowSudo()

        The user is allowed to use sudo to elevate privileges.

        Returns:
        The user is allowed to use sudo to elevate privileges.
      • level

        public final String level()

        The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.

        • deny

        • show

        • deploy

        • manage

        • iam_only

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

        Returns:
        The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.

        • deny

        • show

        • deploy

        • manage

        • iam_only

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

      • 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